jan.sarin@securia.se
2007-Mar-29 07:07 UTC
SV: [asterisk-users] Set(CALLERID(all) not working with 'unknown'call?
Hi Chris, Yes the call was from PSTN and your solution worked great! I've read about SetCallerPres earlier but I didn't connect the dots this time. Thanks alot! :) Regards, Jan -----Ursprungligt meddelande----- Fr?n: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] F?r Christoph F?rstaller Skickat: den 29 mars 2007 15:29 Till: Asterisk Users Mailing List - Non-Commercial Discussion ?mne: Re: [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----- _______________________________________________ --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