[OpenSIPS-Users] opensips caller id

Tom Wish tomwish at gmail.com
Tue Aug 30 01:21:57 CEST 2011


I have a currently working and routing opensips-1.7 with 
opensip-cp-4.0.  I have been tasked with adding the ability to change 
caller id based on the prefix of a call.

I have found the code in opensips.cfg of

  # Set the callerid for the user from an AVP
           if (avp_db_load("$from/username", "s:callerid")) {
                 subst('/^From: (.*)>(.*)$/From: $avp(callerid)>\2/ig');

I would like to use the opensips control panel to update the database.

My question is,
what paramaters do I need to load.

What part of the opensips-cp would control this.

What do I need to load to opensips.cfg to enable this feature.

If needed I can put up a link to my current opensips.cfg

Any help would be greatly appreciated.


More information about the Users mailing list