[Freeswitch-users] sip problem

Brian West brian.west at mac.com
Thu Apr 12 10:35:01 PDT 2007


you translate it in the dialplan.

/b

On Apr 12, 2007, at 12:02 PM, Jonas Gauffin wrote:

> Just a quick explanation.
>
> I've changed to % in the dialplan. The soft phones still use @, and  
> I can't change that :(
>
> There are two (maybe my configuration) errors as I see it:
> a) mod_enum makes a lookup that take 30s and then timeout
> b) the thread crash when bridging.
>
> On 4/12/07, Jonas Gauffin <jonas.gauffin at gmail.com> wrote:
> Hello
>
> I still got sip problems :(
>
> First of all, my domains are set to this (in freeswitch.xm):
>   <!--#set "domain=192.168.0.58"-->
>   <!--#set "subdomain= 192.168.0.58"-->
>
> The extensions in default_context.xml:
>    <extension name="jonas Extension">
>     <condition field="destination_number" expression="^111$">
>      <action application="bridge" data="sofia/sip/jonas% 
> 192.168.0.58"/>
>     </condition>
>    </extension>
>    <extension name="Arnes extension">
>     <condition field="destination_number" expression="^112$">
>      <action application="bridge" data="sofia/sip/arne%192.168.0.58"/>
>     </condition>
>    </extension>
>
> I'm using X-Lite and SIPCommunicator as soft phones.
> Both are configured with " 192.168.0.58" as their domain.
>
> Debuginfo when I try to dial 111 from arne:
> 2007-04-12 17:41:32 [NOTICE] switch_channel.c:347  
> switch_channel_set_name() New Chan sofia/192.168.0.58/ 
> arne at 192.168.0.58 :5060 [66d5fcc7-dd85-f946-b357-a9fc53caa287]
> 2007-04-12 17:41:32 [DEBUG] sofia.c:846 sofia_handle_sip_i_state()  
> Channel sofia/192.168.0.58/arne at 192.168.0.58:5060 entering state  
> [received]
> 2007-04-12 17:41:32 [DEBUG] sofia.c:850 sofia_handle_sip_i_state()  
> Remote SDP:
> v=0
> o=arne 0 0 IN IP4 192.168.0.58
> s=-
> c=IN IP4 192.168.0.58
> t=0 0
> m=audio 5036 RTP/AVP 97 3 0 110 5 8 4
> m=video 5038 RTP/AVP 34 26 31
> a=recvonly
>
> 2007-04-12 17:41:32 [DEBUG] sofia_glue.c:926 negotiate_sdp() Codec  
> Compare [:97]/[PCMU:0]
> 2007-04-12 17:41:32 [DEBUG] sofia_glue.c:926 negotiate_sdp() Codec  
> Compare [GSM:3]/[PCMU:0]
> 2007-04-12 17:41:32 [DEBUG] sofia_glue.c:926 negotiate_sdp() Codec  
> Compare [PCMU:0]/[PCMU:0]
> 2007-04-12 17:41:32 [INFO] sofia_glue.c:644  
> sofia_glue_tech_set_codec() Set Codec sofia/192.168.0.58/ 
> arne at 192.168.0.58:5060 PCMU/8000 20 ms
> 2007-04-12 17:41:32 [DEBUG] sofia.c:956 sofia_handle_sip_i_state()  
> sofia/192.168.0.58/arne at 192.168.0.58:5060 State Change CS_NEW ->  
> CS_INIT
> 2007-04-12 17:41:32 [DEBUG] switch_core_state_machine.c:387  
> switch_core_session_run() ( sofia/192.168.0.58/ 
> arne at 192.168.0.58:5060) State INIT
> 2007-04-12 17:41:32 [DEBUG] mod_sofia.c:86 sofia_on_init() SOFIA INIT
> 2007-04-12 17:41:32 [DEBUG] mod_sofia.c:99 sofia_on_init() sofia/ 
> 192.168.0.58/arne at 192.168.0.58 :5060 State Change CS_INIT -> CS_RING
> 2007-04-12 17:41:32 [DEBUG] switch_core_state_machine.c:422  
> switch_core_session_run() (sofia/192.168.0.58/ 
> arne at 192.168.0.58:5060) State RING
> 2007-04-12 17:41:32 [DEBUG] mod_sofia.c:114 sofia_on_ring() SOFIA RING
> 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/ 
> arne at 192.168.0.58:5060
> 2007-04-12 17:41:32 [DEBUG] mod_enum.c:535 enum_dialplan_hunt()  
> ENUM Lookup on 111
> nta_agent: received garbage from udp/192.168.0.58:5060/sip
> 2007-04-12 17:42:00 [DEBUG] mod_enum.c:202 dnserror() unable to  
> lookup NAPTR record for 1.1.1.e164.org: temporary failure in name  
> resolution
> 2007-04-12 17:42:00 [INFO] mod_dialplan_xml.c:313 dialplan_hunt()  
> Processing arne->111!
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten()  
> test conditions destination_number(111) =~ /^556$/
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten()  
> Regex mismatch
> 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})$/
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten()  
> Regex mismatch
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten()  
> test conditions source(mod_sofia) =~ /mod_portaudio/
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten()  
> Regex mismatch
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten()  
> test conditions destination_number(111) =~ /^1234$/
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten()  
> Regex mismatch
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten()  
> test conditions destination_number(111) =~ /^1000$/
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten()  
> Regex mismatch
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten()  
> test conditions destination_number(111) =~ /^2000$/
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten()  
> Regex mismatch
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten()  
> test conditions source(mod_sofia) =~ /mod_sofia/
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten()  
> test conditions destination_number(111) =~ /^4(\d+)/
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten()  
> Regex mismatch
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten()  
> test conditions source(mod_sofia) =~ /mod_sofia/
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten()  
> test conditions destination_number(111) =~ /^4(\d+)/
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:119 parse_exten()  
> Regex mismatch
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:117 parse_exten()  
> test conditions destination_number(111) =~ /^111$/
> 2007-04-12 17:42:00 [DEBUG] mod_dialplan_xml.c:369 dialplan_hunt()  
> sofia/192.168.0.58/arne at 192.168.0.58:5060 State Change CS_RING ->  
> CS_EXECUTE
> 2007-04-12 17:42:00 [DEBUG] switch_core_state_machine.c:457  
> switch_core_session_run() ( sofia/192.168.0.58/ 
> arne at 192.168.0.58:5060) State EXECUTE
> 2007-04-12 17:42:00 [DEBUG] mod_sofia.c:131 sofia_on_execute()  
> SOFIA EXECUTE
> 2007-04-12 17:42:00 [DEBUG] switch_core_state_machine.c:114  
> switch_core_standard_on_execute() Standard EXECUTE
> 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)
> 2007-04-12 17:42:00 [CRIT] switch_core_state_machine.c:247  
> print_trace() Trace not avaliable =(
> 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/arne at 192.168.0.58:5060
> 2007-04-12 17:42:00 [NOTICE] switch_core_state_machine.c:302  
> switch_core_session_run() Hangup sofia/192.168.0.58/ 
> arne at 192.168.0.58:5060 [CS_EXECUTE] [CRASH]
> 2007-04-12 17:42:00 [INFO] switch_channel.c:1026  
> switch_channel_perform_hangup() Kill sofia/192.168.0.58/ 
> arne at 192.168.0.58:5060 [KILL]
> 2007-04-12 17:42:00 [DEBUG] switch_core_state_machine.c:351  
> switch_core_session_run() ( sofia/192.168.0.58/ 
> arne at 192.168.0.58:5060) State HANGUP
> 2007-04-12 17:42:00 [DEBUG] mod_sofia.c:212 sofia_on_hangup()  
> Channel sofia/192.168.0.58/arne at 192.168.0.58:5060 hanging up,  
> cause: CRASH
> 2007-04-12 17:42:00 [DEBUG] mod_sofia.c:232 sofia_on_hangup()  
> Responding to INVITE with: 480
> 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/ 
> arne at 192.168.0.58:5060, cause: CRASH
> 2007-04-12 17:42:00 [DEBUG] switch_core_session.c:689  
> switch_core_session_thread() Session 5 ( sofia/192.168.0.58/ 
> arne at 192.168.0.58:5060) Locked, Waiting on external entities
> 2007-04-12 17:42:00 [DEBUG] sofia.c:72 sofia_event_callback() event  
> [nua_i_state] status [480][Call state] session: n/a
> 2007-04-12 17:42:00 [INFO] switch_core_session.c:695  
> switch_core_session_thread() Session 5 ( sofia/192.168.0.58/ 
> arne at 192.168.0.58:5060) Ended
> 2007-04-12 17:42:00 [NOTICE] switch_core_session.c:650  
> switch_core_session_destroy() Close Channel sofia/192.168.0.58/ 
> arne at 192.168.0.58:5060
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch- 
> users
> http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070412/1c87926c/attachment-0002.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 824 bytes
Desc: This is a digitally signed message part
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070412/1c87926c/attachment-0002.bin 


More information about the FreeSWITCH-users mailing list