[OpenSER-Devel] 3xx handling question (UAC_REDIRECT)

Kobi Eshun kobi at sightspeed.com
Fri Mar 28 17:14:52 CET 2008


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:kobi.eshun at xxx-xxx.org, from:sip:kobi.128253 at xxx-xxx.org ...
  *******
  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:kobi.at.work at xxx-xxx.org>
To: "kobi.eshun"<sip:kobi.eshun at xxx-xxx.org>;tag=d13d9679
From: "Kobi Eshun"<sip:kobi.128253 at xxx-xxx.org>;tag=a85c1936
Call-ID: MjBiMDYwN2ZmZTk5NDdiYWY5NTczNTkyMjAwOTY4ZDI.
CSeq: 2 INVITE
User-Agent: SWIG SS. SipStack
Content-Length: 0



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openser.org/pipermail/devel/attachments/20080328/197420e0/attachment.htm 


More information about the Devel mailing list