[OpenSIPS-Users] 180 w/ SDP -> 183

Thomas Gelf thomas at gelf.net
Tue Apr 14 14:51:37 CEST 2009


Hi Jeff,

OpenSIPS itself does not allow you to rewrite status codes, but you can
find a perl script doing so on the OpenSIPS website (tutorials):

  http://www.opensips.org/index.php?n=Resources.DocsTutPerl183to180

However, this will not help you as I assume there is no SDP in your 180
replies. And "inventing" such an SDP would probably fool the client, but
you'll not hear anything, no RBT.

Regards,
Thomas Gelf

Jeff Pyle wrote:
> Hello,
> 
> A small number of my PSTN carriers send 180 Ringing with SDP when inband
> ringback is available.  This causes fits in some versions of Asterisk,
> sending an SDPless 180 and immediately later a 183 with SDP.  Some UACs
> render that very strangely.
> 
> How would one go about detecting a 180 with SDP in a reply_route of Opensips
> and, in effect, flip it to a 183 with the same SDP?
> 
> 
> Thanks,
> Jeff




More information about the Users mailing list