Hi all,
We have an Asterisk server sending INVITEs via OpenSIPS with a Contact:
sip:1234@123.456.789.012 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
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
On 31 March 2011 12:11, David Cunningham dcunning...@voisonics.com wrote:
The problem is that the destination phone is showing the call with the
Asterisk IP address in it's history, and so if the user chooses to place a
return call to that address (eg returning a missed call) it goes directly
Thanks for the suggestion. It looks like textops should be able to do
something similar, but my subst isn't actually having any effect on the
packet sent out. For example if I have:
if( subst('/Foo/Bar/ig') ) {
xlog( Done );
}
Then I get Done logged, but no change in the output packet and
On 1 April 2011 00:25, David Cunningham dcunning...@voisonics.com wrote:
Then I get Done logged, but no change in the output packet and Foo is
still mentioned. Can anyone help?
Are you sure you're doing it on the right packet, before you send it out, etc.?
Also, to change From headers you