[Asterisk-Users] Caller ID Matching in extensions.conf

Douglas Garstang dgarstang at oneeighty.com
Fri Jun 23 12:28:08 MST 2006


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.






More information about the asterisk-users mailing list