[asterisk-users] Notifying missed calls

Luca Bertoncello lucabert at lucabert.de
Wed Nov 3 15:29:46 CDT 2021


Am 03.11.2021 um 21:24 schrieb Doug Lytle:
>>>> but if the called hangs up prior the timeout for the voicemail, the
>>>> Subrouting "noanswer" will not called...
> 
> You can use the h priority for that.
> 
> https://wiki.asterisk.org/wiki/display/AST/Special+Dialplan+Extensions

Hi Doug,

could you send me an example?

I tried so:


exten => h,n(hang),Gosub(noanswer,s,1)
exten => h,n,Hangup
exten => _xxxxxx,1,Verbose(2,Call for Main - [${CALLERID(num)}])
exten => _xxxxxx,n,Set(CHANNEL(musicclass)=default)
exten => _xxxxxx,n,Dial(SIP/74,39,RcxX)
exten => _xxxxxx,n,Verbose(2,Voicemail for Main)
exten => _xxxxxx,n,Set(CALLERID(name)=)
exten => _xxxxxx,n,Gosub(noanswer,s,1)
exten => _xxxxxx,n,VoiceMail(74,us)
exten => _xxxxxx,n,Hangup

But it does not work...

Thanks
Luca Bertoncello
(lucabert at lucabert.de)



More information about the asterisk-users mailing list