[asterisk-users] Re: anti ex-girlfriend
Steve Murphy
murf at parsetree.com
Tue Oct 31 19:13:02 MST 2006
On Mon, 2006-10-30 at 02:28 -0800, Pezhman Lali <pezhman_lali at 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 at 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 at 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
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
-------------- 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
More information about the asterisk-users
mailing list