[Freeswitch-users] Can't get freeswitch to send BYE packet on hangup

Sergey Okhapkin sos at sokhapkin.dyndns.org
Mon Jun 21 13:05:25 PDT 2010


The question is not related to FS. Learn about DNS SRV records, "_sip._udp." 
is not a subdomain, it's a SRV record.

On Monday 21 June 2010, Philipp Schrader wrote:
> Hi Brian,
> 
> Thanks for your reply, looks like I do get an error.
> I'm reading it as some DNS issue, but I don't know why it's trying to reach
> a "_sip._udp." subdomain.
> Note: 192.168.202.94 is my local dns server
> 
> incoming_reclaim_all((nil), (nil), 0x4023ee40)
> nta_incoming_timer: 0/0 resent, 0/0 tout, 1/2 term, 1/2 free
> nta: timer set next to 55 ms
> 2010-06-21 15:44:32.489712 [NOTICE] mod_dptools.c:705 Hangup
> sofia/internal/XXXX at aaaaa.AAAAA [CS_EXECUTE] [NORMAL_CLEARING]
> nua: nua_bye: entering
> nua(0x8ae9c0): sent signal r_bye
> 2010-06-21 15:44:32.504861 [NOTICE] switch_core_session.c:1182 Session 1
> (sofia/internal/XXXX at aaaaa.AAAAA) Ended
> 2010-06-21 15:44:32.504861 [NOTICE] switch_core_session.c:1184 Close
>  Channel sofia/internal/XXXX at aaaaa.AAAAA [CS_DESTROY]
> nua(0x8ae9c0): recv signal r_bye
> nua: nua_stack_set_params: entering
> soa_set_params(static::0x8ab4f0, ...) called
> soa_terminate(static::0x8ab4f0) called
> soa_init_offer_answer(static::0x8ab4f0) called
> nta: selecting scheme sip
> sres_cache_get(0x701180, NAPTR, "aaaaa.AAAAA.") called
> nta: for "aaaaa.AAAAA" query "aaaaa.AAAAA" NAPTR
> sres_query(0x6f32d0, 0x7f25980050d0, NAPTR, "aaaaa.AAAAA") called
> sres_send_dns_query(0x6f32d0, 0x7f25980057b0) called
> sres_sofia_update(0x71ecd0, 50, -1)
> sres_send_dns_query(0x6f32d0, 0x7f25980057b0) id=17457 NAPTR aaaaa.AAAAA
>  (to [192.168.202.94]:53)
> sres_resolver_receive(0x6f32d0, 50) called
> AUTHORITY RR received AAAAA. SOA IN 7247 rdlen=48
> sres_resolver_receive(0x6f32d0, 0x7f25980057b0) id=17457 (from
> [192.168.202.94]:53)
> sres(q=0x7f25980057b0): reporting error NAME_ERR for NAPTR aaaaa.AAAAA
> sres_cache_get(0x701180, SRV, "_sip._udp.aaaaa.AAAAA.") called
> nta: for "aaaaa.AAAAA" query "_sip._udp.aaaaa.AAAAA" SRV
> sres_query(0x6f32d0, 0x7f25980050d0, SRV, "_sip._udp.aaaaa.AAAAA") called
> sres_send_dns_query(0x6f32d0, 0x7f2598005960) called
> sres_send_dns_query(0x6f32d0, 0x7f2598005960) id=17458 SRV
> _sip._udp.aaaaa.AAAAA (to [192.168.202.94]:53)
> sres_resolver_receive(0x6f32d0, 50) called
> AUTHORITY RR received AAAAA. SOA IN 7247 rdlen=48
> sres_resolver_receive(0x6f32d0, 0x7f2598005960) id=17458 (from
> [192.168.202.94]:53)
> sres(q=0x7f2598005960): reporting error NAME_ERR for SRV
> _sip._udp.aaaaa.AAAAA
> sres_cache_get(0x701180, A, "aaaaa.AAAAA.") called
> nta: for "aaaaa.AAAAA" query "aaaaa.AAAAA" A
> sres_query(0x6f32d0, 0x7f25980050d0, A, "aaaaa.AAAAA") called
> sres_send_dns_query(0x6f32d0, 0x7f2598005b20) called
> sres_send_dns_query(0x6f32d0, 0x7f2598005b20) id=17459 A aaaaa.AAAAA (to
> [192.168.202.94]:53)
> sres_resolver_receive(0x6f32d0, 50) called
> AUTHORITY RR received AAAAA. SOA IN 7247 rdlen=48
> sres_resolver_receive(0x6f32d0, 0x7f2598005b20) id=17459 (from
> [192.168.202.94]:53)
> sres(q=0x7f2598005b20): reporting error NAME_ERR for A aaaaa.AAAAA
> nua(0x8ae9c0): event r_bye 503 DNS Error
> nua(0x8ae9c0): call state changed: terminating -> terminated
> nua(0x8ae9c0): event i_state 503 to BYE
> nua(0x8ae9c0): event i_terminated 503 to BYE
> nua(0x8ae9c0): removing session usage
> soa_destroy(static::0x8ab4f0) called
> nta_leg_destroy(0x7c2850)
> nua: terminated session 0x8ae9c0
> nua: nua_application_event: entering
> nua: nua_handle_magic: entering
> nua: nua_application_event: entering
> nua: nua_handle_magic: entering
> nua: nua_handle_bind: entering
> nua: nua_application_event: entering
> nua: nua_handle_magic: entering
> nua: nua_handle_destroy: entering
> nua(0x8ae9c0): sent signal r_destroy
> nua(0x8ae9c0): recv signal r_destroy
> nta_leg_destroy((nil))
> nta: timer I fired, terminate 200 response
> incoming_reclaim_all((nil), (nil), 0x4023ee40)
> nta_incoming_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free
> nta: timer set next to 4989 ms
> nta: timer K fired, terminate BYE (132456400)
> outgoing_reclaim_all((nil), (nil), 0x4023ee30)
> nta_outgoing_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free
> nta: timer not set
> 
> On Mon, Jun 21, 2010 at 15:25, Brian West <brian at freeswitch.org> wrote:
> > type "sofia loglevel all 9"
> >
> > Then try again I suspect its sending it but getting an error.
> >
> > /b
> >
> > On Jun 21, 2010, at 12:45 PM, Philipp Schrader wrote:
> > > Dear All,
> > >
> > > Loving freeswitch so far.
> > > There's one thing I need help with though.
> >
> > _______________________________________________
> > 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
> 




More information about the FreeSWITCH-users mailing list