[Asterisk-Users] Caller ID Matching in extensions.conf
Andrew Kohlsmith
akohlsmith-asterisk at benshaw.com
Fri Jun 23 12:59:02 MST 2006
On Friday 23 June 2006 15:28, Douglas Garstang wrote:
> I'm running 1.2.9.1, and I can't get caller id dialplan matching to work.
>
> When calling from 9220370 to 1234, the following does not match.
>
> exten => 9220370/1234,1,NoOp(${CALLERIDNUM})
> exten => 9220370/1234,2,Answer
> exten => 9220370/1234,3,Playback(tt-weasels)
Of course it does not match. The extension match is for 9220370. You must
*call* 9220370 *from* 1234 in order to make this match.
the format for an extension line is
exten => extension_to_match/optional_caller_id_match,priority,command
> However, when calling from 9220370 to 1234, this DOES match.
>
> exten => 1234,1,NoOp(${CALLERIDNUM})
> exten => 1234,2,Answer
> exten => 1234,3,Playback(tt-weasels)
Yes, because you are dialing '1234' and this matches the extension.
-A.
More information about the asterisk-users
mailing list