11 July 2012

Setting CallerID in Asterisk and A2Billing


Configuring Asterisk to set CallerID

This can be done easily by inserting the following code in your sip.conf:

exten => _X.,1,Set(CALLERID(num)=+32484212093)

Doing this will set the CallerID to +32484212093

If you want to set the callerID to Private simply erase it by doing:

exten => _X.,1,SET(CALLERID(name)=anonymous)


exten => _X.,2,SET(CALLERID(num)=anonymous)

Attention:

Invalid CallerID's will be automatically set to Private by the terminating carrier.

No comments:

Post a Comment