[Asterisk-Users] defaultip= in sip.conf doesnt work?

John Laur johnl at blurbco.com
Fri Jun 27 14:48:48 MST 2003


I have several (various brand) sip devices with static IP's.

I understand that asterisk will not accept a registration from these
devices if the host= parameter is not set to 'dynamic' in sip.conf.

I want calls to these extensions to be routable even before the device
registers. I understand that is what defaultip= is supposed to do, but
it doesn't work. I get a busy tone when dialing the extension until the
phone reregisters. Here is what the entry looks like for a Cisco7960:

[cisco]
type=friend
username=cisco
secret=supersecret
host=dynamic
defaultip=192.168.0.55
canreinvite=no                  ; Cisco poops on reinvite sometimes
qualify=200                     ; Qualify peer is no more than 200ms
away
context=local
callerid="Cisco Phone" <2010>
mailbox=2010

Of course, if I set the host= parameter to the phone's IP and set the
phone not to register, everything works also, but the icons on the phone
indicate that it is not registered. Is there any way around this?

John




More information about the asterisk-users mailing list