Hey Guys,
I was wondering if I could get some guidance on my ideas.
I would like to use dispatcher ds_select_dst on ruri in a branch. Is this scenario feasible or out of internals (winning branch maybe) impossible?
The idea behind my scenario is to be able to dispatch separately branches received from redirect server.
Thanks in advance for any tip!
DanB
Hello,
On 5/28/13 11:20 AM, DanB wrote:
Hey Guys,
I was wondering if I could get some guidance on my ideas.
I would like to use dispatcher ds_select_dst on ruri in a branch. Is this scenario feasible or out of internals (winning branch maybe) impossible?
The idea behind my scenario is to be able to dispatch separately branches received from redirect server.
I think it should work to call dst_select_dst() in a branch route.
Alternative, would be to get contact addresses from 30x reply and build the branches separately in failure route, for each new URI from contact header, do also dst_select_dst(). This function does not care about what is in R-URI.
However, if you need to do also failure routing for each branch, then it gets more complex, the easiest would be to add another instance where to do load balancing.
Cheers, Daniel
Thanks in advance for any tip!
DanB
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hello!
When i use $DLG_lifetime *sometimes* no Acct-Session-Time in radius query at all.
modparam("acc_radius", "radius_extra", " \ ... Acct-Session-Time=$DLG_lifetime; \ ...
-- WBR, Victor JID: coyote@bks.tv JID: coyote@bryansktel.ru I use FREE operation system: 3.9.2-calculate GNU/Linux
Hello!
When i use $DLG_lifetime *sometimes* no Acct-Session-Time in radius query at all.
modparam("acc_radius", "radius_extra", " \ ... Acct-Session-Time=$DLG_lifetime; \ ...
Look like dialog variables destroyed before accounting, when received BYE from caller. When BYE from callee, both accounting work correct.
I think it's not config bug
-- WBR, Victor JID: coyote@bks.tv JID: coyote@bryansktel.ru I use FREE operation system: 3.9.2-calculate GNU/Linux
Hello,
can you open an issue on tracker not to forget about this one?
Meanwhile, maybe this workaround will work: - when the BYE is received, store the value fo $DLG_lifetime in an avp and store that avp in accounting
Cheers, Daniel
On 5/29/13 7:57 AM, Victor V. Kustov wrote:
Hello!
When i use $DLG_lifetime *sometimes* no Acct-Session-Time in radius query at all.
modparam("acc_radius", "radius_extra", " \ ... Acct-Session-Time=$DLG_lifetime; \ ...
Look like dialog variables destroyed before accounting, when received BYE from caller. When BYE from callee, both accounting work correct.
I think it's not config bug
-- WBR, Victor JID: coyote@bks.tv JID: coyote@bryansktel.ru I use FREE operation system: 3.9.2-calculate GNU/Linux
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hello, Daniel-Constantin Mierla!
Hello,
can you open an issue on tracker not to forget about this one?
Meanwhile, maybe this workaround will work:
- when the BYE is received, store the value fo $DLG_lifetime in an avp
and store that avp in accounting
Yes, it's work. Therefore really destroy dialog before accounting.
Bug FS#301 reported.
-- WBR, Victor JID: coyote@bks.tv JID: coyote@bryansktel.ru I use FREE operation system: 3.9.2-calculate GNU/Linux