Hello,

 

I'm trying to use a SIP trunk service and the provider ask me to have the IP
address of the contact header as my public IP and not as my private one, how
can I do it?

 

See attached the SIP invite where a.b.c.d is the SIP server IP and x.y.z.w
is my public address:

 

sipINVITE sip:144@ a.b.c.d SIP/2.0

Via: SIP/2.0/UDP 10.100.101.107:5060;branch=z9hG4bK76d52819;rport

Max-Forwards: 70

From: "Polycom" <sip:100@ x.y.z.w>;tag=as7435100b

To: <sip:144@ a.b.c.d >

Contact: <sip:1...@10.100.101.107>

Call-ID: 08116cf06661dc091de10c1b3315d...@84.94.96.110

CSeq: 102 INVITE

User-Agent: Asterisk PBX

Date: Mon, 05 Jul 2010 15:49:31 GMT

Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO

Supported: replaces, timer

Content-Type: application/sdp

Content-Length: 292

 

v=0

o=root 1812163927 1812163927 IN IP4 10.100.101.107

s=Asterisk PBX 1.6.1.20

c=IN IP4 10.100.101.107

t=0 0

m=audio 18848 RTP/AVP 0 8 101

a=rtpmap:0 PCMU/8000

a=rtpmap:8 PCMA/8000

a=rtpmap:101 telephone-event/8000

a=fmtp:101 0-16

a=silenceSupp:off - - - -

a=ptime:20

a=sendrecv

 

 

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to