* You are viewing Posts Tagged ‘callerid’

Blocking Spammer By CallerID “name”

I have a subroutine to block spammer by CALLERID(number)

exten => 4,1,GotoIf(${BLACKLIST()}?blacklisted,s,1)
exten => 4,n,Set(goaway=${CALLERID(number):0:2})
exten => 4,n,GotoIf($["${goaway}" = "V4" ]?blacklisted,s,1)
exten => 4,n,GotoIf($["${goaway}" = "V3" ]?blacklisted,s,1)

but I just got another spammer (automated calls) who rotates his callerID number that starts with valid area code so blocking by prefix is not practical but it seems to me he uses the same (or few same) caller name like:

“Brit. Columbia “” <16047726633>”
“KHAN SHARON “” <16042984429>”
“Brit. Columbia “” <16042231781>“

So I was thinking the same subroutine can be used to block by CALLERID(name), isn’t it:

exten => 4,n,Set(goaway2=${CALLERID(name):0:11})
exten => 4,n,GotoIf($["${goaway2}" = "Brit. Colum" ]?blacklisted,s,1)
exten => 4,n,GotoIf($["${goaway2}" = "KHAN SHARON" ]?blacklisted,s,1)

The spammer is soliciting lowering credit card interest charges etc. anybody know who it is :-/

Set Google Voice Callerid As Unknown/Unavailable ?

I know you that GV won’t respect CALLERID from motif, but is there a way have GV show Unknown on outgoing calls. I don’t want to have people think my GV number is really my number.

sean

Set(CALLERID(num-pres)=prohib) / AGI Version

Hi,

on this site http://www.voip-info.org/wiki/view/Asterisk+func+callerid

you can read, that since Atserisk 1.8 the command (in dialplan) to hide the caller id is:
Set(CALLERID(num-pres)=prohib)

I tried to implement it into my AGI-Script, but with no success. Can please anyone give me a hint, what is wrong with it:
Set CALLERID(num-pres) prohib or Set CALLERID(num-pres)=prohib

Both commands lead into:
510 Invalid or unknown command

Besr regards
-Thorsten-

DAHDI: How To Supress Notification Of Changing CallerID On Transfer?

Hello out there,

I’m running an Asterisk 1.8.15-cert1 with DAHDI. Today I noticed that Asterisk is signalling to the calling party the current internal CallerID whenever I put a call to another internal phone.

Example:

Customer calls 020212345-555
-> IVR answers and puts caller to the chosen queue
-> Someone picks up the phone (Internal ext. 321)
-> CallerID shown on customers device changes to
020212345-321

Same when I park the call and pick it up on another phone.


I don’t want this to happen and can’t figure out how to disable this on DAHDI or at least the current channel. I tried “facilityenable=no” in chan_dahdi.conf, but this only supresses signalling the on hold status.

We are using a german ISDN “Anlagenanschluss” (bri_cpe) whith DDI served by the Deutsche Telekom, connected to a ISDN card which is used with DAHDI.


Is there a hidden config flag or something to disable this for DAHDI?
Or maybe a channel variable to temporarily disabling this on some channels?


THANK YOU!

Greetings from Wuppertal Max

Get CONNECTEDLINE Info From Other Asterisk System Via IAX2

I have been racking my brain attempting to get the remote CALLERID information for calls made to extensions on another Asterisk system connected via IAX2 but nothing has worked. To clarify, I would like to display the number AND name on the calling phone when calling extensions on another Asterisk system. I seem to be able to ‘send’ all the information I want to the system I am calling but cannot ‘return’ or lookup any information. I can use CALLERID and IAXVAR to ‘send’ information just fine. Is this as expected or does anyone have any ideas? I am using Digium D40s and D70s and Asterisk 1.8.11-cert10. Your help is appreciated. Thank you.

Chet Stevens

Google Talk Under Asterisk 11.0.1

I followed https://wiki.asterisk.org/wiki/display/AST/Calling+using+Googleto get incoming and outgoing using Google Voice working.

However, when calling from google talk client, I see strange behaviour
(describe below):

Here is my configuration:

motif.conf
============
[google]
context=in-google disallow=all allow=alaw allow=ulaw allow=h264
connection=google


xmpp.conf
================
[google]
type=client serverhost=talk.google.com username=mygmail@gmail.com secret=mypassword priority=1
portR22
usetls=yes usesasl=yes status=available statusmessage=”Asterisk”
timeout=5


ael dial plan
====================
context in-google
{
s =>
{
Wait(1);
Set(crazygooglecid=${CALLERID(name)});
Set(stripcrazysuffix=${CUT(crazygooglecid,@,1)});
Set(CALLERID(all)=${stripcrazysuffix});
Answer();
SendDTMF(1);
//Voicemail(${DEF_MAILBOX}@default,su);
goto in-various|ringphones|1;
hangup();
}
}


Given the above context, when someone called, it stucked at the Wait(1)
forever.
— Executing [s@in-google:1] Wait(“Motif/wk-f2e2″, “1″) in new stack

If I replaced the Wait and SendDTMF above with Dial() my local sip phone, the call is disconnected and I see the following error message.

WARNING[6789][C-0000000f]: channel.c:1304 __ast_queue_frame: Exceptionally long queue length queuing to Motif/wk-e8e6


When calling the Google Voice number, it works fine. Any thought? Thanks.