[asterisk-users] Host = Dynamic in a Register Free Setup

Chad Wallace cwallace at lodgingcompany.com
Mon Feb 17 13:51:42 CST 2014

On Sun, 16 Feb 2014 21:21:30 -0500
Nick Cameo <symack at gmail.com> wrote:

> Our environment is a register free setup, and our phones are set as
> host=dynamic.
> The problem we are experiencing is for inbound calls:
> Name/username Host                        Dyn Forcerport ACL Port
> Status     Realtime
> 222/222                  (Unspecified)    D   N   A  0
> Unmonitored Cached RT
> So when we DIAL 222 we get:
> WARNING[23103]: app_dial.c:2198 dial_exec_full: Unable to create
> channel of type 'SIP' (cause 20 - Unknown)
> My question is how can we get Asterisk to fill in the gaps (ie,
> ipaddr, port) for a dynamic
> peer in a register free environment.

There are two ways for Asterisk to get the IP address for a peer:
1. Provide the address statically with host=<address> entries.
2. Allow the peer to register.

I don't believe there is any other way for Asterisk to get the IP

What this means is, you can have a register-free environment or you
can have host=dynamic, but you can't have both.


C. Chad Wallace, B.Sc.
The Lodging Company
OpenPGP Public Key ID: 0x262208A0

More information about the asterisk-users mailing list