[OpenSIPS-Users] t_relay() not relaying payload

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Feb 1 14:55:07 CET 2010


Hi Thamer,

Could you post the first re-INVITE (received and sent) to see what could 
be the problem?

Regards,
Bogdan

Thamer Alharbash wrote:
> 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?
>
>   


-- 
Bogdan-Andrei Iancu
www.voice-system.ro




More information about the Users mailing list