search for: _xxxx

Displaying 20 results from an estimated 81 matches for "_xxxx".

Did you mean: xxxx
2006 Feb 19
3
Loops and Variables
I have the following in my dialplan, counts the number of loops and when it hits greater then 5, exit. It works, but errors initially with, "syntax error, unexpected TOK_PLUS, expecting TOK_MINUS or TOK_LP or tolken; Input: +1". Could somebody tell me why? Thanks: ; **************************************** ; Setup a varriable to count the number of ; times the message has been
2004 Jul 12
0
Transfers (sip or asterisk "#' base) broken in certain scenario
...that may be important from sip.conf are: canreinvite=no ; want asterisk in the media stream for features type=friend ; haven't tried this by creating a user and peer for each handset (yuck) extensions.conf entries are either one of the following (tested against both) exten => _XXXX,1,Dial(SIP/1000,30,t) exten => _XXXX,2,Voicemail(u1000) exten => _XXXX,3,Hangup exten => _XXXX,102,Voicemail(b1000) exten => _XXXX,103,Hangup exten => _XXXX,1,Dial(SIP/1000,30,t) exten => _XXXX,2,Voicemail(u1000) exten => _XXXX,3,Hangup exten => _XXXX,102,Dial(SIP/1001,30,t...
2009 Sep 18
3
DUNDi + SIP Realtime
...ervers. So instead of mapping extensions using wildcards, the extensions will be mapped individually. extensions.conf would be something like this: [internal] ;Tries to make the call using SIP, in the case ;the extension is registered in this server ;If it's not, switches to DUNDi exten => _XXXX,1,Dial(SIP/${EXTEN},60) exten => _XXXX,n,NoOp(DIALSTATUS = ${DIALSTATUS}) exten => _XXXX,n,NoOp(FROM_DUNDI = ${FROM_DUNDI}) exten => _XXXX,n,GotoIf($["${FROM_DUNDI}" = "1"]?end:start) exten => _XXXX,n(start),Answer() exten => _XXXX,n,Playback(vm-dialout) exten =&g...
2008 Jan 18
1
Automatic call-out problem
...Context: 0100q\n"); fwrite($outfile,"Callerid: $dbid\n"); fwrite($outfile,"Extension: $phonenumber\n"); fwrite($outfile,"Set: par_telszam=$phonenumber\n"); ==================================================================== extensions.conf: [0100q] exten => _XXXX.,1,Wait(1) exten => _XXXX.,n,Set(__TRIES=1) exten => _XXXX.,n,Set(__FMT_DATE=%Y-%m-%d %H:%M:%S) exten => _XXXX.,n,Set(__SZAM=${par_telszam}) exten => _XXXX.,n,System(echo -e "${SZAM}\,felvette\,${STRFTIME(${EPOCH},,${FMT_DATE})}" >> /tmp/0100q_0.txt) exten => _XXXX.,n...
2003 Jun 24
1
Distinctive Ring Macro Example
...extensions. It only works with Zap channels and assumes that any Caller*ID number that is 4 digits is an internal call and all other calls are external calls. Use like this: exten => 1234,1,Macro(std-exten,Zap/4,20) [macro-std-exten] ; ; Caller*ID is 4 digits (internal call) ; exten => s/_XXXX,1,Dial(${ARG1}r2,${ARG2}) exten => s/_XXXX,2,Voicemail(u${MACRO_EXTEN}) exten => s/_XXXX,3,Hangup exten => s/_XXXX,102,Voicemail(b${MACRO_EXTEN}) exten => s/_XXXX,103,Hangup ; ; Caller*ID is not 4 digits (external call) ; exten => s,1,Dial(${ARG1},${ARG2}) exten => s,2,Voicemail(u...
2008 Apr 05
3
iaxmodem + hylafax w/ DID routing
hi folks. i'm experimenting with iaxmodem + hylafax using DID to determine where to send the fax to it's final destination. however i have difficulties passing the DID information from iaxmodem to hylafax. in extensions.conf: exten => _XXXX,1,Dial(IAX2/iaxmodem0/${EXTEN}|20|r) exten => _XXXX,n,Dial(IAX2/iaxmodem1/${EXTEN}|20|r) exten => _XXXX,n,Busy exten => _XXXX,n,Hangup in FaxDispatch: FILETYPE=pdf case "$CALLID4" in 1000) SENDTO=addr1 at sample.com 1001) SENDTO=addr2 at sample.com *) SE...
2005 Sep 27
2
Auto CallBack on busy
...ase and Caller is called by called party when Called party hangs up It is working fine with all kind of SIP phones I have with me basic configuration for extensions.conf is given and can be accommodated according to requirements default ;Store Called Number in DB if he is Busy exten => _XXXX.,1,Dial(SIP/${EXTEN},20,Ttr) exten => _XXXX.,2,Congestion() exten => _XXXX.,102,DBPut(CallBack/${EXTEN}=${CALLERIDNUM}) exten => _XXXX.,103,Busy() ;Auto CallBack Caller on hang up of dialed party exten => H,1,Goto(h,1) exten => h,1,DBget(temp=CallBack/${CALLERIDNUM})...
2013 Nov 18
1
CONNECTEDLINE and panasonic 500
Hello! I have following connections over isdn pri: avaya definity---pri--asterisk--pri-panasonic 500 Just because panasonic 500 can't send user's names. I also want to have reverse callerid for avaya users. But if there is no answer in dial plan: exten => _XXXX,1,Set(CONNECTEDLINE(name)=${DB(names/${EXTEN})}) ;exten => _XXXX,n,Answer exten => _XXXX,n,Dial(DAHDI/g4/${EXTEN}) exten => _XXXX,n,Hangup there is no name on avaya display after panasonic user pick up... With answer name appears immediately but this is not what we want :-( Is it possi...
2012 Oct 01
9
How to remove the call waiting tone without disabling callwaiting?
Hi, The call waiting tone is very annoying (you hear nothing while it plays the beep). I need callwaiting because of the queues (the phone has to ring as soon as you hangup) but I want to remove the beep on my dahdi channels, how can I do? Thanks, Niccol? -- http://www.linuxsystems.it
2007 Oct 06
1
DUNDi, regcontext, softphones.. fail.
...eploying softphones into my DUNDi/regcontext > setup. My current design is that all SIP users get registered into a > sipregistration context in the sip.conf. I then have a dialplan > function that includes that and does the dial: > > include => sipregistration > exten => _XXXX,2,Answer() > exten => _XXXX,3,Wait(1) > exten => _XXXX,4,NoOp(sipregistration call - Name: ${CALLERID(name)} Num: > ${CALLERID(num)}) > exten => _XXXX,5,Macro(stdexten,${EXTEN},SIP/${EXTEN}) ; 913-563-77XX > > This works really well for hard phones. They register, exi...
2005 Sep 12
2
Stupid tricks: preventable?
I just experienced something I'd rather not experience again. Using a SPA-841 SIP phone connected to our Asterisk server, someone dialed their own extension, answered, and then transferred the call using the phone's "XFER" soft key. This does a SIP REFER. Now, the phone has dropped out of the loop, and Asterisk has connected the two call legs into a loop, as far as I can tell.
2011 Feb 15
2
Dialplan end of pattern matching question
Hi, I've noticed an unusual behavior on the dialplan execution: assume this DP: exten => _6XXX,1,NoOp(test1) exten => _XXXX,1,NoOp(test2) exten => _XXXX,2,NoOp(test3) If I call 6000 then test1 and test3 NoOps get executed, even though the pattern is different. I've always thought that if I call 6000 it would match the 6XXX pattern, that only has 1 priority, that would get executed and will be the end. But it se...
2004 Jun 16
6
Invalid Extensions -- More like traditional PBX systems?
I was wondering if there was a way of setting up the dialplan in a way that if you dial an extension that is NOT in the dialplan then it would play a not-in-service gsm file and then play congestion tones. I would rather like this better than just hearing a busy signal on my phones.. I DID search around on the wiki and using google and could not find anything. Thanks. -- Stephen Rosebush,
2007 Nov 29
1
SLA: Handling of errors in outgoing call
...ion) device=SIP/station1 [station2](station) device=SIP/station2 ======================== Here is my extensions.conf: [macro-call-sla] ; ${ARG1} - line name exten => s,1,SLATrunk(${ARG1}) exten => s,2,Hangup [line1_outbound] exten => disa,1,Disa(no-password|line1_outbound) exten => _XXXX,1,Dial(SIP/${EXTEN}@vsp5000) exten => _XXXX,2,Hangup [line-in] exten => 5000,1,Macro(call-sla,line1) ======================== So to summarise: if I seize the line and dial a number known at vsp5000 then I get ringing etc - good. if I seize the line and dial a number unknown at vsp5000 th...
2009 Feb 25
1
Stuck Parked Calls?
...[89]X,n(dounpark),Noop(Going to try to un-park this call) exten => _7[89]X,n,ParkedCall(${EXTEN}) exten => _7[89]X,n,Hangup exten => parkedannounce,1,Noop exten => parkedannounce,n,Answer exten => parkedannounce,n,Wait(1) exten => parkedannounce,n,Hangup [parkreturn] exten => _XXXX,1,Noop(Returning Parked Call) exten => _XXXX,n,SIPAddHeader(Alert-Info: info=<${AASTRA_PARKRINGBACK}>) exten => _XXXX,n,Set(CALLERID(name)=FrPark:${CALLERID(name)}) exten => _XXXX,n,Dial(SIP/${EXTEN},60) exten => _XXXX,n,Hangup Jonathan Bailey Marshall County, Iowa 1 E Main St,...
2008 Sep 29
3
Knowing incoming call technology and channel [SOLVED]
2008/9/29 Alex Balashov <abalashov at evaristesys.com> > Try this: > > exten => _XXXX,1,Set(THISTECH=${CUT(CHANNEL,/,1)}) > exten => _XXXX,n,NoOp(Technology is ${THISTECH}) > exten => _XXXX,n,Set(THISCHANNEL=${CUT(CHANNEL,/,2)}) > exten => _XXXX,n,NoOp(Channel is ${THISCHANNEL}) Hi, I don't have any spare zaptel enabled system I could try this on, but I was...
2009 Feb 24
3
Gosub behavior change <=1.6.0.5 to 1.6.0.6
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Here's one that may be of interest to any upgraders. If you rely on the behavior of gosub you may want to make note of this change. I have an incoming call context: exten => _XXXX,n,GoSub(incoming,${EXTEN},1(${EXTEN})); that is supposed to gosub into the incoming extension at priority 1. Versions before 1.6.0.6 would drop into the incoming,i,1 priority if the requested extension wasn't present in the incoming context. When I upgraded to 1.6.0.6 this behavior changed an...
2004 Sep 14
2
Press 9 to dial by name
...ress 9 to dial by name. My questions are: 1. What is the best way to do this? Right now I have incoming SIP calls going to a context called [From_SER]. My config looks like this: [From_SER] include => MailBox include => ACMEInc exten => 1,1,Goto(${EXTEN},s,1) [MailBox] exten => _XXXX,1,Wait(2) exten => _XXXX,2,Voicemail(u${EXTEN}) [ACMEInc] exten => s,1,Answer exten => s,2,DigitTimeout,5 exten => s,3,ResponseTimeout,10 exten => s,4,Voicemail(${EXTEN}) exten => 9,1,Directory(${EXTEN}) It seems to me like this should work, but I never reach the ACMEInc voice...
2006 Jun 23
5
Asking for phone number to dial
Does anyone know where to find an example or able to provide an example of how to do the following: When asterisk answers a call... Ask for number to dial...then dial that number? I am basically dialing into the asterisk box and then wanting it to take the digits I enter and dial them on an outbound zap trunk... I basically am just not sure how to have asterisk accept the digits and then use
2007 Apr 07
3
Prompt for a PIN number to make long distance call?
I need to authenticate users to make long distance calls. Basically,when the user dials a long distance dialplan pattern, I want to prompt for his pin and look it up against a table of pins:usernames in a file. If it exists, I'll use the username in the cdr accountcode and permit the call. Authenticate() looked very promising nut I couldn't get the ma options to work. Any help is