Hi,
i propose to add a change to registrar module so that it updates sip_msg.ruid on successfull save.
this will allow to get $ruid after save to forward the $ruid to other places.
thoughts ?
Hello,
isn't this $xavp(...=>ruid) set after save?
http://kamailio.org/docs/modules/stable/modules/registrar.html#registrar.p.x...
I am fine to set also sip_msg.ruid if people find it useful.
Cheers, Daniel
On 14/08/15 14:10, Luis Azedo wrote:
Hi,
i propose to add a change to registrar module so that it updates sip_msg.ruid on successfull save.
this will allow to get $ruid after save to forward the $ruid to other places.
thoughts ?
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
indeed, thanks for pointing this out, no need for changes :)
________________________________ From: sr-dev [sr-dev-bounces@lists.sip-router.org] on behalf of Daniel-Constantin Mierla [miconda@gmail.com] Sent: Friday, August 14, 2015 6:18 AM To: Kamailio (SER) - Development Mailing List Subject: Re: [sr-dev] (no subject)
Hello,
isn't this $xavp(...=>ruid) set after save?
http://kamailio.org/docs/modules/stable/modules/registrar.html#registrar.p.x...
I am fine to set also sip_msg.ruid if people find it useful.
Cheers, Daniel
On 14/08/15 14:10, Luis Azedo wrote: Hi,
i propose to add a change to registrar module so that it updates sip_msg.ruid on successfull save.
this will allow to get $ruid after save to forward the $ruid to other places.
thoughts ?
_______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.orgmailto:sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com
so $xvap(...=>ruid) is set in build_contact (reply.c) and called from save.c
how do you guys feel about adding the rest of the information as in reg_fetch_contacts ?
________________________________ From: sr-dev [sr-dev-bounces@lists.sip-router.org] on behalf of Luis Azedo [luis@2600hz.com] Sent: Friday, August 14, 2015 6:30 AM To: miconda@gmail.com; Kamailio (SER) - Development Mailing List Subject: Re: [sr-dev] (no subject)
indeed, thanks for pointing this out, no need for changes :)
________________________________ From: sr-dev [sr-dev-bounces@lists.sip-router.org] on behalf of Daniel-Constantin Mierla [miconda@gmail.com] Sent: Friday, August 14, 2015 6:18 AM To: Kamailio (SER) - Development Mailing List Subject: Re: [sr-dev] (no subject)
Hello,
isn't this $xavp(...=>ruid) set after save?
http://kamailio.org/docs/modules/stable/modules/registrar.html#registrar.p.x...
I am fine to set also sip_msg.ruid if people find it useful.
Cheers, Daniel
On 14/08/15 14:10, Luis Azedo wrote: Hi,
i propose to add a change to registrar module so that it updates sip_msg.ruid on successfull save.
this will allow to get $ruid after save to forward the $ruid to other places.
thoughts ?
_______________________________________________ sr-dev mailing list sr-dev@lists.sip-router.orgmailto:sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com