[Asterisk-Users] realtime caller id extension matching

Matthew Simpson matthew at txlink.net
Mon Jul 25 09:41:21 MST 2005


I'm trying to copy the functionality of something like this in 
extensions.conf [extension matching on callerid]:

exten => _NXXNXXXXXX/7065557230,1,NoCDR
exten => _NXXNXXXXXX/7065557230,2,Dial(Zap/g1/${EXTEN})
exten => _NXXNXXXXXX/7065557230,3,Busy

in realtime:

| 16 | fb | _NXXNXXXXXX/7065557230 |        1 | NoCDR |                 |
| 17 | fb | _NXXNXXXXXX/7065557230 |        2 | Dial  | Zap/g1/${EXTEN} |
| 18 | fb | _NXXNXXXXXX/7065557230 |        3 | Busy  |                 |

however realtime seems to match on only the _NXXNXXXXXX, making this code 
execute on all extensions, ignoring the caller id matching.  Do I need to 
use something other than "/" to delimit the CID field ? Or is this not 
supported in realtime?

[i'm using mysql driver]

- matthew 




More information about the asterisk-users mailing list