IAX2 Channel Name incoming

When I have an incomming call via IAX2, the channel name applied by asterisk has a colon in it. This breaks an IF statement in macro-user-callerid. Is this configurable and if so where?

Here’s a section of the debug log FYI

[2021-10-23 16:45:40] e[1;32mDEBUGe[0m[29299][C-00000004]: e[1;37mchannel.ce[0m:e[1;37m951e[0m e[1;37m__ast_channel_alloc_ape[0m: Channel 0x7f83d0000e70 'IAX2/77.240.61.175:4569-2038' allocated

Event: Newchannel
Privilege: call,all
Channel: IAX2/77.240.61.175:4569-2038
ChannelState: 4
ChannelStateDesc: Ring

In the meantime I’ve created an override for macro-user-callerid that solves the issue but it would be nice to fix it within FreePBX.

See https://community.asterisk.org/t/if-dialplan-behaviour-macro-user-callerid/90325 for the background to this.

OP: Please note that this is not the issue tracker. The issue tracker is https://issues.freepbx.org/

Ok, in the absence of any reply I’ve gone ahead and modified

/var/www/html/admin/modules/core/Dialplan/macroUserCallerid.php

To remove the offending line. This solves the issue for me and hopefully points anyone else having the same issue to a resolution that doesn’t involve dialplan overrides. This will still get overwritten with a module update but since those are done manually when needed, for me this is a fair solution.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.