Issues connecting to plivo rest from my Freeswitch

101 views
Skip to first unread message

Kolapo Obanewa

unread,
Nov 14, 2016, 6:52:50 AM11/14/16
to Plivo Opensource Users
I have installed freeswitch with plivo successfully and when i check, plivo rest is listening to port 8084. When i get incoming calls to my freeswitch, it allows the call but always has issues executing this:

<action application="socket" data="127.0.0.1:8084 async full"/>

I have been stuck here for days with no help. Please how do i make my freeswitch and plivo communicate.

P.S: in my plivo default.conf, do i change all 127.0.0.1 to my server IP or just leave it since freeswitch and plivo are on the same server

Nishad Musthafa

unread,
Nov 14, 2016, 6:44:51 PM11/14/16
to Plivo Opensource Users


1. Do you see anything in your Plivo logs ?
2. When you ngrep on the plvio outbound port
ngrep -d any port 8084

Do you see anything coming in ?
3. You can also see the freeswitch logs when you do an fs_cli and increase the log level. That should also throw an error if it isn't able to successfully send events to Plivo.

Hopefully one of these three approaches should give you your answer.
--
You received this message because you are subscribed to the Google Groups "Plivo Opensource Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to plivo-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kolapo Obanewa

unread,
Nov 17, 2016, 3:04:24 AM11/17/16
to Plivo Opensource Users
thanks for the reply. I checked all you listed but i can't seem to find the mistake

On the fs_cli log, this is what i got when i tried calling into freeswitch

2016-11-17 07:53:39.217417 [INFO] mod_dialplan_xml.c:558 Processing +2348135693957 <+2348135693957>->+12677992092 in context public

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->unloop] continue=false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->outside_call] continue=true

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Absolute Condition [outside_call]

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action set(outside_call=true) 

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) 

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->call_debug] continue=true

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->plivo_public_did] continue=false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (PASS) [plivo_public_did] destination_number(+12677992092) =~ /^\+?[0-9]{3}-?[0-9]{6,12}$/ break=on-false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action enable_heartbeat(60) 

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action socket(127.0.0.1:8084 async full) 

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:167 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) State Change CS_ROUTING -> CS_EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] switch_core_session.c:1351 Send signal sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [BREAK]

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:474 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) State ROUTING going to sleep

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:418 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) Running State Change CS_EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:481 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) State EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] mod_sofia.c:243 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com SOFIA EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:209 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Standard EXECUTE

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com set(outside_call=true)

2016-11-17 07:53:39.217417 [DEBUG] mod_dptools.c:1402 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com SET [outside_call]=[true]

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com set(RFC2822_DATE=Thu, 17 Nov 2016 07:53:39 +0000)

2016-11-17 07:53:39.217417 [DEBUG] mod_dptools.c:1402 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com SET [RFC2822_DATE]=[Thu, 17 Nov 2016 07:53:39 +0000]

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com enable_heartbeat(60)

2016-11-17 07:53:39.217417 [INFO] switch_core_session.c:1511 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com setting session heartbeat to 60 second(s).

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com socket(127.0.0.1:8084 async full)

2016-11-17 07:53:39.237415 [NOTICE] switch_core_state_machine.c:262 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com has executed the last dialplan instruction, hanging up.

2016-11-17 07:53:39.237415 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [CS_EXECUTE] [NORMAL_CLEARING]

2016-11-17 07:53:39.237415 [DEBUG] switch_channel.c:3189 Send signal sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [KILL]

2016-11-17 07:53:39.237415 [DEBUG] switch_core_session.c:1351 Send signal sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [BREAK]

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:481 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) State EXECUTE going to sleep

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:418 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) Running State Change CS_HANGUP

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:681 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) Callstate Change RINGING -> HANGUP

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:683 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) State HANGUP

2016-11-17 07:53:39.237415 [DEBUG] mod_sofia.c:506 Channel sofia/internal/+234813...@myfreeswitch.pstn.twilio.com hanging up, cause: NORMAL_CLEARING

2016-11-17 07:53:39.237415 [DEBUG] mod_sofia.c:640 Responding to INVITE with: 480



On my plivo-outbound.log, i get this :


2016-11-17 07:53:39,123 plivo-outbound[2161]: INFO: (3) New request from ('127.0.0.1', 37738)

2016-11-17 07:53:39,129 plivo-outbound[2161]: DEBUG: (3) Execute: connect args=''

2016-11-17 07:53:39,129 plivo-outbound[2161]: ERROR: (3) Traceback (most recent call last):

2016-11-17 07:53:39,129 plivo-outbound[2161]: ERROR: (3)   File "/usr/local/plivo/src/plivo/src/plivo/rest/freeswitch/outboundsocket.py", line 319, in run

2016-11-17 07:53:39,129 plivo-outbound[2161]: ERROR: (3)     self._run()

2016-11-17 07:53:39,129 plivo-outbound[2161]: ERROR: (3)   File "/usr/local/plivo/src/plivo/src/plivo/rest/freeswitch/outboundsocket.py", line 329, in _run

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)     self.connect()

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)   File "/usr/local/plivo/src/plivo/src/plivo/core/freeswitch/outboundsocket.py", line 54, in connect

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)     connect_response = self._protocol_send("connect")

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)   File "/usr/local/plivo/src/plivo/src/plivo/rest/freeswitch/outboundsocket.py", line 140, in _protocol_send

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)     command, args)

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)   File "/usr/local/plivo/src/plivo/src/plivo/core/freeswitch/eventsocket.py", line 375, in _protocol_send

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)     _uuid, event = _async_res.get()

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)   File "/usr/local/plivo/lib/python2.7/site-packages/gevent/event.py", line 370, in get

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)     self._wait_core(timeout, ())

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)   File "/usr/local/plivo/lib/python2.7/site-packages/gevent/event.py", line 95, in _wait_core

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)     result = self.hub.switch()

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)   File "/usr/local/plivo/lib/python2.7/site-packages/gevent/hub.py", line 608, in switch

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)     switch_out()

2016-11-17 07:53:39,130 plivo-outbound[2161]: ERROR: (3)   File "/usr/local/plivo/lib/python2.7/site-packages/gevent/hub.py", line 612, in switch_out

2016-11-17 07:53:39,131 plivo-outbound[2161]: ERROR: (3)     raise BlockingSwitchOutError('Impossible to call blocking function in the event loop callback')

2016-11-17 07:53:39,131 plivo-outbound[2161]: ERROR: (3) BlockingSwitchOutError: Impossible to call blocking function in the event loop callback

2016-11-17 07:53:39,131 plivo-outbound[2161]: DEBUG: (3) Releasing Connection ...

2016-11-17 07:53:39,131 plivo-outbound[2161]: DEBUG: (3) Releasing Connection Done




i really don't know where im getting it wrong, i need help.


Also, i am hosting my freeswitch and plivo on a dedicated server with bluehost. assuming i have an IP of 123.45.7.8 and my xml is welcome.xml, meaning its 123.45.7.8/welcome.xml. How do i configure my plivo default.conf and what are the changes i need to make to the default.conf



Thanks



Nishad Musthafa

unread,
Nov 17, 2016, 4:50:03 PM11/17/16
to Plivo Opensource Users
Can you tell me what the output of "ngrep -d any port 8084" on your bash terminal is at the same time ? There's evidently an error that's coming from plivo outbound. I suspect it's because it's sending the connect command to the wrong place and not getting a response but I can't be entirely sure until I see the ngrep. 

Kolapo Obanewa

unread,
Nov 18, 2016, 2:22:05 AM11/18/16
to Plivo Opensource Users
thanks,

The output is below:

tcp        0      0 127.0.0.1:8084          0.0.0.0:*               LISTEN      2161/python  




On Thursday, November 17, 2016 at 10:50:03 PM UTC+1, Nishad Musthafa wrote:
Can you tell me what the output of "ngrep -d any port 8084" on your bash terminal is at the same time ? There's evidently an error that's coming from plivo outbound. I suspect it's because it's sending the connect command to the wrong place and not getting a response but I can't be entirely sure until I see the ngrep. 

On Thu, Nov 17, 2016 at 12:04 AM Kolapo Obanewa <kolapo...@gmail.com> wrote:
thanks for the reply. I checked all you listed but i can't seem to find the mistake

On the fs_cli log, this is what i got when i tried calling into freeswitch

2016-11-17 07:53:39.217417 [INFO] mod_dialplan_xml.c:558 Processing +2348135693957 <+2348135693957>->+12677992092 in context public

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->unloop] continue=false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->outside_call] continue=true

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Absolute Condition [outside_call]

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action set(outside_call=true) 

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) 

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->call_debug] continue=true

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->plivo_public_did] continue=false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (PASS) [plivo_public_did] destination_number(+12677992092) =~ /^\+?[0-9]{3}-?[0-9]{6,12}$/ break=on-false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action enable_heartbeat(60) 

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action socket(127.0.0.1:8084 async full) 

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:167 (sofia/internal/+2348135693957@myfreeswitch.pstn.twilio.com) State Change CS_ROUTING -> CS_EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] switch_core_session.c:1351 Send signal sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [BREAK]

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:474 (sofia/internal/+2348135693957@myfreeswitch.pstn.twilio.com) State ROUTING going to sleep

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:418 (sofia/internal/+2348135693957@myfreeswitch.pstn.twilio.com) Running State Change CS_EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:481 (sofia/internal/+2348135693957@myfreeswitch.pstn.twilio.com) State EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] mod_sofia.c:243 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com SOFIA EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:209 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Standard EXECUTE

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com set(outside_call=true)

2016-11-17 07:53:39.217417 [DEBUG] mod_dptools.c:1402 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com SET [outside_call]=[true]

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com set(RFC2822_DATE=Thu, 17 Nov 2016 07:53:39 +0000)

2016-11-17 07:53:39.217417 [DEBUG] mod_dptools.c:1402 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com SET [RFC2822_DATE]=[Thu, 17 Nov 2016 07:53:39 +0000]

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com enable_heartbeat(60)

2016-11-17 07:53:39.217417 [INFO] switch_core_session.c:1511 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com setting session heartbeat to 60 second(s).

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com socket(127.0.0.1:8084 async full)

2016-11-17 07:53:39.237415 [NOTICE] switch_core_state_machine.c:262 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com has executed the last dialplan instruction, hanging up.

2016-11-17 07:53:39.237415 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [CS_EXECUTE] [NORMAL_CLEARING]

2016-11-17 07:53:39.237415 [DEBUG] switch_channel.c:3189 Send signal sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [KILL]

2016-11-17 07:53:39.237415 [DEBUG] switch_core_session.c:1351 Send signal sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [BREAK]

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:481 (sofia/internal/+2348135693957@myfreeswitch.pstn.twilio.com) State EXECUTE going to sleep

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:418 (sofia/internal/+2348135693957@myfreeswitch.pstn.twilio.com) Running State Change CS_HANGUP

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:681 (sofia/internal/+2348135693957@myfreeswitch.pstn.twilio.com) Callstate Change RINGING -> HANGUP

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:683 (sofia/internal/+2348135693957@myfreeswitch.pstn.twilio.com) State HANGUP

Nishad Musthafa

unread,
Nov 23, 2016, 4:56:09 PM11/23/16
to Plivo Opensource Users
That looks like the output of net stat and not ngrep.
On Thu, Nov 17, 2016 at 11:22 PM Kolapo Obanewa <kolapo...@gmail.com> wrote:
thanks,

The output is below:

tcp        0      0 127.0.0.1:8084          0.0.0.0:*               LISTEN      2161/python  




On Thursday, November 17, 2016 at 10:50:03 PM UTC+1, Nishad Musthafa wrote:
Can you tell me what the output of "ngrep -d any port 8084" on your bash terminal is at the same time ? There's evidently an error that's coming from plivo outbound. I suspect it's because it's sending the connect command to the wrong place and not getting a response but I can't be entirely sure until I see the ngrep. 

On Thu, Nov 17, 2016 at 12:04 AM Kolapo Obanewa <kolapo...@gmail.com> wrote:
thanks for the reply. I checked all you listed but i can't seem to find the mistake

On the fs_cli log, this is what i got when i tried calling into freeswitch

2016-11-17 07:53:39.217417 [INFO] mod_dialplan_xml.c:558 Processing +2348135693957 <+2348135693957>->+12677992092 in context public

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->unloop] continue=false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->outside_call] continue=true

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Absolute Condition [outside_call]

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action set(outside_call=true) 

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action set(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}) 

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->call_debug] continue=true

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com parsing [public->plivo_public_did] continue=false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Regex (PASS) [plivo_public_did] destination_number(+12677992092) =~ /^\+?[0-9]{3}-?[0-9]{6,12}$/ break=on-false

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action enable_heartbeat(60) 

Dialplan: sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Action socket(127.0.0.1:8084 async full) 

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:167 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) State Change CS_ROUTING -> CS_EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] switch_core_session.c:1351 Send signal sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [BREAK]

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:474 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) State ROUTING going to sleep

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:418 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) Running State Change CS_EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:481 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) State EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] mod_sofia.c:243 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com SOFIA EXECUTE

2016-11-17 07:53:39.217417 [DEBUG] switch_core_state_machine.c:209 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com Standard EXECUTE

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com set(outside_call=true)

2016-11-17 07:53:39.217417 [DEBUG] mod_dptools.c:1402 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com SET [outside_call]=[true]

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com set(RFC2822_DATE=Thu, 17 Nov 2016 07:53:39 +0000)

2016-11-17 07:53:39.217417 [DEBUG] mod_dptools.c:1402 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com SET [RFC2822_DATE]=[Thu, 17 Nov 2016 07:53:39 +0000]

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com enable_heartbeat(60)

2016-11-17 07:53:39.217417 [INFO] switch_core_session.c:1511 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com setting session heartbeat to 60 second(s).

EXECUTE sofia/internal/+234813...@myfreeswitch.pstn.twilio.com socket(127.0.0.1:8084 async full)

2016-11-17 07:53:39.237415 [NOTICE] switch_core_state_machine.c:262 sofia/internal/+234813...@myfreeswitch.pstn.twilio.com has executed the last dialplan instruction, hanging up.

2016-11-17 07:53:39.237415 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [CS_EXECUTE] [NORMAL_CLEARING]

2016-11-17 07:53:39.237415 [DEBUG] switch_channel.c:3189 Send signal sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [KILL]

2016-11-17 07:53:39.237415 [DEBUG] switch_core_session.c:1351 Send signal sofia/internal/+234813...@myfreeswitch.pstn.twilio.com [BREAK]

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:481 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) State EXECUTE going to sleep

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:418 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) Running State Change CS_HANGUP

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:681 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) Callstate Change RINGING -> HANGUP

2016-11-17 07:53:39.237415 [DEBUG] switch_core_state_machine.c:683 (sofia/internal/+234813...@myfreeswitch.pstn.twilio.com) State HANGUP

Kolapo Obanewa

unread,
Nov 23, 2016, 5:21:48 PM11/23/16
to Plivo Opensource Users
apparently i am not the best with command lines so i do not really understand how to run ngrep... i just installed ngrep now so what should i write in my command prompt to get what you are asking for?

Nishad Musthafa

unread,
Nov 24, 2016, 1:43:11 AM11/24/16
to Plivo Opensource Users
ngrep -d any port 8084

Run this when you're trying to get the call connected.
On Wed, Nov 23, 2016 at 2:21 PM Kolapo Obanewa <kolapo...@gmail.com> wrote:
apparently i am not the best with command lines so i do not really understand how to run ngrep... i just installed ngrep now so what should i write in my command prompt to get what you are asking for?

--

Kolapo Obanewa

unread,
Nov 24, 2016, 2:24:39 AM11/24/16
to Plivo Opensource Users
Thanks, 

I ran ngrep -d any port 8084 when trying to get the call connected and i got this below:

interface: any

pcap compile: no VLAN support for data link type 113

Reply all
Reply to author
Forward
0 new messages