<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">you translate it in the dialplan.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>/b</DIV><DIV><BR><DIV><DIV>On Apr 12, 2007, at 12:02 PM, Jonas Gauffin wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">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> <<A href="mailto:jonas.gauffin@gmail.com">jonas.gauffin@gmail.com</A>> 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> <!--#set "domain=<A href="http://192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.0.58</A>"--><BR> <!--#set "subdomain= <A href="http://192.168.0.58" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">192.168.0.58</A>"--><BR><BR>The extensions in default_context.xml:<BR> <extension name="jonas Extension"> <BR> <condition field="destination_number" expression="^111$"> <BR> <action application="bridge" data="sofia/sip/jonas%192.168.0.58"/><BR> </condition><BR> </extension><BR> <extension name="Arnes extension"><BR> <condition field="destination_number" expression="^112$"> <BR> <action application="bridge" data="sofia/sip/arne%192.168.0.58"/><BR> </condition><BR> </extension><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">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">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">arne@192.168.0.58</A>:5060 State Change CS_NEW -> 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">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 -> 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">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">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->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">arne@192.168.0.58</A>:5060 State Change CS_RING -> 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">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">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">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">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">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">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">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">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">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">arne@192.168.0.58</A>:5060<BR><BR> </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>