Site-to-site via IAX - wrong CallerID

Configuration: FreePBX connected via IAX2 to FreePBX
Calls from FreePBX to FreePBX come with correct CID
Calls from FreePBX to FreePBX 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
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

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