But how do you turn on the debugging from the dialplan? What would be cool is:
same => n,TURN ON DEBUGGING On Fri, Feb 17, 2017 at 5:09 PM, Victor Villarreal <[email protected]> wrote: > Hi Derek, > > SIP debug can be enabled via Asterisk CLI (console) with the command: > > asterisk> sip set debug on > > If you know via what trunk your call goes, you can use the following > command instead: > > asterisk> sip set debug ip xxx.xxx.xxx.xxx > > Where the xxx is the IP of your trunk (voip to pstn provider). > > Affter you make all your test, simply issue: > > asterisk> sip set debug off > > And all the SIP conversation are saved in your full log file. > > More info here: > > https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information > > If what you want is test your dialplan, simply use the command: > > asterisk> dialplan show xxx@your_context > > Where xxx is the number you want to dial, from the context asigned to your > extension. > > Cheers > > > El 17/2/2017 19:44, "Derek Andrew" <[email protected]> escribió: > >> I have some troublesome numbers that I would like to capture the SIP >> dialogue when I am calling them. When I am about to dial the number, is >> there any way to turn on SIP debugging in the dial plan before I make the >> call? (and turn it off after the call is completed?) >> >> >> >> >> -- >> _____________________________________________________________________ >> -- 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 >> > -- Copyright 2017 Derek Andrew (excluding quotations) +1 306 966 4808 Communication and Network Services Information and Communications Technology Infrastructure Services *University of Saskatchewan*Peterson 120; 54 Innovation Boulevard Saskatoon,Saskatchewan,Canada. S7N 2V3 Timezone GMT-6 Typed but not read.
-- _____________________________________________________________________ -- 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
