Thorsten Göllner
2013-Sep-03 12:11 UTC
[asterisk-users] Sip-Client / type=peer / Why can this client place calls?
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-
Steve Totaro
2013-Sep-03 12:30 UTC
[asterisk-users] Sip-Client / type=peer / Why can this client place calls?
On Tue, Sep 3, 2013 at 8:11 AM, Thorsten G?llner <tg at ovm-group.com> wrote:> 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<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- > >See if this is helpful. http://www.voip-info.org/wiki/view/Asterisk+SIP+user+vs+peer -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130903/bcc7bb16/attachment.htm>