[Asterisk-Users] Caller ID Matching in extensions.conf
Kevin Collins
kcollins at itcc.com
Fri Jun 23 12:35:17 MST 2006
Callerid should be the second argument based on what works for me
Kevin
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Douglas
Garstang
Sent: Friday, June 23, 2006 3:28 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Caller ID Matching in extensions.conf
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)
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)
You can also see from the console output that the caller id IS 9220370.
-- Executing NoOp("SIP/9220370-7a11", "9220370") in new stack
-- Executing Answer("SIP/9220370-7a11", "") in new stack
-- Executing Playback("SIP/9220370-7a11", "tt-weasels") in new stack
-- Playing 'tt-weasels' (language 'en')
What am I missing here?
Oh, this also doesn't match EVER... so I am wondering if there's a problem
with dialplan caller id matching in 1.2.9.1?
exten => _X./1234,1,NoOp(${CALLERIDNUM}) exten => _X./1234,2,Answer exten =>
_x./1234,3,Playback(tt-weasels)
Doug.
_______________________________________________
--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
More information about the asterisk-users
mailing list