[asterisk-users] Sip-Client / type=peer / Why can this client place calls?

Thorsten Göllner tg at ovm-group.com
Tue Sep 3 07:11:54 CDT 2013


Hi,

I am using Asterisk 11.5.1. As far as I understood, the following 
configuration allows a sip client only to receive calls (type=peer) but 
not to place calls 
(http://www.voip-info.org/wiki/view/Asterisk+sip+type). Why can I place 
calls though with this config?

sip.conf
...
[thorsten]
type=peer
host=dynamic
context=my_context
nat=force_rport,comedia
secret=...
dtmfmode=rfc2833
disallow=all
allow=g722
allow=g729
allow=g729
...

extensions.conf
...
[my_context]
exten => _X.,1,Dial(DAHDI/g1/${EXTEN},60)
...

Of course: when removing a valid context the client can not place the 
call. But I thought this behaviour can be controlled via "type=peer"?!

Thanks in advance
-Thorsten-





More information about the asterisk-users mailing list