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@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@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. -- _____________________________________________________________________ -- 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