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
([email protected])
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
Check out the new Asterisk community forum at: https://community.asterisk.org/
New to Asterisk? Start here:
https://wiki.asterisk.org/wiki/display/AST/Getting+Started
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users