Use a separate context for the outbound calls for that customer, check the caller ID in the dialplan before completing an outbound call using a PATTERN MATCH, and IF the pattern does not match the pattern of the customers numbers GOTO a step that sets the caller ID to the customers main phone number, then resume (GOTO) where you left off in the dialplan.
Advise your customer that the caller ID they transmit must match known numbers or it will be changed by * before the call is completed. Make sure your terms of service agreement explains this carefully because it is not typical, with a lot of commercial PRIs you can set your caller ID to anything you wish. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Thursday, December 30, 2004 8:11 AM > To: [email protected] > Subject: [Asterisk-Users] callerid > > > Hi all, > > I was wondering how the easiest way to restrict the users > ability to set caller ID would be ? > > I have some users that uses IAX to connect with me. multiple > numers via iax. > > on outgoing calls I would like the user to only be able to > set his "range" of numbers on the outgoing calls. > > Is there an easy way to do this ? > > /Mike > > _______________________________________________ > Asterisk-Users mailing list > [email protected] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
