François Delawarde
2007-Feb-01 09:15 UTC
[asterisk-users] dialplan logic based on caller ID
Hello! Is there any easy way to use the caller ID "display info" (CALLERID(name) in Asterisk) in dialplan just as we could use the number in: exten => _X./67803287, 1, <action> I have a SIP GSM device, and when a call comes in, it passes me the caller ID like so: -- Sip message Header: From: "67803287" <sip:gsm@192.168.10.1>;tag=... -- Asterisk variables: CALLERID(num) = gsm CALLERID(name) = 67803287 I would like to make a logic based on the caller id, that would also work in the case of zap devices that set variables like: CALLERID(num) = 67803287 CALLERID(name) = "" Anyone has a clue (without having to complicate things too much)? Thank you, Fran?ois.
Are there any scripts out there that would help me stress test two boxes that are setup back to back with 4 PRI connections? We're having problems with Sangoma cards w/ PCI-e on HP DL385 G2 hardware and I'm tired of "testing" them in a production environment. As Sangoma provides firmware updates (and various other shots in the dark) I'd like to be able see if the problem is fixed in an isolated environment. I just need a way to simulate call volume on 4 t1s. Thanks, Jeremy Porier Senior Director of IST Colorado Christian University jporier@ccu.edu