Account Code PJSIP

Home » Asterisk Users » Account Code PJSIP
Asterisk Users 1 Comment

–_000_EFCDF2C6785A7B478B3A77A6E7C3636901ED0D9C3Bmailxaccelnet_
Content-Type: text/plain; charset=”us-ascii”
Content-Transfer-Encoding: quoted-printable

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

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.

–_000_EFCDF2C6785A7B478B3A77A6E7C3636901ED0D9C3Bmailxaccelnet_
Content-Type: text/html; charset=”us-ascii”
Content-Transfer-Encoding: quoted-printable