[SR-Users] To/From tags in uac_req()

Alex Balashov abalashov at evaristesys.com
Thu Aug 18 09:32:33 CEST 2016


Hi Julia,

The only attributes that can be set on a request formed with uac_req() 
are listed here:

http://www.kamailio.org/wiki/cookbooks/4.4.x/pseudovariables#uac_req_key

Tags are not among them.

However, it might be possible to generate a completely synthetic SIP 
message yourself using an alternate facility:

http://kamailio.org/docs/modules/4.4.x/modules/corex.html#corex.f.send_data

-- Alex

On 08/18/2016 03:27 AM, Julia Boudniatsky wrote:

> Hello,
>
> Is it possible to set To/From tags in uac_req() ?
> We want to implement service like "color ring back tone".
>
>         _Kamailio  uac_                         _Asterisk_
>
>                         ----INVITE SDP -->
>                         <-----200 SDP------
>                         ---------BYE  ------>
>                         <------- 200   -------
>
> I need to send in BYE the same tags.
> Kamailio 4.4.2.
>
> Thanks,
>
> Julia
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Alex Balashov | Principal | Evariste Systems LLC
1447 Peachtree Street NE, Suite 700
Atlanta, GA 30309
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the sr-users mailing list