Hi, I guess that what you want is that the endpoint receiving the INVITE sends the 200 OK reply and the subsequent in-dialog messages to OpenSIPs For the first point you need to do nothing as the reply should be sent to the address in the topmost Via header (in this case OpenSIPs' address). For the second, call record_route() in OpenSIPs script before sending out the INVITE. The endpoint will then send in-dialog messages (BYE, re-INVITE) to OpenSIPs. Hope thsi can help you.
Regards, Federico 2011/3/31 David Cunningham <[email protected]>: > Hi all, > > We have an Asterisk server sending INVITEs via OpenSIPS with a "Contact: > <sip:[email protected]>" header where 123.456.789.012 is the Asterisk > server IP. I want the INVITE's Contact as it leaves OpenSIPS to say the > OpenSIPS IP address instead. > > How can I do this? From my understanding of the docs, this is the opposite > of fix_nated_contact. > > Thanks for any advice. > > -- > David Cunningham, Voisonics > http://voisonics.com/ > US toll-free: +1 888 842 2720 > UK: +44 (0) 20 3298 1642 > Australia: +61 (0) 2 8063 9019 > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
