[Freeswitch-users] Sip phones
Jonas Gauffin
jonas.gauffin at gmail.com
Wed Apr 11 10:21:45 PDT 2007
Hello
I'm playing around with two sip soft phones. One have logged in as "jonas"
and one as "arne".
I've just updated by trunk copy before running the tests.
I'm trying to figure out how the dialplan should look like, i've added the
following:
<extension name="Arnes extension">
<condition field="destination_number" expression="^112$">
<action application="bridge" data="sofia/sip/arne at 192.168.0.58"/>
</condition>
</extension>
Something is not working as it should =)
Here's a log, notice the initial timeout for the lookup, and then the
"Thread has crashed" at the bottom:
2007-04-11 19:16:39 [DEBUG] mod_enum.c:535 enum_dialplan_hunt() ENUM Lookup
on 112
nta_agent: received garbage from udp/192.168.0.58:5060/sip
2007-04-11 19:17:07 [DEBUG] mod_enum.c:202 dnserror() unable to lookup NAPTR
record for 2.1.1.e164.org: temporary failure in name resolution
2007-04-11 19:17:07 [INFO] mod_dialplan_xml.c:313 dialplan_hunt() Processing
jonas->112!
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions destination_number(112) =~ /^556$/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions destination_number(112) =~ /^(18(0{2}|8{2}|7{2}|6{2})\d{7})$/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions source(mod_sofia) =~ /mod_portaudio/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions destination_number(112) =~ /^1234$/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions destination_number(112) =~ /^1000$/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions destination_number(112) =~ /^2000$/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions source(mod_sofia) =~ /mod_sofia/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions destination_number(112) =~ /^4(\d+)/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions source(mod_sofia) =~ /mod_sofia/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions destination_number(112) =~ /^4(\d+)/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions destination_number(112) =~ /^111$/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test
conditions destination_number(112) =~ /^112$/
2007-04-11 19:17:07 [DEBUG] mod_dialplan_xml.c:369 dialplan_hunt()
sofia/mydomain.com/jonas at 192.168.0.58:5060 State Change CS_RING ->
CS_EXECUTE
2007-04-11 19:17:07 [DEBUG] switch_core_state_machine.c:457
switch_core_session_run() (sofia/mydomain.com/jonas at 192.168.0.58:5060) State
EXECUTE
2007-04-11 19:17:07 [DEBUG] mod_sofia.c:131 sofia_on_execute() SOFIA EXECUTE
2007-04-11 19:17:07 [DEBUG] switch_core_state_machine.c:114
switch_core_standard_on_execute() Standard EXECUTE
2007-04-11 19:17:07 [NOTICE] switch_core_state_machine.c:124
switch_core_standard_on_execute() Execute bridge(sofia/sip/arne at 192.168.0.58
)
2007-04-11 19:17:07 [CRIT] switch_core_state_machine.c:247 print_trace()
Trace not avaliable =(
2007-04-11 19:17:07 [CRIT] switch_core_state_machine.c:301
switch_core_session_run() Thread has crashed for channel
sofia/mydomain.com/jonas at 192.168.0.58:5060
2007-04-11 19:17:07 [NOTICE] switch_core_state_machine.c:302
switch_core_session_run() Hangup sofia/mydomain.com/jonas at 192.168.0.58:5060
[CS_EXECUTE] [CRASH]
2007-04-11 19:17:07 [INFO] switch_channel.c:1026
switch_channel_perform_hangup() Kill sofia/mydomain.com/jonas at 192.168.0.58:5060
[KILL]
2007-04-11 19:17:07 [DEBUG] switch_core_state_machine.c:351
switch_core_session_run() (sofia/mydomain.com/jonas at 192.168.0.58:5060) State
HANGUP
2007-04-11 19:17:07 [DEBUG] mod_sofia.c:212 sofia_on_hangup() Channel
sofia/mydomain.com/jonas at 192.168.0.58:5060 hanging up, cause: CRASH
2007-04-11 19:17:07 [DEBUG] mod_sofia.c:232 sofia_on_hangup() Responding to
INVITE with: 480
2007-04-11 19:17:07 [DEBUG] switch_core_state_machine.c:45
switch_core_standard_on_hangup() Standard HANGUP
sofia/mydomain.com/jonas at 192.168.0.58:5060, cause: CRASH
2007-04-11 19:17:07 [DEBUG] switch_core_session.c:689
switch_core_session_thread() Session 10 (
sofia/mydomain.com/jonas at 192.168.0.58:5060) Locked, Waiting on external
entities
2007-04-11 19:17:07 [INFO] switch_core_session.c:695
switch_core_session_thread() Session 10 (
sofia/mydomain.com/jonas at 192.168.0.58:5060) Ended
2007-04-11 19:17:07 [NOTICE] switch_core_session.c:650
switch_core_session_destroy() Close Channel
sofia/mydomain.com/jonas at 192.168.0.58:5060
2007-04-11 19:17:07 [DEBUG] sofia.c:72 sofia_event_callback() event
[nua_i_state] status [480][Call state] session: n/a
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070411/0e08e62d/attachment-0002.html
More information about the FreeSWITCH-users
mailing list