> The simplest way to do this is to use a different prefix for dialling out.
> For example, if they dial out with a prefix of 9, use the shared number, and
> if they dial out with a prefix of 8, use the private number.
>
>
Took the words right out of my mouth.
Basically if you have something like this:
exten => 1NXXNXXXXXX,1,Dial(outgoingtrunk/${EXTEN})
Add something like this:
exten => 91NXXNXXXXXX,1,Set(CALLERID(number)=sharedoutgoingnumber)
exten => 91NXXNXXXXXX,2,Dial(outgoingtrunk/${EXTEN})
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users