Hi,

I'm having trouble getting the UAC_REDIRECT module to work as advertised (in 1.2.x). The example script places the get_redirects() function in a failure route block, but my 3xx responses seem to be handled by a reply route. Which would be fine, except that the necessary functions (get_redirects(),t_relay()) are not accessible from reply routes. Am I missing something? Any help appreciated,

--
kobi

Script snippet:
-------------------
onreply_route[RRT_INVITE]
{
xlog ("L_CRIT", "On reply route[RRT_INVITE-`RRT_INVITE'] for $rm, to: $tu, from:$fu ...\n ******* \n $mb \n ******* \n");
}

Output:
----------
42(28767) On reply route[1-RRT_INVITE] for INVITE, to:sip:[EMAIL PROTECTED], from:sip:[EMAIL PROTECTED] ...
 *******
 SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/UDP 65.241.182.235:5072;branch=z9hG4bK6593.c4c0f897.0
Via: SIP/2.0/UDP 192.168.27.24:9001;received=76.102.195.73;branch=z9hG4bK- d8754z-38ff8c09b8faf709-1---d8754z-;rport=9001
Contact: <sip:[EMAIL PROTECTED]>
To: "kobi.eshun"<sip:[EMAIL PROTECTED]>;tag=d13d9679
From: "Kobi Eshun"<sip:[EMAIL PROTECTED]>;tag=a85c1936
Call-ID: MjBiMDYwN2ZmZTk5NDdiYWY5NTczNTkyMjAwOTY4ZDI.
CSeq: 2 INVITE
User-Agent: SWIG SS. SipStack
Content-Length: 0



_______________________________________________
Devel mailing list
[email protected]
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to