[Asterisk-Users] sip call using name in sip.conf

Olle E. Johansson oej at edvina.net
Sun May 23 00:55:24 MST 2004


Randy Bush wrote:
>>>[foo]
>>>type=friend
>>
>>I do not beleive that will work for type=friend.  If you use separate
>>type=peer and type=user blocks in sip.conf it may work.  Expecially
>>if you also specify a port in the Dial().
>>
>>Else, use the hostname (or a const).
> 
> 
> hmmm.  then, how do i let it be dynamic if it has two
> blocks in sip.conf, one for inbound and one for out?
> i.e, how does it register its ip address in both?
For the user= part, there's no need to register, since we receive calls from
a user and the user authenticate for doing this.

For the peer= part, the peer registers so we can call them at the current
IP address (if host=dynamic).

/O



More information about the asterisk-users mailing list