[Asterisk-Users] New to asterisk {cisco's won't ring}

Nik Martin nmartin at radiancetech.com
Fri Jun 18 14:57:01 MST 2004


Jeremy Kenney wrote:
> I am new to asterisk I just downloaded it I setup some extensions I
> can't seem to get them to ring I can get my ata 186 to register but
> having problems with getting the phones to ring when I dial an
> extention   
> 
> Extentions.conf
> 
> [dstech4]
> exten=>104,1,Answer
> exten=>104,3,Goto(dstech4,104)
> 
> [dstech3]
> exten=>103,1,Answer
> exten=>103,2,Goto(dstech3,104)
> 
 
This looks like you are putting asterisk in a loop in your dial plan.  If
you are using SIP, I'd expect to see something like:

[outgoing]

{Whatever outbound dialing rules you might need here}

Include=>default

[default]

Exten => 104,1,Dial(SIP/dstech4),20)
Exten => 104,2,Congestion

Exten => 103,1,Dial(SIP/dstech3),20)
Exten => 104,2,Congestion

sip.conf

[dstech3]
type=friend
username=dstech3
secret=mypassword
qualify=200                     ; Qualify peer is no more than 200ms away
;nat=yes                                ; This phone may be natted
host=dynamic
canreinvite=no
Context=outgoing <--- you need to put the phone in a context

These are simplified examples you'd want to enhance them with voicemail,
etc, but start here to at least get th ephones to ring and communicate.




More information about the asterisk-users mailing list