Hi, 

I having a problem with my asterisk, it is overwriting the Proxy Via
header with its own ip address and answering to the Proxy with the
modified header, so the Proxy is having problems to route the response.
I've tried with different versions of asterisk and nothing is changing,
and if I try in other Server all works perfect, the problem is related
with this particular server running over "Linux dit_rs_poa_mtz_gw1.local
2.6.18 #1 SMP PREEMPT Fri Sep 22 10:43:25 BRT 2006 i686 i686 i386
GNU/Linux"

The scenary is like this:

IPPhone-----------Proxy1--------------Asterisk

Invite sent by the IPPhone

INVITE sip:[EMAIL PROTECTED] SIP/2.0
Via: SIP/2.0/UDP 192.168.1.100:22149;branch=z9hG4bK554e149351ab7a3b
From: "teste" <sip:[EMAIL PROTECTED]>;tag=d772c33c63ebf84c
To: <sip:[EMAIL PROTECTED]>
Contact: <sip:[EMAIL PROTECTED]:22149>
Supported: replaces
Proxy-Authorization: Digest username="5551125", realm="200.X.X.136",
algorithm=MD5, uri="sip:[EMAIL PROTECTED]", qop=auth, nc=00000001,
cnonce="eed75407c0d78607", opaque="4c4f15e2744c43bb0790c60a78c00552",
nonce="453778dd3e3c605897e1efdeb823fc53122bc50c",
response="67cab99628290773609250e828628f14"
Call-ID: [EMAIL PROTECTED]
CSeq: 63837 INVITE
User-Agent: Grandstream BT110 1.0.8.23
Max-Forwards: 70
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE
Content-Type: application/sdp
Content-Length: 388


Invite sent by the Proxy to *

INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0
Contact: <sip:[EMAIL PROTECTED]:50386>
CSeq: 63837 INVITE
From: "teste" <sip:[EMAIL PROTECTED]:5060>;tag=d772c33c63ebf84c
Proxy-Authorization: digest username="5551125", realm="200.X.X.136",
nonce="453778dd3e3c605897e1efdeb823fc53122bc50c",
cnonce="eed75407c0d78607", response="67cab99628290773609250e828628f14",
uri="sip:[EMAIL PROTECTED]",
opaque="4c4f15e2744c43bb0790c60a78c00552", qop="auth", nc=00000001,
algorithm=MD5
To: <sip:[EMAIL PROTECTED]:5060>
Via: SIP/2.0/UDP 200.X.X.136:5060;branch=z9hG4bKbced0281e38aa078
Via: SIP/2.0/UDP
192.168.1.100:22149;branch=z9hG4bK554e149351ab7a3b;received=201.X.X.212;
rport=50386
Record-Route: <sip:200.X.X.136:5060>
Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE
User-Agent: Grandstream BT110 1.0.8.23
Call-Id: [EMAIL PROTECTED]
Max-Forwards: 70
Content-Length: 389
supported: replaces
content-type: application/sdp

Trying sent by Asterisk with via modified

SIP/2.0 100 Trying
v: SIP/2.0/UDP
200.X.X.131:5060;branch=z9hG4bKbced0281e38aa078;received=200.X.X.136
v: SIP/2.0/UDP
192.168.1.100:22149;branch=z9hG4bK554e149351ab7a3b;received=201.X.X.212;
rport=50386
f: "teste" <sip:[EMAIL PROTECTED]:5060>;tag=d772c33c63ebf84c
t: <sip:[EMAIL PROTECTED]:5060>
i: [EMAIL PROTECTED]
CSeq: 63837 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
m: <sip:[EMAIL PROTECTED]>
l: 0


Could someone please tell me why asterisk is replacing proxy ip address
with its own ip address in the last one via header ?? How can I solve it
?

Regards,
Fernando
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to