<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Replace the @ with a %<DIV><BR class="khtml-block-placeholder"></DIV><DIV>/b</DIV><DIV><BR><DIV><DIV>On Apr 11, 2007, at 12:21 PM, Jonas Gauffin wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">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>   &lt;extension name="Arnes extension"&gt;<BR>    &lt;condition field="destination_number" expression="^112$"&gt;<BR>     &lt;action application="bridge" data="<A href="mailto:sofia/sip/arne@192.168.0.58"> sofia/sip/arne@192.168.0.58</A>"/&gt;<BR>    &lt;/condition&gt;<BR>   &lt;/extension&gt;<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-&gt;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/<A href="mailto:jonas@192.168.0.58">jonas@192.168.0.58</A> :5060 State Change CS_RING -&gt; CS_EXECUTE<BR>2007-04-11 19:17:07 [DEBUG] switch_core_state_machine.c:457 switch_core_session_run() (sofia/mydomain.com/<A href="mailto:jonas@192.168.0.58">jonas@192.168.0.58</A>: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/<A href="mailto:jonas@192.168.0.58">jonas@192.168.0.58</A>:5060<BR>2007-04-11 19:17:07 [NOTICE] switch_core_state_machine.c:302 switch_core_session_run() Hangup sofia/mydomain.com/<A href="mailto:jonas@192.168.0.58">jonas@192.168.0.58</A>:5060 [CS_EXECUTE] [CRASH]<BR>2007-04-11 19:17:07 [INFO] switch_channel.c:1026 switch_channel_perform_hangup() Kill sofia/mydomain.com/<A href="mailto:jonas@192.168.0.58">jonas@192.168.0.58</A>:5060 [KILL]<BR>2007-04-11 19:17:07 [DEBUG] switch_core_state_machine.c:351 switch_core_session_run() (sofia/mydomain.com/<A href="mailto:jonas@192.168.0.58">jonas@192.168.0.58</A>:5060) State HANGUP<BR>2007-04-11 19:17:07 [DEBUG] mod_sofia.c:212 sofia_on_hangup() Channel sofia/mydomain.com/<A href="mailto:jonas@192.168.0.58">jonas@192.168.0.58</A>: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/<A href="mailto:jonas@192.168.0.58">jonas@192.168.0.58</A>: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/<A href="mailto:jonas@192.168.0.58">jonas@192.168.0.58</A>: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/<A href="mailto:jonas@192.168.0.58">jonas@192.168.0.58</A>:5060) Ended<BR>2007-04-11 19:17:07 [NOTICE] switch_core_session.c:650 switch_core_session_destroy() Close Channel sofia/mydomain.com/<A href="mailto:jonas@192.168.0.58">jonas@192.168.0.58</A>: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><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Freeswitch-users mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.freeswitch.org">http://www.freeswitch.org</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>