jan.sarin@securia.se
2007-Mar-29 03:09 UTC
[asterisk-users] Set(CALLERID(all) not working with 'unknown' call?
Hi, This is really strange (but probably simple solution). The CALLERID(all) setting doesn't seem to work when the incomming callerid is 'unknown'. Dialplan looks like this: exten => _3072,1,Answer exten => _3072,n,Set(CALLERID(all)=DIRECT <0850553072>) exten => _3072,n,Dial(SIP/2001&SIP/2002&SIP/2003&SIP/2004&SIP/2201&SIP/2202&SIP/2 203&SIP/2205,30,r) exten => _3072,n,Wait(1) exten => _3072,n,Goto(custom-incoming-3070,1,1) exten => _3072,n,Hangup() Now, it works if the incomming caller id is NOT 'unknown'. Does anyone understand why? We're running Asterisk 1.2.7. Thanks! Regards, Jan
Christoph Fürstaller
2007-Mar-29 06:28 UTC
[asterisk-users] Set(CALLERID(all) not working with 'unknown' call?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jan, Is this call from PSTN? Probably the Nr is prohibited in PSTN, then asterisk doesn't set the CALLERID. Try this: exten => _3072,1,Answer exten => _3072,n,SetCallerPres(allowed) exten => _3072,n,Set(CALLERID(all)=DIRECT <0850553072>) Look here: http://www.voip-info.org/wiki-Asterisk%20cmd%20SetCallerPres chris... jan.sarin@securia.se schrieb:> Hi, > > This is really strange (but probably simple solution). > > The CALLERID(all) setting doesn't seem to work when the incomming > callerid is 'unknown'. > > Dialplan looks like this: > exten => _3072,1,Answer > exten => _3072,n,Set(CALLERID(all)=DIRECT <0850553072>) > exten => > _3072,n,Dial(SIP/2001&SIP/2002&SIP/2003&SIP/2004&SIP/2201&SIP/2202&SIP/2 > 203&SIP/2205,30,r) > exten => _3072,n,Wait(1) > exten => _3072,n,Goto(custom-incoming-3070,1,1) > exten => _3072,n,Hangup() > > Now, it works if the incomming caller id is NOT 'unknown'. Does anyone > understand why? We're running Asterisk 1.2.7. > > Thanks! > > Regards, > Jan > _______________________________________________ > --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- -- Dipl.-Ing. Kurt Krenn - IT-Beratung Franz-Josef-Strasse 33/4/43, 5020 Salzburg Tel: +43 662 879512 Fax: +43 662 875960 IP-Tel: +43 780 kkrenn (557366) Email: c.fuerstaller@kurtkrenn.com sip: c.fuerstaller@kurtkrenn.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGC78gR0exH8dhr/YRAqf+AJsHuGgk1Ei6czT7+Q08I4wZ1F4DzACfe8V0 Y841CYDBAn518nnYMCbFC1E=+l5m -----END PGP SIGNATURE-----