On 14/09/14 20:00, sr-users-request@lists.sip-router.org wrote:
In your script snippets it seemsThis 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.
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.
If you don't need for special reasons that the user performs a proxyThis is exactly what I'm hoping to do, but I'm not sure of the correct configuration to achieve this.
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.
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