[OpenSIPS-Users] Packets loop
Wesley Volcov
wesleyvolcov at gmail.com
Mon Jun 21 18:40:37 CEST 2010
Hello Everybody!
I have a problem with my opensips.
When my opensis receives an INVITE request I see this invite in loop. The
opensips forwards the packet to the destination, but it seds to itself too.
The $du variable is null.
Someone had this problem ?
Follow the INVITE:
INVITE sip:1603551199895348 at 113.105.152.32<sip%3A1603551199895348 at 113.105.152.32>SIP/2.0.
Record-Route: <sip:187.63.32.75;lr=on;ftag=1b424d42>.
Record-Route: <sip:187.63.32.75;lr=on;ftag=1b424d42;did=ce9.e0cffe26>.
Record-Route: <sip:187.63.32.75;lr=on;ftag=1b424d42;did=ce9.d0cffe26>.
Record-Route: <sip:187.63.32.75;lr=on;ftag=1b424d42;did=ce9.c0cffe26>.
Record-Route: <sip:187.63.32.75;lr=on;ftag=1b424d42;did=ce9.b0cffe26>.
Via: SIP/2.0/UDP 187.63.32.75;branch=z9hG4bK32a7.f79bca05.3.
Via: SIP/2.0/UDP 187.63.32.75;branch=z9hG4bK32a7.e79bca05.0.
Via: SIP/2.0/UDP 187.63.32.75;branch=z9hG4bK32a7.d79bca05.0.
Via: SIP/2.0/UDP 187.63.32.75;branch=z9hG4bK32a7.c79bca05.0.
Via: SIP/2.0/UDP 187.63.32.75;branch=z9hG4bK32a7.b79bca05.0.
Via: SIP/2.0/UDP 192.168.10.115:22106
;received=200.170.196.78;branch=z9hG4bK-d8754z-39689860e3472677-1---d8754z-;rport=22106.
Max-Forwards: 65.
Contact: <sip:1000 at 200.170.196.78:22106>.
To: "1551199895348"<sip:1551199895348 at sip.dnsdinamico.com.br<sip%3A1551199895348 at sip.dnsdinamico.com.br>
>.
From: "1000"<sip:1000 at sip.dnsdinamico.com.br<sip%3A1000 at sip.dnsdinamico.com.br>
>;tag=1b424d42.
Call-ID: MDllZGQ4MWM1YWJiZWVjM2UyZjIyMWY4MzI0OWI1MmM..
CSeq: 1 INVITE.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE,
INFO.
Content-Type: application/sdp.
User-Agent: eyeBeam release 1102q stamp 51689.
Content-Length: 319.
.
v=0.
o=- 4 2 IN IP4 192.168.10.115.
s=CounterPath eyeBeam 1.5.
c=IN IP4 192.168.10.115.
t=0 0.
m=audio 29588 RTP/AVP 107 0 8 18 101.
a=alt:1 1 : PFKVP/Yo 4DIwVv1r 192.168.10.115 29588.
a=fmtp:18 annexb=yes.
a=fmtp
Follow my route[RELAY]:
route[ROUTE_RELAY] {
t_on_reply("ONREPLY");
if (!t_relay()) {
sl_reply_error();
};
exit;
};
My main route:
if (!is_method("REGISTER")) {
record_route();
} else {
if (!www_authorize("sip.dnsdinamico.com.br", "subscriber"))
{
www_challenge("sip.dnsdinamico.com.br", "0");
sl_send_reply("200", "OK");
exit;
};
save("location");
exit;
};
if (is_method("CANCEL")) {
if (t_check_trans()) {
route(ROUTE_RELAY);
}
}
if (is_method("INVITE")) {
route(ROUTE_AUTHENTICATE);
route(ROUTE);
}
route(ROUTE_RELAY);
}
Regards,
--
Wesley Volcov
Email: wesleyvolcov at gmail.com
Messenger: volcov at live.com
Mobile: +55 11 9989-5348
Website: http://volcov.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100621/60316563/attachment.htm
More information about the Users
mailing list