[SR-Users] A "success_route" as counterpart to "failure_route" available?

Alex Balashov abalashov at evaristesys.com
Mon Oct 2 14:06:19 CEST 2017


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. 



More information about the sr-users mailing list