Freeswitch Error connecting with : 127.0.0.1:8084 - Immediate call hangup

22 views
Skip to first unread message

decemb...@gmail.com

unread,
Mar 10, 2019, 3:51:04 AM3/10/19
to Plivo Opensource Users
Hi Plivo Community, 

Here is what I am trying to do:

NodeJs App -> Plivo Rest - Call (from 1000 [extension] -- to 3246 [echo test number from callwithus] 

So call does go out to 3246 and get answered, but for some reason it gets terminated immediately
Freeswitch has callwithus gateway registered, confirmed. (Event tried making pstn call and it rang, but got disconnected as I picked up) 

I suspect its something to do with  Freeswitch trying to connect with : 127.0.0.1:8084 (also highlighted below in logs)

I have no idea why its happening. Not in vars, not in dialplan. Infact why should FS be even trying to connect to this as I am using the FS inbound method of connecting (not the outbound). What gives ?

Any help will be greatly appreciated ?


2019-03-10 07:19:07.280650 [NOTICE] sofia.c:7714 Channel [sofia/external/3246] has been answered
2019-03-10 07:19:07.280650 [DEBUG] switch_channel.c:3759 (sofia/external/3246) Callstate Change DOWN -> ACTIVE
2019-03-10 07:19:07.280650 [DEBUG] switch_ivr_originate.c:3607 Originate Resulted in Success: [sofia/external/3246]

2019-03-10 07:19:07.280650 [INFO] switch_channel.c:3117 sofia/external/3246 Flipping CID from "" <1000> to "Outbound Call" <3246>
2019-03-10 07:19:07.280650 [DEBUG] switch_core_media.c:6333 sofia/external/3246 Set 2833 dtmf receive payload to 101
2019-03-10 07:19:07.280650 [DEBUG] switch_core_media.c:6356 sofia/external/3246 Set rtp dtmf delay to 40
2019-03-10 07:19:07.280650 [NOTICE] sofia.c:7714 Channel [sofia/external/3246] has been answered
2019-03-10 07:19:07.280650 [DEBUG] switch_channel.c:3759 (sofia/external/3246) Callstate Change DOWN -> ACTIVE
2019-03-10 07:19:07.280650 [DEBUG] switch_ivr_originate.c:3607 Originate Resulted in Success: [sofia/external/3246]
2019-03-10 07:19:07.280650 [INFO] switch_channel.c:3117 sofia/external/3246 Flipping CID from "" <1000> to "Outbound Call" <3246>
2019-03-10 07:19:07.280650 [DEBUG] mod_commands.c:4685 (sofia/external/3246) State Change CS_CONSUME_MEDIA -> CS_EXECUTE
2019-03-10 07:19:07.280650 [DEBUG] switch_core_state_machine.c:473 (sofia/external/3246) Running State Change CS_EXECUTE
2019-03-10 07:19:07.280650 [DEBUG] switch_core_state_machine.c:539 (sofia/external/3246) State EXECUTE
2019-03-10 07:19:07.280650 [DEBUG] mod_sofia.c:196 sofia/external/3246 SOFIA EXECUTE
2019-03-10 07:19:07.280650 [DEBUG] switch_core_state_machine.c:258 sofia/external/3246 Standard EXECUTE

EXECUTE sofia/external/3246 socket(127.0.0.1:8084 async full)
2019-03-10 07:19:07.280650 [NOTICE] mod_event_socket.c:432 Trying host: 127.0.0.1:8084
2019-03-10 07:19:07.280650 [ERR] mod_event_socket.c:466 Socket Error: Connection refused
2019-03-10 07:19:07.280650 [ERR] mod_event_socket.c:470 Socket Error!

2019-03-10 07:19:07.280650 [NOTICE] switch_core_state_machine.c:315 sofia/external/3246 has executed the last dialplan instruction, hanging up.
2019-03-10 07:19:07.280650 [NOTICE] switch_core_state_machine.c:317 Hangup sofia/external/3246 [CS_EXECUTE] [NORMAL_CLEARING]



Reply all
Reply to author
Forward
0 new messages