[asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.

thelma at sys-concept.com thelma at sys-concept.com
Mon Jan 4 12:35:34 CST 2021


On 1/4/21 10:44 AM, Doug Lytle wrote:
> 
>>>> How do you enable the phone speaker on the Gosub?
> 
>>>> I had:
>>>> Dial(SIP/718xxxxxxxxx at pstn-5665,20,m(default)M(atb))
> 
> You can provide variables to your gosub routine, for an example
> 
> Gosub(check-number-forwarding,s,1(${ARG1}))
> 
> Doug

This one work (but no dialing numbers on phone speeker)
Dial(SIP/718xxxxxxxxx at pstn-5665,20,U(atb-sub))

This one doesn't work:
Gosub(check-number-forwarding,Dial(SIP/718xxxxxxxxxxpstn-5665,20,U(atb-sub))

Is ARG1 = atb-sub ?

Thanks for your help. 



More information about the asterisk-users mailing list