Thanks Harald, Yes, kind of. Normally, if I'm not wrong, most massages are sent to a SIP server (like REGISTER, INVITE, BYE). I want to be able to control the address that PJSIP sends those messages. Thanks, Nir On Thu, Feb 5, 2015 at 2:06 PM, Harald Radke <harryrat at gmx.de> wrote: > > not quite sure what you mean... what do you want to "echo" ? SIP messages > from your PJSIP user agent which are normally sent to another UA? Like the > responses to incoming requests and outgoing requests? > > Regards, > > Harry > *Gesendet:* Donnerstag, 05. Februar 2015 um 09:31 Uhr > *Von:* "Nahum Nir" <hello.shalom.hi at gmail.com> > *An:* pjsip at lists.pjsip.org > *Betreff:* [pjsip] How to Change PJSIP Sending Address? > > Hi All, > > I am trying to change the sending address of PJSIP to echo it to another > server (not SIP). I tried to change the method transport_attach(..) in > sip_transport_udp.c by changing the value of tp->base.remote_name but it > has no effect. > > Can someone please advise on where should I change it? > > Thanks, > > Nir > _______________________________________________ Visit our blog: > http://blog.pjsip.org pjsip mailing list pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20150207/1e371f6d/attachment.html>