Sorry mate...
This was a layer 8 problem.
Mental note: Asterisk uses ; for comments and SER uses #. ;)
Cheers,
Chris.
-----Original Message-----
From: Andrei Pelinescu-Onciul [mailto:andrei@iptel.org]
Sent: 31 August 2005 14:32
To: Chris Roberts
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] forward breaks URI rewrite?
On Aug 29, 2005 at 17:02, Chris Roberts <croberts(a)bongle.co.uk> wrote:
Heya,
This might be an obvious answer, but when I forward a packet to another
box
using the forward() method, this seems to break
the URI?
rewriteuri("sip:test@test.co.uk");
forward(x.x.x.x, 5060);
Now on my asterisk box and looking at ngrep, the test(a)test.co.uk has
disappeared, and asterisk takes the SIPDOMAIN as 'x.x.x.x', rather than
'test.com'.
The message should have the rewritten uri: sip:test@test.co.uk.
Is this the desired behaviour? Is there a way to do what I want to do? I
need to be able to pick out the original SIPDOMAIN in asterisk even
after
the packet has been forwarded by SER. People seem
to have talked about
doing
this, but I'm not sure how I can forward it
without obliterating the
URI.
Could you send some network dumps and the config (maybe you are
rewriting the uri to x.x.x.x in some other place)?
Andrei
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/85 - Release Date: 30/08/2005
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/85 - Release Date: 30/08/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.18/86 - Release Date: 31/08/2005