Hello Daniel,

How to track with dialog the call initiated by Kamailio ?
Simple dlg_manage(), after uac_req_send()?

Thank you,

Julia.


On Thu, Aug 18, 2016 at 10:53 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

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@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

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@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/

_______________________________________________
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



_______________________________________________
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

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

_______________________________________________
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