What happens if you call t_relay() after setting $du?

Cheers,

Federico

On Mon, Sep 15, 2014 at 1:09 AM, Nicholas Gill <n...@etellicom.com> wrote:

> On 14/09/14 20:00, sr-users-requ...@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
>> reply.
>>
> 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
>> the
>> 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.
>
>
> Cheers,
>
> -nick
>
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to