[Asterisk-Users] Manipulate CALLERIDNUM

Chad Brown chad.brown at identitymine.com
Tue Aug 30 23:48:14 MST 2005


Can someone tell me how to do this...Given the following line:

exten => *97,3,VoicemailMain(${CALLERIDNUM}@default)

Is it possible to add some logic to manipulate the CALLERIDNUM to send
back 801 even if the extension is 601 and 901 even if the extension is
701? I have 2 branch offices where users have both Office and Home SIP
phones. I want them to share a VM box. 

Branch1 = 8XX , Home = 7XX
Branch2 = 9XX, Home = 6XX

Therefore I would like to manipulate the home CALLERIDNUM in both
examples. Make sense?

Thanks in advance.



More information about the asterisk-users mailing list