[asterisk-users] Turn on SIP debugging from DialPlan
Victor Villarreal
mefhigoseth at gmail.com
Fri Feb 17 17:09:17 CST 2017
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 at 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" <Derek.Andrew at usask.ca> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170217/39414784/attachment.html>
More information about the asterisk-users
mailing list