Also t_check_status(“200”){
In onreply_route{
And handle there, looks like you have corrrct flag already
Check / try the flag to send no reply
Store what you want in AVPs save that instead?
On October 2, 2017 8:05:05 AM EDT, Kristijan Vrban <vrban.lkml@gmail.com> wrote:
>2017-10-02 13:14 GMT+02:00 Alex Balashov <abalashov@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@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@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@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Sent from Gmail Mobile