[OpenSIPS-Users] 302 redirect question
Brett Nemeroff
brett at nemeroff.com
Thu Mar 25 03:41:27 CET 2010
Hello All,
I have a question about 302 redirects.Maybe I'm just misunderstanding how
it's supposed to work..
I get the following redirect:
SIP/2.0 302 Moved temporarily.
Via:SIP/2.0/UDP 192.168.21.10;branch=z9hG4bK6cd5.ae1f6c43.0,SIP/2.0/UDP
10.10.10.11:5060;branch=z9hG4bK-a96e3-4baac9a7-8c685c67-5898d54b.
From:<sip:+5125551212 at 10.10.10.11:5060
>;tag=a9d5ed0-13c4-4baac9a7-8c685c67-19c2a61a.
To:<sip:15205551212 at 192.168.21.10:5060>;tag=100063687-1269483944267.
Call-ID:CXC-410-65762490-a9d5ed0-13c4-4baac9a7-8c685c67-17d5873c at 10.10.10.11<Call-ID%3ACXC-410-65762490-a9d5ed0-13c4-4baac9a7-8c685c67-17d5873c at 10.10.10.11>
.
CSeq:1 INVITE.
Record-Route:<sip:192.168.21.10;lr=on;did=f8d.623e93f6>.
Contact:<sip:5205551212 at 192.168.50.10:5060
;user=phone>;q=0.5,<sip:5205551212 at 192.168.30.10:5060;user=phone>;q=0.25.
Content-Length:0.
And in my failure route I have:
if (t_check_status("302")) {
get_redirects("*");
t_relay();
exit;
}
Now when I watch a sip trace, right after the 302, an INVITE fires off to
BOTH 192.168.50.10 and 192.168.30.10 at the exact same time. The q values
are different, shouldn't they be serial?
I'm not entirely sure how much "magic" is handled in the q-value and how
much needs to be scripted.. But I was under the impression that this magic
was "fully automatic"
Thanks!
-Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100324/f279ce40/attachment.htm
More information about the Users
mailing list