[Freeswitch-users] SIP registration fails when using hostname in sip_profile ?
Brian West
brian at freeswitch.org
Tue Mar 17 11:26:31 PDT 2009
I checked, I don't see sw1.freephonie.net in the logs trying to
resolve it... and the SRV records are all correct as are the naptr
records which is shocking ;)
/b
On Mar 17, 2009, at 1:16 PM, ludovic wrote:
> 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
More information about the FreeSWITCH-users
mailing list