SetCallerPres Command Gone
The AGI debug command worked well, and I found the offending command:
SetCallerPres(allowed)
That worked in Asterisk 13, but from my google searching it looks like this command has disappeared in Asterisk 20 (actually everything after ver 13). I thought it was replaced with CALLERPRES(allowed) but this generated an error too in Asterisk 20.
Is there a replacement command?
—–Original Message—–
From: Eric Wieling [mailto:ewieling@nyigc.com]
Sent: Saturday, July 1, 2023 1:02 AM
To: Asterisk Users Mailing List – Non-Commercial Discussion
You have to read stdin to accept the data Asterisk sends when the AGI
starts before you can send any AGI commands to Asterisk. Also, “agi set debug on”.
—
http://help.nyigc.net/
—
2 thoughts on - SetCallerPres Command Gone
I should have included the debug output:
—–Original Message—–
From: asterisk-users [mailto:asterisk-users-bounces@lists.digium.com] —
http://help.nyigc.net/
—
From UPGRADE.txt¹:
The CALLERPRES() dialplan function is deprecated in favor of CALLERID(num-pres) and CALLERID(name-pres).
Kind regards, Sean
1. https://github.com/asterisk/asterisk/blob/b2cdb530dd0619eff9c45271155fa5aedcc0c855/UPGRADE.txt#L1827-L1828
—