[asterisk-users] Rookie / sip and extensions
Warren Selby
wcselby at selbytech.com
Sat Jul 7 20:09:50 CDT 2012
On Sat, Jul 7, 2012 at 1:48 PM, Thomas Perron <thomas.perron at gmail.com>wrote:
> extensions.conf
> [globals]
>
> ;
> ;
> [incoming]
> ;
> ;exten=> s,1,Goto(125010155_incoming)
> ;
> ;[125010155_incoming]
> exten => s,1,Answer
> 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
> type=peer
> secret=funnytiger
> nat=auto
> insecure=invite,port
> host=69.90.209.11
> fromdomain=69.90.209.11
> dtmfmode=rfc2833
> context=incoming
> allow=g729
> allow=ulaw
> allow=alaw
> allow=ilbc
> srvlookup=yes
>
If these are actual copy / pastes from your extensions.conf and sip.conf
files, with just passwords changed, your issue probably comes from your
over abundant use of semi-colons (";") at the start of several lines. The
semi-colon indicates a comment line to the asterisk parser, and thus isn't
parsed. Your only exten => line in your [incoming] context is commented
out, as is the name of your [125010155_incoming] context, and your first
register statement.
Set the CLI verbosity to 6 (core set verbose 6) and then try to dial in
again, and paste the failed output as a response to this email, and we can
diagnose from there.
--
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com <http://www.selbytech.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120707/994da865/attachment.htm>
More information about the asterisk-users
mailing list