I send INVITE via uac_send_req() and receive "183" and "200"responses. Only "200" appears in the log of event_route[uac:reply].
Is event_route[uac:reply] executed only for final responses?
Thank you, Julia
I found in the module uac documentation:
"6.1. event_route[uac:reply] Event route executed for the* final* reply to the request set with uac_req_send().
Thanks, Julia
On Mon, Sep 19, 2016 at 1:34 PM, Julia Boudniatsky juliabo@gmail.com wrote:
I send INVITE via uac_send_req() and receive "183" and "200"responses. Only "200" appears in the log of event_route[uac:reply].
Is event_route[uac:reply] executed only for final responses?
Thank you, Julia
Indeed, only the final response gets to the even_route, this is because of the callback used from tm module.
Maybe, if you can offer more details about what you need from 183, we can provide some hints if it's possible and how.
Cheers, Daniel
On 20/09/16 07:27, Julia Boudniatsky wrote:
I found in the module uac documentation:
"6.1. event_route[uac:reply] Event route executed for the*final* reply to the request set with uac_req_send().
Thanks, Julia
On Mon, Sep 19, 2016 at 1:34 PM, Julia Boudniatsky <juliabo@gmail.com mailto:juliabo@gmail.com> wrote:
I send INVITE via uac_send_req() and receive "183" and "200"responses. Only "200" appears in the log of event_route[uac:reply]. Is event_route[uac:reply] executed only for final responses? Thank you, 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
Hello, thank you for reply. I need to set some variable with sdp from 183. I solved it with sending uac request to different kamailio local port (before sending to destination) and specifying onreply_route for INVITEs, received in this port.
On Tue, Sep 20, 2016 at 10:38 AM, Daniel-Constantin Mierla < miconda@gmail.com> wrote:
Indeed, only the final response gets to the even_route, this is because of the callback used from tm module.
Maybe, if you can offer more details about what you need from 183, we can provide some hints if it's possible and how.
Cheers, Daniel
On 20/09/16 07:27, Julia Boudniatsky wrote:
I found in the module uac documentation:
"6.1. event_route[uac:reply] Event route executed for the* final* reply to the request set with uac_req_send().
Thanks, Julia
On Mon, Sep 19, 2016 at 1:34 PM, Julia Boudniatsky juliabo@gmail.com wrote:
I send INVITE via uac_send_req() and receive "183" and "200"responses. Only "200" appears in the log of event_route[uac:reply].
Is event_route[uac:reply] executed only for final responses?
Thank you, Julia
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio Advanced Training, Berlin, Oct 24-26, 2016 - http://www.asipto.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
On maandag 19 september 2016 13:34:07 CEST Julia Boudniatsky wrote:
I send INVITE via uac_send_req() and receive "183" and "200"responses. Only "200" appears in the log of event_route[uac:reply].
Is event_route[uac:reply] executed only for final responses?
You should be able to set an onreply route in the tm:local-request event_route to catch replies.
Hi Alex,
This works fine, undoubtedly it's a better solution. Thank you very much! Julia.
On Tue, Sep 20, 2016 at 11:28 AM, Alex Hermann alex@speakup.nl wrote:
On maandag 19 september 2016 13:34:07 CEST Julia Boudniatsky wrote:
I send INVITE via uac_send_req() and receive "183" and "200"responses. Only "200" appears in the log of event_route[uac:reply].
Is event_route[uac:reply] executed only for final responses?
You should be able to set an onreply route in the tm:local-request event_route to catch replies.
-- Greetings,
Alex Hermann