Site-to-site via IAX - wrong CallerID

Configuration: FreePBX 15.0.16.42 connected via IAX2 to FreePBX 15.0.17.55
Calls from FreePBX 15.0.17.55 to FreePBX 15.0.16.42 come with correct CID
Calls from FreePBX 15.0.16.42 to FreePBX 15.0.17.55 come with wrong CID:
Instead of extension number we get something like: 1024-1011:123, where 123 - extension number, 1024 - always constant, next 4 digits are varying every call
Looks like it was happened after update of Freepbx to version 15.0.17.55.
Where to go?

Reason was in extra line added to context [macro-user-callerid], file - extensions_additional.conf:
exten => s,n,Set(CALLERID(number)=${IF($["${CHANCONTEXT}" = "webcallback"]?${CHANEXTEN}:${CALLERID(number)})})
I’ve commented this line and all is working again as expected (until new update, of course).

1 Like