I9;m playing around with two sip soft phones. One have logged in as "jonas" and one as "arne". I39;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/arne192.168.0.58">
sofia/sip/arne192.168.0.58"/> </condition> </extension>
Something is not working as it should =) Here9;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|8|7|6)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_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/jonas192.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/jonas192.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/arne192.168.0.58">sofia/sip/arne192.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/jonas192.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/jonas192.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/