I understood the example.
What I mean is that my DNS issue comes from sofia-sip and my sip provider (freephonie.net) name resolution which fails when calling whereas it is well resolved during the registration process.
Here is a trace :
2009-03-17 18:47:28 [NOTICE] switch_channel.c:538 switch_channel_set_name() New Channel sofia/external/0123456789 [ae9c2108-131b-11de-8a2f-1fafbaa54120]                          nua: nh_create_handle: entering                                                                                                          
;                                           
nua: nua_handle_bind: entering                                                                                                                                                      
nua: nua_invite: entering                                                                                                                                                           
nua: nua_stack_set_params: entering                                                                                                                                                 
soa_clone(static::0x100abd98, 0x100a8738, 0x100c6748) called                                                                                                                        
soa_set_params(static::0x100b4728, ...) called                                                                                                                                      
soa_set_params(static::0x100b4728, ...) called                                                                                                                                      
soa_set_user_sdp(static::0x100b4728, (nil), 0x10106364, -1) called                                                                                                                  
soa_set_capability_sdp(static::0x100b4728, (nil), 0x10106364, -1) called                                                                                                            
su_localinfo: if lo with index 1                                                                                                                                                    
su_localinfo: if lan1 with index 18                                                                                                                                                 
su_localinfo: if ppp1 with index 23                                                                                                                                                 
nta_leg_tcreate(0x100c7f30)                                                                                                                                                         
nua(0x100c6748): adding session usage                                                                                                                                               
soa_init_offer_answer(static::0x100b4728) called                                                                                                                                    
soa_generate_offer(static::0x100b4728, 0) called                                                                                                                                    
soa_static_offer_answer_action(0x100b4728, soa_generate_offer): called                                                                                                              
soa_static(0x100b4728, soa_generate_offer): generating local description                                                                                                            
su_localinfo: if lo with index 1                                                                                                                                                    
su_localinfo: if lan1 with index 18                                                                                                                                                 
su_localinfo: if ppp1 with index 23                                                                                                                                                 
soa_static(0x100b4728, soa_generate_offer): upgrade with local description                                                                                                          
soa_sdp_mode_set(0x7dbfd850, (nil), ""): called                                                                                                                                     
soa_static(0x100b4728, soa_generate_offer): storing local description                                                                                                               
soa_get_local_sdp(static::0x100b4728, [(nil)], [0x7dbff980], [0x7dbff984]) called                                                                                                   
nta: selecting scheme sip                                                                                                                                                           
sres_cache_get(0x100abfc0, NAPTR, "freephonie.net.") called                                                                                                                         
rr found in cache: freephonie.net. 35                                                                                                                                               
sres_cache_get(0x100abfc0, NAPTR, "freephonie.net.") returned 1 entries                                                                                                             
nta: for "freephonie.net" query "freephonie.net" NAPTR (cached)                                                                                                                     
nta: freephonie.net. IN NAPTR 100 100 "s" "SIP+D2U" "" _sip_udp.freephonie.net.                                                                                                     
sres_cache_get(0x100abfc0, SRV, "_sip_udp.freephonie.net.") called                                                                                                                  
rr found in cache: _sip_udp.freephonie.net. 33                                                                                                                                      
sres_cache_get(0x100abfc0, SRV, "_sip_udp.freephonie.net.") returned 1 entries                                                                                                      
nta: for "freephonie.net" query "_sip_udp.freephonie.net." SRV (cached)                                                                                                             
nta: timer set to 32000 ms                                                                                                                                                          
nua(0x100c6748): call state changed: init -> calling, sent offer                                                                                                                    
soa_get_local_sdp(static::0x100b4728, [0x7dbff988], [0x7dbff98c], [(nil)]) called                                                                                                   
nua: nua_application_event: entering                                                                                                                                                
nua(0x100c6748): call state changed: calling -> init                                                                                                                                
nua(0x100c6748): removing session usage                                                                                                                                             
soa_destroy(static::0x100b4728) called 

I check my dnsmasq log, and I see there is no data for SRV DNS request, and that's the reason (I think) sofia stops.

Regards

Ludovic
Brian West a écrit :
What I provided you was an example.  I don't think you understood what  
I was talking about.

In the settings for ext-sip-ip and ext-rtp-ip you'll have to use  
something like "host:yourdyndnshostname.blah.tld"

Then set the sip-ip and rtp-ip to what ever is auto detected.

/b


On Mar 17, 2009, at 6:22 AM, ludovic wrote:

  
Thanks.
It seems that it comes from my sip provider.
when using my_host as my hostname, reg fails
when using my_host.com as my hostname, reg succeeds  (my_host.com  
does not exist as a domain internet)
when using ip address, reg succeeds.

Tested with version 1.0.3

Is it a way to force the IP address to be used in SIP header instead  
of hostname ?

Thanks

Ludovic
    


_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

  

--
   Ludovic Fouquet
R&D Engineer

Tel. : + 33 (0)1 43 34 63 38
Fax : + 33 (0)1 46 91 03 71
Web : www.bewan.com
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to