[OpenSIPS-Users] dialog time out not working

Răzvan Crainea razvan at opensips.org
Wed Jun 25 13:03:28 CEST 2014


Hi, Samuel!

Yes, using that snippet should allow you to add information to the BYE 
messages sent.

Best regards,

Razvan Crainea
OpenSIPS Core Developer
http://www.opensips-solutions.com

On 06/25/2014 01:03 PM, Samuel Muller wrote:
> Hello Razvan,
>
> It's working when disabling SST module ... ok, why not - finally I've
> to review the real prupose of the SST module ...
>
> In the mean time, how can I manage the BYE sent by OpenSips ? Do I
> have to create a local_route ?
>
> something like this :
>
> local_route {
>      if (is_method("BYE")) {
>         xlog("L_NOTICE","do whatever you need here.");
>      }
>      xlog("L_NOTICE","\r\n$mb\r");
> }
>
>
> => successful logs :
>
> log[2392]: DBG:dialog:get_expired_dlgs: start with tl=0x7f49fa5df7c0
> tl->prev=0x7f49fa4684d0 tl->next=0x7f49fa4684d0 (367) at 367 and end
> with end=0x7f49fa4684d0 end->prev=0x7f49fa5df7c0
> end->next=0x7f49fa5df7c0
> log[2392]: DBG:dialog:get_expired_dlgs: getting tl=0x7f49fa5df7c0
> tl->prev=0x7f49fa4684d0 tl->next=0x7f49fa4684d0 with 367
> log[2392]: DBG:dialog:get_expired_dlgs: end with tl=0x7f49fa4684d0
> tl->prev=0x7f49fa5df7c0 tl->next=0x7f49fa5df7c0 and
> d_timer->first.next->prev=(nil)
> log[2392]: DBG:dialog:dlg_timer_routine: tl=0x7f49fa5df7c0
> next=0xffffffffffffffff
> log[2392]: DBG:dialog:dlg_ontimeout: byeontimeout ? 283 , state = 4
> log[2392]: DBG:dialog:init_dlg_term_reason: Setting DLG term reason to
> [Lifetime Timeout]
> log[2392]: DBG:dialog:send_leg_bye: sending BYE to caller (0)
> log[2392]: DBG:dialog:ref_dlg: ref dlg 0x7f49fa5df778 with 1 -> 3
> log[2392]: DBG:tm:t_uac: next_hop=<sip:10.0.0.95;lr;ftag=qyedlmajgn;rr=vrf5411>
> log[2392]: DBG:core:mk_proxy: doing DNS lookup...
> log[2392]: DBG:tm:t_uac: sending socket is 10.0.0.92
> log[2392]: DBG:tm:dlg2hash: 40275
> log[2392]: DBG:tm:print_request_uri: sip:3933 at 192.168.0.108:6060
> log[2392]: DBG:tm:set_timer: relative timeout is 500000
> log[2392]: DBG:tm:insert_timer_unsafe: [4]: 0x7f49fa5daf00 (367400000)
> log[2392]: DBG:tm:insert_timer_unsafe: [0]: 0x7f49fa5daf30 (377)
> log[2392]: DBG:dialog:send_leg_bye: BYE sent to caller
> log[2392]: DBG:dialog:send_leg_bye: sending BYE to callee (1)
> log[2392]: DBG:dialog:ref_dlg: ref dlg 0x7f49fa5df778 with 1 -> 4
> log[2392]: DBG:tm:t_uac: next_hop=<sip:00663128505 at 10.0.0.85:5080;transport=udp>
> log[2392]: DBG:core:mk_proxy: doing DNS lookup...
> log[2392]: DBG:tm:t_uac: sending socket is 10.0.0.92
> log[2392]: DBG:tm:dlg2hash: 60492
> log[2392]: DBG:tm:print_request_uri:
> sip:00663128505 at 10.0.0.85:5080;transport=udp
> log[2392]: DBG:tm:set_timer: relative timeout is 500000
> log[2392]: DBG:tm:insert_timer_unsafe: [4]: 0x7f49fa5e1480 (367400000)
> log[2392]: DBG:tm:insert_timer_unsafe: [0]: 0x7f49fa5e14b0 (377)
> log[2392]: DBG:dialog:send_leg_bye: BYE sent to callee
> log[2392]: DBG:dialog:unref_dlg: unref dlg 0x7f49fa5df778 with 1 -> 3
> in entry 0x7f49fa480880
>
>
> Thank you !
>
>
> Samuel MULLER
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list