[SR-Users] A "success_route" as counterpart to "failure_route" available?
Brandon Armstead
brandon at cryy.com
Mon Oct 2 19:11:03 CEST 2017
Also t_check_status(“200”){
In onreply_route{
And handle there, looks like you have corrrct flag already
On Mon, Oct 2, 2017 at 10:08 AM Brandon Armstead <brandon at cryy.com> wrote:
> Check / try the flag to send no reply
>
> On Mon, Oct 2, 2017 at 5:07 AM Alex Balashov <abalashov at evaristesys.com>
> wrote:
>
>> Store what you want in AVPs save that instead?
>>
>> On October 2, 2017 8:05:05 AM EDT, Kristijan Vrban <vrban.lkml at gmail.com>
>> wrote:
>> >2017-10-02 13:14 GMT+02:00 Alex Balashov <abalashov at evaristesys.com>:
>> >
>> >> Are you sure an onreply_route isn't what you need?
>> >>
>> >>
>> >Yes, it was obvious to try a "save("location", "0x02");" ("0x02" for
>> >save
>> >only location and keep going) in onreply_route. I tried it, and as
>> >said:
>> >then the location from the external registrar server is
>> >saved. Not the contact from the requesting UA.
>> >
>> >
>> >
>> >> On October 2, 2017 6:33:31 AM EDT, Kristijan Vrban
>> ><vrban.lkml at gmail.com>
>> >> wrote:
>> >> >Hello,
>> >> >
>> >> >i need a "success_route" which does the same as "failure_route", but
>> >> >only
>> >> >for
>> >> >positiv 2xx reply. Is something like this available?
>> >> >
>> >> >Background: i forward REGISTER to external registrar server, and
>> >only
>> >> >what
>> >> >to save the location on positiv reply to REGISTER. Without doing the
>> >> >authentication myself.
>> >> >
>> >> >I tried to save the location in onreply_route, but then the contact
>> >of
>> >> >the
>> >> >external registrar server is
>> >> >saved. So i need a status check in the REQUEST_ROUTE.
>> >> >
>> >> >Best
>> >> >Kristijan
>> >>
>> >>
>> >> -- Alex
>> >>
>> >> --
>> >> Sent via mobile, please forgive typos and brevity.
>> >>
>> >> _______________________________________________
>> >> Kamailio (SER) - Users Mailing List
>> >> sr-users at lists.kamailio.org
>> >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>> >>
>>
>>
>> -- Alex
>>
>> --
>> Sent via mobile, please forgive typos and brevity.
>>
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> Sent from Gmail Mobile
>
--
Sent from Gmail Mobile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20171002/7f31f0ee/attachment.html>
More information about the sr-users
mailing list