[asterisk-users] Account code PJSIP

John T. Bittner john at xaccel.net
Tue Apr 30 23:15:23 CDT 2019


Does anyone know how to set accountcode into the asterisk CDR when using PJSIP?

I have tried Set(CHANNEL(accountcode)=XXXXXX) and a few other older ways... nothing works.

If I add accountcode into the pjsip endpoint config it works... but I need to set it via dialplan.

Any help is much appreciated.

Testing on asterisk 16.3.0

John Bittner
CTO
[xaccellogoemail]
380 US Highway 46, Suite 500
Totowa, NJ 07512
Phone: 201.806.2602 x2405
Fax:       201.806.2604
Cell:       973.390.1090
www.xaccel.net<http://www.xaccel.net/>

CONFIDENTIALITY NOTICE:
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential
and privileged information which should not be shared or forwarded. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the e-mail.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190501/a7941695/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 4300 bytes
Desc: image001.png
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20190501/a7941695/attachment.png>


More information about the asterisk-users mailing list