[OpenSIPS-Users] modify TO field in the SIP message header

Brett Nemeroff brett at nemeroff.com
Tue Nov 11 19:24:48 CET 2008


Hmm.. I'll look into that.. thanks!
On Tue, Nov 11, 2008 at 12:22 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:

> 2008/11/11 Brett Nemeroff <brett at nemeroff.com>:
> > I'd like to chime in here since I had an issue needing this, by the way,
> > subst changed the header just FINE.. but subsequent message processing
> was
> > broken (flood of failed 200OK/ACK on connect followed by far end
> > disconnect).
>
> > Here's my issue, I have customers that dial to me with a prefix
> indicating
> > an accountcode (this was necessary because of technical limitations on
> their
> > hardware.). I have opensips removing the accountcode from the RURI and
> > forwarding onto a provider.
>
> > When that provider sees the accountcode in the TO header, I get a 400 Bad
> > Request back from them and they reject the call.
>
> This is an error in your provider, it shouldn't check the To URI.
>
>
> > If I clean up the TO header
> > and remove the accountcode from the URI (ie: make it look like $rU) then
> it
> > attempts to complete the call but it fails, as I said above, with the 200
> > OK/ACK flood.
>
> Maybe you could also replace the To in the ACK?
>
>
> --
> Iñaki Baz Castillo
> <ibc at aliax.net>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081111/d0075e5b/attachment-0001.htm 


More information about the Users mailing list