I’m trying to edit my dialplan so that BOTH the incoming caller’s number AND name are sent as an MQTT message. At the moment no matter whether I use CALLERID(name) or CALLERID(all), I just get the phone number, HOWEVER…Asterisk itself is well aware of the callerID name, but I think it’s set many commands AFTER the mosquitto trysystem is done.
[2020-04-29 21:37:43] VERBOSE[26210][C-0000001b] pbx.c: Executing [1@disa:9] Set("SIP/SIPGATE-00000017", "CALLERID(all)="Dave Mobile"") in new stack
Seems like we are having the same issue with different approaches… I made a post about it a few days back (Set CID unable to change/add a custom name) still haven’t got a resolution either.