On Mon, 2006-10-30 at 02:28 -0800, Pezhman Lali <[EMAIL PROTECTED]> wrote: > Hi Dear > > I want to use asterisk(1.2.7.1) as a router by caller > id. > > I have only a DID number, I want to map this number to > some ip-phones , base on received Caller-id. > it is my database's view: > > 456 | DID | 14193016880 | 2 | hangup | > | > 455 | DID | 14193016880 | 1 | Dial | > H323/[EMAIL PROTECTED]|60 | didx.org for > test by pezhman > > it's work good. > > but for routing by caller id: > 456 | DID | 14193016880/2085838 | 2 | > hangup | | > 455 | DID | 14193016880/2085838 | 1 | > Dial | H323/[EMAIL PROTECTED]|60 | > didx.org for test by pezhman > > this extension does not work , with a call from > 2085838 > > > please help me > tanx > Pezhman
Pezhman-- I see someone else has already stated that that the CID qualifier for an extension is fixed at the time the dialplan is loaded, and there is no evaluation done on the value at run time. However, this does not prevent you from writing some dialplan code to query a database, check the result, and take appropriate actions, without using the builtin matchcid feature for an extension. murf
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
