[reSIProcate] Stack Method or API to modify Via header by Application
Alok Tiwari
alok1984 at gmail.com
Wed Aug 17 09:22:27 CDT 2016
We do handover the sip message to sip stack through function
send(sipMessage*). After that sip stack sends the message internally. In my
case, if I modify the public IP in "Sent-by" parameter before handover the
message to sip stack, it fails the message during Via header validation.
On Wed, Aug 17, 2016 at 3:46 PM, Dmytro Bogovych <dmytro.bogovych at gmail.com>
wrote:
> Use outbound decorators if you want to rewrite to public IP:
>
> https://www.resiprocate.org/Modifying/Decorating_messages_sent
>
> On Wed, Aug 17, 2016 at 12:50 PM, Alok Tiwari <alok1984 at gmail.com> wrote:
> > Hi,
> >
> > I am running my SIP entity behind the NAT. I want to send the public IP
> in
> > Via header by just modifying the "send-by" parameter with public IP so
> that
> > we can receive the response on same IP . I did the same by modifying the
> Via
> > by Application but Stack fails and do not send the request out. It gives
> > error as follows:
> >
> > TransportSelector.cxx:1463|Can't find matching transport [ V4
> > 172.23.71.224:5060 UDP target domain=unspecified mFlowKey=0 ]
> >
> > Please help me and suggest any method/API to meet my requirement.
> >
> > Thanks,
> > Alok
> >
> > _______________________________________________
> > resiprocate-devel mailing list
> > resiprocate-devel at resiprocate.org
> > https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20160817/9a6472b9/attachment.htm>
More information about the resiprocate-devel
mailing list