How to change caller id

I have extensions_conf in database. I need to change callerid and add prefix 48 when it length is 9, in the other situation i don’t want to modify callerid. Now it adds 48 always. How to modify appdata? Asterisk version 11.

I believe you can use phpagi for achieving this while keeping any core settings residing inside asterisk unchanged for safety measure!

Include two lines with the same priority. In one, do an “ex-girlfriend logic” match on the the 9 character ID:


and include the Set.

In the other one, don’t match the caller ID, and use a Noop.

You could also construct something using ExecIf.

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