[OpenSIPS-Users] t_relay() not relaying payload
Thamer Alharbash
talharbash at gmail.com
Fri Jan 29 18:32:22 CET 2010
We currently have opensips setup to route through another carrier for
certain calls. All signaling and media works well except for reinvites.
if (has_totag()) {
# sequential request within a dialog should
# take the path determined by record-routing
if (loose_route()) {
if (is_method("BYE")) {
setflag(1); # do accounting ...
setflag(3); # ... even if the
transaction fails
} else if (is_method("INVITE")) {
# even if in most of the cases is
useless, do RR for
# re-INVITEs alos, as some buggy
clients do change route set
# during the dialog.
record_route_preset("<hidden>");
}
fix_nated_contact();
t_relay();
...
The first reinvite passes through fine with the nated contact fixed
for the contact field. The second reinvite does not get relayed
correctly. Instead a udp packet with no SIP payload at all is sent to
the UA. We can't find any particular error in the debug log.
Does anyone have thoughts on this?
--
Thamer
More information about the Users
mailing list