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

Daniel-Constantin Mierla miconda at gmail.com
Thu Aug 18 09:53:47 CEST 2016


Hello,

an alternative is to track the call with dialog module and then trigger
the end of the dialog via config or mi/rpc:

  -
https://www.kamailio.org/docs/modules/stable/modules/dialog.html#idp47915332

  -
https://www.kamailio.org/docs/modules/stable/modules/dialog.html#idp47967692

Cheers,
Daniel


On 18/08/16 09:40, Julia Boudniatsky wrote:
> Thank you Alex!
> I'll try it.
> Best regards,
> Julia
>
> On Thu, Aug 18, 2016 at 10:32 AM, Alex Balashov
> <abalashov at evaristesys.com <mailto:abalashov at evaristesys.com>> wrote:
>
>     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
>     <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
>     <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
>         <mailto:sr-users at lists.sip-router.org>
>         http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>         <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 <tel:%2B1-800-250-5920> (toll-free) /
>     +1-678-954-0671 <tel:%2B1-678-954-0671> (direct)
>     Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>     <http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>
>
>
>
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160818/4ddd018f/attachment.html>


More information about the sr-users mailing list