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/1169#989181310524@66.152.61.66|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/1169#989181310524@66.152.61.66|60 | didx.org for test by pezhman this extension does not work , with a call from 2085838 please help me tanx Pezhman ____________________________________________________________________________________ We have the perfect Group for you. Check out the handy changes to Yahoo! Groups (http://groups.yahoo.com)
Has far as I know, Asterisk doesn't support ex-girlfriend logic in realtime extensions so far. Regards, Ricardo. Pezhman Lali 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/1169#989181310524@66.152.61.66|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/1169#989181310524@66.152.61.66|60 | > didx.org for test by pezhman > > this extension does not work , with a call from > 2085838 > > > please help me > tanx > Pezhman > > > > > > > > > > > ____________________________________________________________________________________ > We have the perfect Group for you. Check out the handy changes to Yahoo! Groups > (http://groups.yahoo.com) > > _______________________________________________ > --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 > >
On Mon, 2006-10-30 at 02:28 -0800, Pezhman Lali <pezhman_lali@yahoo.com> 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/1169#989181310524@66.152.61.66|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/1169#989181310524@66.152.61.66|60 | > didx.org for test by pezhman > > this extension does not work , with a call from > 2085838 > > > please help me > tanx > PezhmanPezhman-- 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3239 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20061031/4005aded/smime.bin