Caller gets no ringtone

I am using asterisk@home and on none of my two inbound DID routes does the caller hear a ringing tone. Where is that controlled from?

Try this in extensions.conf

exten => s,1,Ringing
exten => s,2,Dial(some phone)

I have moved it around all over the place and it does now ring, but only once. Please advise.


;give external sip users congestion and hangup
;exten => _.,1,AbsoluteTimeout(15)
;exten => _.,2,Congestion
;exten => _.,3,Hangup

exten => _.,1,Wait(1)
exten => _.,2,Goto(from-pstn,s,1,)

exten => s,1,Ringing
exten => s,2,Dial(some phone)

You’ll need to Answer() the call in there somewhere - before you do the Ringing() .

I have been trying and trying. Reading all I can, but there must be something wrong somewhere.

If I do this I get 1 ring, then it stops, but the extensions ring fine, and it goes to voicemail, etc.


;give external sip users congestion and hangup
;exten => _.,1,AbsoluteTimeout(15)
;exten => _.,2,Congestion
;exten => _.,3,Hangup

exten => s,1,Ringing
exten => s,2,Wait(2)
exten => s,3,Goto(from-pstn,s,1,)



;give external sip users congestion and hangup
;exten => _.,1,AbsoluteTimeout(15)
;exten => _.,2,Congestion
;exten => _.,3,Hangup

exten => s,1,Ringing
exten => s,2,Wait(2)
exten => s,3,Dial(SIP/2003)
;exten => s,3,Goto(from-pstn,s,1,)

IF I Answer() the call, I still only hear 1 ring.

Does this belong here at all. I have tried to ring in the [ext-did] context to no avail:

include => ext-did-custom
exten => 02303129031,1,SetVar(FROM_DID=02303129031) ;
exten => 02303129031,2,Goto(ext-group,1,1) ;
exten => 3033091099,1,SetVar(FROM_DID=3033091099) ;
exten => 3033091099,2,Goto(ext-group,1,1) ;
exten => 679566,1,SetVar(FROM_DID=679566) ;
exten => 679566,2,Goto(ext-group,1,1) ;

I have tried using the “r” option, which also does not work. What am I doing wrong?

MY (from-pstn):

include => from-pstn-custom ; create this context in extensions_custom.conf to include customizations
include => ext-did
include => from-pstn-timecheck ; this has to be included otherwise it overrides ext-did

and MY (ext-group)
include => ext-group-custom
exten => 1,1,Macro(rg-group,10,2001-2002-2003) ;
exten => 1,2,Goto(aa_1,s,1) ;

and (aa_1) which AAH put there.

include => aa_1-custom
exten => 1,1,Macro(vm,2000) ;
exten => fax,1,Goto(ext-fax,in_fax,1) ;
exten => h,1,Hangup() ;
exten => i,1,Playback(invalid) ;
exten => i,2,Goto(s,7) ;
include => ext-local
include => app-messagecenter
include => app-directory
exten => s,1,GotoIf($[${DIALSTATUS} = ANSWER]?4) ;
exten => s,2,Answer() ;
exten => s,3,Wait(1) ;
exten => s,4,SetVar(DIR-CONTEXT=default) ;
exten => s,5,DigitTimeout(3) ; test
exten => s,6,ResponseTimeout(7) ;
exten => s,7,Background(custom/aa_1) ;


To be honest, mate, i can’t work out what you’re trying to do. It’s too hard reading through the dialplan and trying to work out what it’s all about. Can you just explain simply what you’re actually trying to do in that diaplan?

In particular, what the AbsoluteTimeout() bit is about and what you are hoping to achieve with the ‘s’ extension.