[asterisk-users] Realtime fullcontact field contains nat device private ip

JR Richardson jmr.richardson at gmail.com
Sun Dec 3 13:04:04 MST 2006


Hi All,

Has anyone else noticed that when a sip phone sitting behind a nat
registers to asterisk using realtime database, the private IP of the
phone is put into the fullcontact field instead of the public contact
IP.  The database has the correct public IP in the ipaddr field and
correct port number in the port field, which is actually what asterisk
uses to to contact the device.

This eliminates the ability to use the fullcontact URI to directly
contact the nat'ed phone.  Works great for non-nat'ed devices.

Is this by purpose or an oversight the way Realtime pulls the correct
contact info in the sip registration header from the device?

Does anyone know how to correct this behavior?  It is the same with
nat=yes or nat=no.

Thanks.

JR

-- 
JR Richardson
Engineering for the Masses


More information about the asterisk-users mailing list