Doug Lytle
2021-Jan-04 17:44 UTC
[asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.
>>> 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
thelma at sys-concept.com
2021-Jan-04 18:35 UTC
[asterisk-users] ast_app_exec_macro: Cannot run 'Macro(atb)'. The application is not available.
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})) > > DougThis 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.