search for: calleridnum

Displaying 20 results from an estimated 602 matches for "calleridnum".

2006 Dec 18
3
Changing CALLERIDNUM on the fly
Is what I am trying to do in this context possible. That is changing the incoming CALLERIDNUM. In this case if the incoming CALLERIDNUM is not preceeded by a "1" I want to add a "1". Often calls come in without the preceeding "1" and this plays havoc with my redial if the 3 digit area code matches a local 3 digit extension. All my outside calls are 10 digits or...
2006 Apr 24
2
CallerID/variable setting.
Hey, all. I'm trying to set my CID such that, internally, I see a four-digit extension (which is also handy when checking VM), but externally, I see the full 10-digit number. So I plugged these lines into my extensions.conf: exten => _XXXXXXX,1,GotoIf($[ ${CALLERIDNUM} != 1625]?4:2) exten => _XXXXXXX,2,Set(CALLERIDNUM=6031234${CALLERIDNUM:1}) exten => _XXXXXXX,3,NoOp(${CALLERIDNUM}) exten => _XXXXXXX,4,Dial(${OUTBOUNDTRUNK}/${EXTEN}) (I wanted to test against my own extension, "1625"; if that worked, I wanted to strip off the "1", a...
2004 Dec 17
2
voicemail without prompt
I'm trying to find a way to call voicemail without being prompted for my mailbox number. I was wondering if there was a variable for sip mailbox, or is there a way to define a variable that matches a sip's mailbox. I tried using "exten => 996,1,voicemailMain(${CALLERIDNUM})" but this only works if the mailbox matches the caller id. Any suggestions would be appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041217/fc72220d/attachment.htm
2005 Aug 30
2
Manipulate CALLERIDNUM
Can someone tell me how to do this...Given the following line: exten => *97,3,VoicemailMain(${CALLERIDNUM}@default) Is it possible to add some logic to manipulate the CALLERIDNUM to send back 801 even if the extension is 601 and 901 even if the extension is 701? I have 2 branch offices where users have both Office and Home SIP phones. I want them to share a VM box. Branch1 = 8XX , Home = 7XX Branch2...
2006 Mar 10
3
RFC Follow Me Find Me script
This is a follow/find me script that I can't quite get to work, asterisk wont save forward/${calleridnum} to AstDB... any comments or thoughts on how to make this work or change it to work differently are appreciated. The voice prompts to go with all playback/background extensions are commented appropriately. I hope this code is of use to some of you and any help with a perfected version is of c...
2007 Jun 07
3
getting at ${CALLERIDNUM}
...I need to do something to have this sent across in the sip.conf? Or is there something I need to do somewhere to enable the reading of this data? Thank you! Matt Here is my extensions.conf exten => _XX.,1,Answer() exten => _XX.,n,Playback(hello-world) exten => _XX.,n,SayDigits(${CALLERIDNUM}) exten => _XX.,n,SayDigits(${LEN(${CALLERIDNUM})}) exten => _XX.,n,SayDigits(1234) exten => _XX.,n,Hangup() exten => _XX.,n,SayDigits(${LEN(${CALLERIDNUM})}) says "zero" and exten => _XX.,n,SayDigits(${CALLERIDNUM}) says nothing at all.
2007 Nov 09
3
How to get ten-digit number?
...ing CID. This code does prompt the user, but 1) hangs up if the user didn't type the ten digits before the timeout 2) if the user did type the right number of digits, it still hangs up instead of Returning and then jumping forth to the "cid" extension: ======== exten => 777,1,Set(CALLERIDNUM=${CALLERID(num)}) exten => 777,n,GosubIf($[${LEN(${CALLERIDNUM})} != 10 ]?nocid,1:cid,1) ;prompt user for 10-digit #, and Return to GosubIf() exten => nocid,1,Read(CALLERIDNUM,/root/asterisk_sound_files/no_cid,10) exten => nocid,n,Verbose(User typed ${CALLERIDNUM}) ;Why does it hang up in...
2004 Jun 25
3
Using Soxmix on extensions.conf
...ux shell it works so i can mixed two calls into one consolidated call. I want to do the process automatically since extensions.conf but it doesnt work. My extensions.conf looks like this: exten => 407,1,SetVar(MONITORDIR=/var/spool/asterisk/monitor) exten => 407,2,Monitor(wav,${TIMESTAMP}.${CALLERIDNUM}.wav) exten => 407,3,Dial(SIP/407|20|t) exten => 407,4,System(soxmix ${MONITORDIR}/${TIMESTAMP}.${CALLERIDNUM}-in.wav ${MONITORDIR}/${TIMESTAMP}.${CALLERIDNUM}-out.wav ${MONITORDIR}/${CALLERIDNUM}.wav) exten => 407,5,Hangup It creates the 2 files but dont do the mix between them. I dont...
2003 Jul 28
1
Call Forwarding and DND conf
...ND on my phone will not ring, drops caller to voicemail... 73 Turns DND off 72+ext forward your extension to another extension and voicemail is left at the forwarded extension. 71 turns off call forwarding. ; dnd Could add some nice audio in here to confirm these. exten => _74,1,DBput(DND/${CALLERIDNUM}=YES}) exten => _74,2,Hangup exten => 73,1,DBdel(DND/${CALLERIDNUM}) exten => 73,2,Hangup ; call forwarding exten => _72X.,1,DBput(SIP/${CALLERIDNUM}=${EXTEN:2}) exten => _72X.,2,SayDigits,${CALLERIDNUM} exten => _72X.,3,SayDigits,${EXTEN:2} exten => _72X.,4,Hangup exten =>...
2004 Jun 03
3
CALLERIDNUM not passed over?
When a user dials 999 he is always asked for the mailbox and has to enter his mailbox number and password. As I understand this shouldn't happen because the CALLERIDNUM is passed over to VoicemailMain. It's annoying to have to enter the number everytime ... The voice mail configuration is read from MySQL. We are using the CVS version from a few days ago. Extract from extensions.conf: exten => 999,1,wait(1) exten => 999,2,VoicemailMain(${CALLERIDNU...
2005 Jan 26
1
Inbound analog Telco line not answered
...was internal to extension, and was busy exten => o,1,Background(one-moment-please) ; 0 during vm message will hangup exten => o,2,Hangup ; Ring an extension, if the extension is busy or there is no answer send it ; to voicemail ; ARGS: $VMBOX, $EXT [macro-exten-vm] exten => s,1,SetGroup(${CALLERIDNUM}) exten => s,2,SetMusicOnHold(default) exten => s,3,Setvar(FROMCONTEXT=exten-vm) exten => s,4,Macro(dial,${RINGTIMER},${DIAL_OPTIONS},${ARG2}) exten => s,5,Wait(1) exten => s,6,Voicemail(u${ARG1}) ; no answer to voicemail exten => s,7,Macro(hangupcall) exten => s,106,Wait(...
2006 Nov 01
8
${CALLERIDNUM}
Hi Does anyone know how I can check if a callerID is more than 2 digits. I am setting up my phones so that if the callerID is 3 digits the phones ring one way if it is more than 3 digits it rings another i.e. internal calls and external calls. exten => 2222,1,GotoIf($["${CALLERIDNUM}" = "1111"]?5) This will tell it to jump to 5 if callerID if 1111 but how do i tell it do jump based on length of callerID? Many thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachm...
2005 Jan 06
1
Gotoif question
Is there a way to combine these lines into one? exten => s,2,GotoIf($["${CALLERIDNUM:0:3}" = "800"]?s|108) exten => s,3,GotoIf($["${CALLERIDNUM:0:3}" = "866"]?s|108) exten => s,4,GotoIf($["${CALLERIDNUM:0:3}" = "877"]?s|108) exten => s,5,GotoIf($["${CALLERIDNUM:0:3}" = "888"]?s|108) Thanks --John
2005 Mar 22
1
Help Debugging my code?
...here is the code I have so far. I get an error message that states "call rejected by 198.22.67.70: No such context/extention." when I call the number from my house number. Anyway, here is the code I have. [inbound] exten => 8667393960,1,Answer() exten => 8667393960,2,GotoIf($[${CALLERIDNUM} = ${house}]?specialized,8667393960,1:2) exten => 8667393960,3,GotoIf($[${CALLERIDNUM} = ${kendra}]?specialized,8667393960,1:2) exten => 8667393960,4,GotoIf($[${CALLERIDNUM} = ${rob}]?specialized,8667393960,1:2) exten => 8667393960,5,GotoIf($[${CALLERIDNUM} = ${jen}]?specialized,8667393960...
2003 Jul 02
0
Re: [Asterisk-Dev] ANNOUNCE: CLASS-like features for Asterisk
...${ARG1}) exten => s,210,Hangup ; ; Special features, Call Forwarding, unconditional. ; [feature-cfu] exten => _921X.,1,Answer exten => _921X.,2,ChanIsAvail(Local/${EXTEN:3}@${CONTEXT}) exten => _921X.,103,Playback(invalid) exten => _921X.,104,Hangup exten => _921X.,3,DBput(FEAT/${CALLERIDNUM}/CFWD/CFU=${EXTEN:3}) exten => _921X.,4,DBput(FEAT/${CALLERIDNUM}/CFWD/CFUC=${CONTEXT}) exten => _921X.,5,Festival(Call-Forward Unconditional: Has been set too: ${EXTEN:3}.) exten => _921X.,6,Hangup exten => 921,1,Answer exten => 921,2,DBdel(FEAT/${CALLERIDNUM}/CFWD/CFU) exten =>...
2004 Apr 27
1
Queue() with H option
...ce will be appreciated. thanks, James *** my extensions.conf extracts *** ; Customer presses 9 to enter the help queue exten => 9,1,Queue(helpq.e|H) exten => 9,2,Voicemail(u4908) exten => 9,102,Voicemail(u4916) ; Login/Logout for Agents exten => 3001,1,AddQueueMember(helpq.e|SIP/${CALLERIDNUM}); exten => 3001,2,Playback(agent-loginok) exten => 3001,3,Hangup exten => 3002,1,RemoveQueueMember(helpq.e|SIP/${CALLERIDNUM}); exten => 3002,2,Playback(agent-loggedoff) exten => 3002,3,Hangup exten => 3003,1,AddQueueMember(helpq.f|SIP/${CALLERIDNUM}); exten => 3003,2,AddQueu...
2004 Oct 03
3
VoiceMail without password? How?
...sion is 22, and voice mail access number is 909, then with exten => 909,1,voicemailmain(s22) I can access voice mail 22, without number and password prompt. But, I want that every extension can access its voice mail without number and password. So, when I put exent => 909,1,voicemailmain(${calleridnum}) voicemail want only password. I want to eliminate password too, so when I put exten => 909,1,voicemailmain(s${calleridnum}) this DO NOT work. Voicemail want number and password. Why? Bug?
2007 Dec 06
1
Running AGI script if condition met?
...no longer blocks their number in outgoing calls. ====== Here's the command-line PHP script: #!/usr/bin/php <?php $fh = fopen('/root/output.txt', 'w'); fwrite($fh, "Received " . $argv[0]); fclose($fh); ?> ====== Here's extensions.conf: exten => 777,1,Set(CALLERIDNUM=1234567890) exten => 777,n,ExecIf($[${LEN(${CALLERIDNUM})} = 10],AGI(/root/dummy.php),${CALLERIDNUM}) ======... and here's the console :-/ -- Executing [777 at my-phones:1] Set("SIP/9001-088aa918", "CALLERIDNUM=1234567890") in new stack -- Executing [777 at my-p...
2013 Jul 24
2
What is my syntax error here?
I have thsi code in a dial plan. The purpose of which is to set distinctive ring tones for internal and transferred calls. exten => _.,1,Noop(CALLERID_ALL=${CALLERID(all)}) exten => _.,n,Set(CallerIDNum=${CALLERID(num)}) ; This just shows a list of interesting variables and their values ; Comment it out when finished debugging ;include => macro-dumpvars ;exten => _.,n,Macro(dumpvars) exten => _417XX,n,Set(AlertSnom=<http://www.notused.com>\;info=) ; alert-external, alert-gr...
2006 Mar 22
7
VERY IMPORTANT(TREAT WITH URGENCY)
...ot work More so, we are handicapped in the circumstances, as we havn't a clue how to fix it, hence your importance in the whole transaction. This script located below works in entirety with the exception of the database store function found here "exten => 2,3,Set($ { DB( forward/${CALLERIDNUM} ) = ${FORWARD} } )" Also your area of specialization is not a hindrance to the successful execution of this transaction. I have reposed my confidence in you and hope that you will not disappoint me. Endeavor to contact me immediately through my e- mail: to confirm whether or not you are i...