[asterisk-users] Rookie / sip and extensions

Olle E. Johansson oej at edvina.net
Tue Jul 10 03:25:51 CDT 2012


7 jul 2012 kl. 21:07 skrev Mikhail Lischuk:

> Thomas Perron писал 07.07.2012 21:48:
> 
>> exten => s,n,Dial(SIP/16175551212)
>> 
>> 
>> sip.conf
>> [general]
>> ;register => 125010155:funnytiger at sip3.voipvoip.com/125010155
>> register => 125010155 at sip3.voipvoip.com:funnytiger at 69.90.209.11
>> ;
>> [incoming]
>> username=125010155
>> 
> I dont know what you are trying to do, but:
> 
> 1) Peer doesn't have to be the same name as context. Change [incoming] in sip.conf to something like [voipvip] - it will be easier later when you have more peers.
> 
> 2) What is 16175551212 ? You don't have such peer in sip.conf. If it's a number, Dial should be SIP/peer/number, for example SIP/voipvip/617 or whatever you want to dial
> 
> 3) If you've posted your real password here - I strongly suggest you change it right now


Please note that the account name is the name within square brackets. 
The username= option (now renamed to defaultuser= ) is a very different thing, and NOT the username of the account.

/O


More information about the asterisk-users mailing list