<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">call from the softphone hits the dialplan.. you then dial the other softphone with a %. <DIV>/b</DIV><DIV><BR><DIV><DIV>On Apr 12, 2007, at 12:57 PM, Jonas Gauffin wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">how?<BR><BR><DIV><SPAN class="gmail_quote">On 4/12/07, <B class="gmail_sendername">Brian West</B> &lt;<A href="mailto:brian.west@mac.com">brian.west@mac.com</A>&gt; wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <DIV style="">you translate it in the dialplan.<DIV><BR></DIV><DIV>/b</DIV><DIV><BR><DIV><DIV><SPAN class="e" id="q_111e6dd2d679f0af_1"><DIV>On Apr 12, 2007, at 12:02 PM, Jonas Gauffin wrote:</DIV><BR></SPAN></DIV><BLOCKQUOTE type="cite"> <DIV><SPAN class="e" id="q_111e6dd2d679f0af_3">Just a quick explanation.<BR><BR>I've changed to % in the dialplan. The soft phones still use @, and I can't change that :(<BR><BR>There are two (maybe my configuration) errors as I see it: <BR>a) mod_enum makes a lookup that take 30s and then timeout <BR>b) the thread crash when bridging.<BR><BR><DIV><SPAN class="gmail_quote">On 4/12/07, <B class="gmail_sendername">Jonas Gauffin</B> &lt;<A href="mailto:jonas.gauffin@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> jonas.gauffin@gmail.com</A>&gt; wrote:</SPAN> <BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello<BR><BR>I still got sip problems :(<BR><BR> First of all, my domains are set to this (in freeswitch.xm):<BR>  &lt;!--#set "domain=<A href="http://192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.0.58</A>"--&gt;<BR>   &lt;!--#set "subdomain= <A href="http://192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.0.58</A>"--&gt;<BR><BR>The extensions in default_context.xml:<BR>   &lt;extension name="jonas Extension"&gt; <BR>    &lt;condition field="destination_number" expression="^111$"&gt; <BR>     &lt;action application="bridge" data="sofia/sip/jonas%192.168.0.58"/&gt;<BR>    &lt;/condition&gt;<BR>    &lt;/extension&gt;<BR>   &lt;extension name="Arnes extension"&gt;<BR>    &lt;condition field="destination_number" expression="^112$"&gt; <BR>     &lt;action application="bridge" data="sofia/sip/arne%192.168.0.58"/&gt; <BR>    &lt;/condition&gt;<BR>   &lt;/extension&gt;<BR><BR>I'm using X-Lite and SIPCommunicator as soft phones.<BR>Both are configured with " <A href="http://192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> 192.168.0.58</A>" as their domain.<BR><BR>Debuginfo when I try to dial 111 from arne:<BR>2007-04-12 17:41:32 [NOTICE] switch_channel.c:347 switch_channel_set_name() New Chan <A href="mailto:sofia/192.168.0.58/arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> sofia/192.168.0.58/arne@192.168.0.58</A> :5060 [66d5fcc7-dd85-f946-b357-a9fc53caa287]<BR>2007-04-12 17:41:32 [DEBUG] sofia.c:846 sofia_handle_sip_i_state() Channel sofia/192.168.0.58/<A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> arne@192.168.0.58</A>:5060 entering state [received]<BR>2007-04-12 17:41:32 [DEBUG] sofia.c:850 sofia_handle_sip_i_state() Remote SDP:<BR>v=0<BR>o=arne 0 0 IN IP4 <A href="http://192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> 192.168.0.58</A><BR>s=-<BR>c=IN IP4 <A href="http://192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> 192.168.0.58</A><BR>t=0 0<BR>m=audio 5036 RTP/AVP 97 3 0 110 5 8 4 <BR>m=video 5038 RTP/AVP 34 26 31 <BR>a=recvonly<BR><BR>2007-04-12 17:41:32 [DEBUG] sofia_glue.c:926 negotiate_sdp() Codec Compare [:97]/[PCMU:0]<BR>2007-04-12 17:41:32 [DEBUG] sofia_glue.c:926 negotiate_sdp() Codec Compare [GSM:3]/[PCMU:0] <BR>2007-04-12 17:41:32 [DEBUG] sofia_glue.c:926 negotiate_sdp() Codec Compare [PCMU:0]/[PCMU:0] <BR>2007-04-12 17:41:32 [INFO] sofia_glue.c:644 sofia_glue_tech_set_codec() Set Codec sofia/192.168.0.58/<A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arne@192.168.0.58 </A>:5060 PCMU/8000 20 ms <BR>2007-04-12 17:41:32 [DEBUG] sofia.c:956 sofia_handle_sip_i_state() sofia/192.168.0.58/<A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> arne@192.168.0.58</A>:5060 State Change CS_NEW -&gt; CS_INIT<BR>2007-04-12 17:41:32 [DEBUG] switch_core_state_machine.c:387 switch_core_session_run() ( sofia/192.168.0.58/<A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> arne@192.168.0.58</A>:5060) State INIT<BR>2007-04-12 17:41:32 [DEBUG] mod_sofia.c:86 sofia_on_init() SOFIA INIT<BR>2007-04-12 17:41:32 [DEBUG] mod_sofia.c:99 sofia_on_init() <A href="mailto:sofia/192.168.0.58/arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> sofia/192.168.0.58/arne@192.168.0.58</A> :5060 State Change CS_INIT -&gt; CS_RING<BR>2007-04-12 17:41:32 [DEBUG] switch_core_state_machine.c:422 switch_core_session_run() (sofia/192.168.0.58/<A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> arne@192.168.0.58</A>:5060) State RING<BR>2007-04-12 17:41:32 [DEBUG] mod_sofia.c:114 sofia_on_ring() SOFIA RING <BR>2007-04-12 17:41:32 [DEBUG] switch_core_state_machine.c:56 switch_core_standard_on_ring() Standard RING sofia/192.168.0.58/ <A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arne@192.168.0.58</A>:5060<BR>2007-04-12 17:41:32 [DEBUG] mod_enum.c:535 enum_dialplan_hunt() ENUM Lookup on 111 <BR> nta_agent: received garbage from udp/192.168.0.58:5060/sip<BR>2007-04-12 17:42:00 [DEBUG] mod_enum.c:202 dnserror() unable to lookup NAPTR record for <A href="http://1.1.1.e164.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> 1.1.1.e164.org</A>: temporary failure in name resolution <BR>2007-04-12 17:42:00 [INFO] mod_dialplan_xml.c:313 dialplan_hunt() Processing arne-&gt;111!<BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test conditions destination_number(111) =~ /^556$/ <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex mismatch <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test conditions destination_number(111) =~ /^(18(0{2}|8{2}|7{2}|6{2})\d{7})$/ <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex mismatch <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test conditions source(mod_sofia) =~ /mod_portaudio/<BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex mismatch <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test conditions destination_number(111) =~ /^1234$/ <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex mismatch<BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test conditions destination_number(111) =~ /^1000$/ <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex mismatch <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test conditions destination_number(111) =~ /^2000$/<BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex mismatch <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test conditions source(mod_sofia) =~ /mod_sofia/ <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test conditions destination_number(111) =~ /^4(\d+)/ <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex mismatch<BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test conditions source(mod_sofia) =~ /mod_sofia/ <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test conditions destination_number(111) =~ /^4(\d+)/ <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex mismatch<BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten() test conditions destination_number(111) =~ /^111$/ <BR>2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:369 dialplan_hunt() sofia/192.168.0.58/ <A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arne@192.168.0.58</A>:5060 State Change CS_RING -&gt; CS_EXECUTE<BR>2007-04-12 17:42:00 [DEBUG] switch_core_state_machine.c:457 switch_core_session_run() ( sofia/192.168.0.58/ <A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arne@192.168.0.58</A>:5060) State EXECUTE<BR>2007-04-12 17:42:00 [DEBUG] mod_sofia.c:131 sofia_on_execute() SOFIA EXECUTE <BR>2007-04-12 17:42:00 [DEBUG] switch_core_state_machine.c:114 switch_core_standard_on_execute() Standard EXECUTE <BR>2007-04-12 17:42:00 [NOTICE] switch_core_state_machine.c:124 switch_core_standard_on_execute() Execute bridge(sofia/sip/jonas%192.168.0.58) <BR>2007-04-12 17:42:00 [CRIT] switch_core_state_machine.c:247 print_trace() Trace not avaliable =( <BR>2007-04-12 17:42:00 [CRIT] switch_core_state_machine.c:301 switch_core_session_run() Thread has crashed for channel sofia/192.168.0.58/ <A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arne@192.168.0.58</A>:5060<BR>2007-04-12 17:42:00 [NOTICE] switch_core_state_machine.c:302 switch_core_session_run() Hangup sofia/192.168.0.58/ <A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arne@192.168.0.58</A>:5060 [CS_EXECUTE] [CRASH]<BR>2007-04-12 17:42:00 [INFO] switch_channel.c:1026 switch_channel_perform_hangup() Kill sofia/192.168.0.58/ <A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arne@192.168.0.58</A>:5060 [KILL]<BR>2007-04-12 17:42:00 [DEBUG] switch_core_state_machine.c:351 switch_core_session_run() ( sofia/192.168.0.58/ <A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arne@192.168.0.58</A>:5060) State HANGUP<BR>2007-04-12 17:42:00 [DEBUG] mod_sofia.c:212 sofia_on_hangup() Channel sofia/192.168.0.58/ <A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arne@192.168.0.58</A>:5060 hanging up, cause: CRASH<BR>2007-04-12 17:42:00 [DEBUG] mod_sofia.c:232 sofia_on_hangup() Responding to INVITE with: 480 <BR>2007-04-12 17:42:00 [DEBUG] switch_core_state_machine.c:45 switch_core_standard_on_hangup() Standard HANGUP sofia/192.168.0.58/<A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> arne@192.168.0.58</A>:5060, cause: CRASH<BR>2007-04-12 17:42:00 [DEBUG] switch_core_session.c:689 switch_core_session_thread() Session 5 ( sofia/192.168.0.58/<A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> arne@192.168.0.58</A>:5060) Locked, Waiting on external entities<BR>2007-04-12 17:42:00 [DEBUG] sofia.c:72 sofia_event_callback() event [nua_i_state] status [480][Call state] session: n/a<BR>2007-04-12 17:42:00 [INFO] switch_core_session.c:695 switch_core_session_thread() Session 5 ( sofia/192.168.0.58/ <A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arne@192.168.0.58</A>:5060) Ended<BR>2007-04-12 17:42:00 [NOTICE] switch_core_session.c:650 switch_core_session_destroy() Close Channel sofia/192.168.0.58/ <A href="mailto:arne@192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">arne@192.168.0.58</A>:5060<BR><BR> </BLOCKQUOTE></DIV><BR></SPAN></DIV><DIV style="margin: 0px;">_______________________________________________ </DIV><DIV style="margin: 0px;">Freeswitch-users mailing list</DIV><DIV style="margin: 0px;"><A href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Freeswitch-users@lists.freeswitch.org </A></DIV><DIV style="margin: 0px;"><A href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users </A></DIV><DIV style="margin: 0px;">UNSUBSCRIBE:<A href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.freeswitch.org/mailman/options/freeswitch-users </A></DIV><DIV style="margin: 0px;"><A href="http://www.freeswitch.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.freeswitch.org</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV><BR>_______________________________________________ <BR>Freeswitch-users mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</A><BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"> http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</A><BR><BR><BR clear="all"> </BLOCKQUOTE></DIV><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>