[SR-Users] Dispatcher - failure_route to specific node
federico.cabiddu at gmail.com
Mon Sep 15 08:03:06 CEST 2014
What happens if you call t_relay() after setting $du?
On Mon, Sep 15, 2014 at 1:09 AM, Nicholas Gill <nick at etellicom.com> wrote:
> On 14/09/14 20:00, sr-users-request at lists.sip-router.org wrote:
>> In your script snippets it seems
>> that upon receiving the 302, in the failure route you set the $du and then
>> you pass the message to a RELAY route, which I suppose sends the 407
> This seems to be the case, yes. The 407 comes from kamailio on the already
> authenticated call. I presume this is done to trigger the caller to send
> another INVITE.
>> If you don't need for special reasons that the user performs a proxy
>> authentication, in the failure route you could just relay the INVITE to
>> target FreeSWITCH after setting $du to the value of your custom header.
> This is exactly what I'm hoping to do, but I'm not sure of the correct
> configuration to achieve this.
> It was my intention to relay the INVITE to the target server by setting
> the $du and then trigger the RELAY route. I have also tried setting $du and
> then calling t_relay() directly, but I suspect I'm missing something minor
> but important.
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the sr-users