Re: [asterisk-users] Get PJSIP Endpoint Information via REST or similar API?
On Monday, January 27, 2020 10:03:27 AM CET Benoit Panizzon wrote: > Hi Gang > > To get our customers more information on how they registered I am > looking for a elegant way to get an information like the CLI command: > > pjsip show endpoint [endpoint] > > I had a got on ARI, but that basically only returns the information if > an endpoint is online or not. > > Is there a API to get similar detailed information as the cli > command? If anything else fails, you could parse the output of "asterisk -x 'pjsip show endpoint '", or send it to the customer. -- _ -- 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
[asterisk-users] Get PJSIP Endpoint Information via REST or similar API?
Hi Gang To get our customers more information on how they registered I am looking for a elegant way to get an information like the CLI command: pjsip show endpoint [endpoint] I had a got on ARI, but that basically only returns the information if an endpoint is online or not. Is there a API to get similar detailed information as the cli command? Mit freundlichen Grüssen -Benoît Panizzon- -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 PrattelnFax +41 61 826 93 01 Schweiz Web http://www.imp.ch __ -- _ -- 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
Re: [asterisk-users] Perl AGI: read variable with quotes
Hi Gang Thank you for the replies. I sorted this out. I got tricked by $AGI->verbose(Pai: $pai) which cripples the output. The variable passed on is complete. My regex to extract the phone number from that variable was broken when there was a quoted string before the URI. Mit freundlichen Grüssen -Benoît Panizzon- -- I m p r o W a r e A G-Leiter Commerce Kunden __ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 PrattelnFax +41 61 826 93 01 Schweiz Web http://www.imp.ch __ -- _ -- 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