Re: [SR-Users] Dispatcher - failure_route to specific node

2014-09-15 Thread Nicholas Gill
On 16/09/14 15:55, Federico Cabiddu wrote: looking at the trace, it seems to me that the 407 is not sent by Kamailio but by the FS1 server ("User-Agent: IMX" in the 407, as for the 1st 407 sent by FS2), and that you are probably missing in the trace the messages between Kamailio and FS1. This s

Re: [SR-Users] Dispatcher - failure_route to specific node

2014-09-15 Thread Federico Cabiddu
Hi, looking at the trace, it seems to me that the 407 is not sent by Kamailio but by the FS1 server ("User-Agent: IMX" in the 407, as for the 1st 407 sent by FS2), and that you are probably missing in the trace the messages between Kamailio and FS1. If this is the case you could either: - disable t

Re: [SR-Users] Dispatcher - failure_route to specific node

2014-09-15 Thread Nicholas Gill
On 15/09/14 16:03, Federico Cabiddu wrote: What happens if you call t_relay() after setting $du? Same result. Kamailio sends 407 to caller, which then creates a new INVITE. I suspect my configuration doesn't reflect the intent, so I'm adding it below along with other particulars of the test en

Re: [SR-Users] Dispatcher - failure_route to specific node

2014-09-14 Thread Federico Cabiddu
What happens if you call t_relay() after setting $du? Cheers, Federico On Mon, Sep 15, 2014 at 1:09 AM, Nicholas Gill 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

Re: [SR-Users] Dispatcher - failure_route to specific node

2014-09-14 Thread Nicholas Gill
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 fro

Re: [SR-Users] Dispatcher - failure_route to specific node

2014-09-13 Thread Federico Cabiddu
Hi, I'm not sure that I fully understand your scenario, there are things not clear to me, like: who is sending the 407? 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 r

[SR-Users] Dispatcher - failure_route to specific node

2014-09-12 Thread Nicholas Gill
Hello sr-users, We're using Kamailio to proxy to a number of FreeSWITCH backend servers with the dispatcher module. In some specific scenarios it matters to which node the request is sent. In these cases we've configured FS to respond to the invite with 302 and provide a custom header which

[SR-Users] Dispatcher - failure_route to specific node

2014-09-11 Thread Nicholas Gill
Hello sr-users, We're evaluating Kamailio to proxy to a number of FreeSWITCH backend servers with the dispatcher module. In some specific scenarios it matters to which node the request is sent. In these cases we've configured FS to respond to the invite with 302 and provide a custom header w