Jay Ray
2009-Feb-20 07:02 UTC
[asterisk-users] SIP Proxy behind NAT talkinf to ASterisk with public IP
Setup is: Asterisk --->NAT--> SIP Proxy I have following entry for SIP Proxy in sip.conf [Proxy] type=peer host=Static IP (NAT Firewalls public IP) username=xxxx secret=xxxxx nat=yes???????????????? canreinvite=no???????? qualify=yes Proxy sends a call and I get this error Found no matching peer or user for <NAT's Public IP:70001 NAT is using 70001 as the source port in the INVITE message and it keeps changing per call. Can I set a wildcard for the port in Asterisk so it accepts calls from SIP PRoxy behind NAT even though it is using source port of 70001??? tried port=* for the peer...NO LUCK.... ANy ideas would be welcome.. Thx, Ujjval. -------------- next part -------------- An HTML attachment was scrubbed... URL: lists.digium.com/pipermail/asterisk-users/attachments/20090219/7ed1bb2a/attachment.htm
Stefan Schmidt
2009-Feb-20 08:03 UTC
[asterisk-users] SIP Proxy behind NAT talkinf to ASterisk with public IP
Jay Ray schrieb:> Setup is: > Asterisk --->NAT--> SIP Proxy > > I have following entry for SIP Proxy in sip.conf > > [Proxy] > > type=peer > host=Static IP (NAT Firewalls public IP) > username=xxxx > secret=xxxxx > nat=yes > canreinvite=no > qualify=yes > > Proxy sends a call and I get this error > > Found no matching peer or user for <NAT's Public IP:70001 > > NAT is using 70001 as the source port in the INVITE message and it > keeps changing per call. > > Can I set a wildcard for the port in Asterisk so it accepts calls from > SIP PRoxy behind NAT even though it is using source port of 70001??? > tried port=* for the peer...NO LUCK.... > > ANy ideas would be welcome.. > > Thx, > Ujjval. > > >I think that your Nat Router do something very strange here. Nat could only be from Port 0 to 65534 so it could not work with this port, cause its impossible not because its especially the port 70001. best regards steve smith -- F?r weitere Fragen stehen wir gerne unter voip at sil.at oder 059944 - 2440 zur Verf?gung. Mit freundlichen Gr?ssen -- Stefan Schmidt Sysadmin/VOIP // sst at sil.at // Tel 059944-2440// ------------------------------------------------- SILVER SERVER GmbH // Lorenz-Mandl-Gasse 33/1 // A-1160 Wien // Fax 059944-9000 // sil.at // -------------------------------------------------