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