Displaying 20 results from an estimated 171 matches for "_0".
Did you mean:
p_0
2007 Aug 31
2
Shortening Context code
Hi All,
If I had a large block of code, eg:
[outgoing-pstn-gradwell]
; the caller ID convertion assumes that the last two digits of the
callers id
; are mapped to the last two digits of the PSTN number.
exten =>
_0.,1,ExecIF($["${RECORDOUTBOUND}"="TRUE"],Monitor,wav|${TIMESTAMP}-${CA
LLERID(num)}-${EXTEN}-${UNIQUEID}.WAV)
exten =>
_0.,2,ExecIF($[${LEN(${CALLERID(num)})}=4],Set,CALLERID(number)=${PSTN_G
LOBAL}${CALLERID(num):-2})
exten => _0.,3,Dial(${TRUNK}/${EXTEN},,W)
exten => _...
2005 Mar 03
3
Why ${EXTEN} variable changes after Goto ?
...al extension
if previous outgoing call was unanswered.
But after I do Goto to s-NOANSWER, variable ${EXTEN} changes to
's-NOANSWER'. I guess this is normal, but I don't understand why ? How to
workaround on this one ?
Thanks in advance,
regards,
Rob.
[outbound-capi-ISDN]
exten => _0.,1,NoOp(Calling ISDN number ${EXTEN:1} on CAPI/7104370 from
${CALLERIDNUM})
exten => _0.,2,Dial,CAPI/7104370:b${EXTEN:1}|10|Tt
exten => _0.,3,Goto(s-${DIALSTATUS},1)
exten => _0.,103,NoOp(Calling ISDN number ${EXTEN:1} on CAPI/7104371)
exten => _0.,104,Dial,CAPI/7104371:b${EXTEN:1}|30|T...
2004 Nov 24
3
Haven't got a clue ...
...the caller uses zap/g4 (the link to the
meridian), * tries to dial on zap/g3 (the link from * to the isdn30), finds
that the number is invalid, drops the channel on zap/g3. Zap/g4 therefore
cannot be connected, and it is dropped as well.
Help!
My (snipped) dialplan is
[dial-isdn-a]
exten => _0.,1,AgentMonitorOutgoing(n)
exten => _0.,2,CallingPres(0)
exten => _0.,3,SetCIDName(${CALLERIDNAME})
exten => _0.,4,SetCIDNum(555123) ; number changed to protect the guilty!
exten => _0.,5,Dial(Zap/g3/${EXTEN},40)
exten => _0.,6,Hangup()
exten => _118.,1,Dial(Zap/g3/${EXTEN},40)
ex...
2007 Aug 30
4
How to handle "+" prefix
...sn't get set
as expected.. and then I need to figure out how to pass the call onto
the outgoing-pstn context. Not sure if a Goto would work here...
[outgoing-pstn-international]
exten => _+.,1,Set(EXTEN=00${EXTEN:+1})
exten => _+.,2,NoOp(test line: ${EXTEN})
[outgoing-pstn]
exten =>
_0.,1,ExecIF($["${RECORDOUTBOUND}"="TRUE"],Monitor,wav|${TIMESTAMP}-${CA
LLERID(num)}-${EXTEN}-${UNIQUEID}.WAV)
;exten => _0.,2,Set(CALLERID(number)=${PSTN_GLOBAL}${CALLERID(num):-2})
exten =>
_0.,2,ExecIF($[${LEN(${CALLERID(num)})}=4],Set,CALLERID(number)=${PSTN_G
LOBAL}${CA...
2006 May 23
1
Status: Provisioned, Down, Active - Long
...t I'm woried about. I have search list and Internet and explanation I could find is that my D channel is down (for some reason). I have put jumpers for E1 (1-2 and 3-4 are connected). And those are mine extensions, zaptel and zapata conf files.
extensions.conf
include => pomoc
exten => _0.,1,NoOp(${CALLERID(name):0:4})
exten => _0.,n,NoOp(${CALLERID(number)})
exten => _0.,n,GotoIf($["${CALLERID(name):0:4}" = "Lama"]?4:6)
exten => _0.,n,Dial(Zap/g1/${EXTEN:1},60,TW) ; W - calling user to start recording *1
exten => _0.,n,Hangup
exten => _0.,n,S...
2008 Feb 14
6
UK -999 dialing issue
...dials "999" it is intercepted and sent via the zap channels. If
no zap channel is free, a call on channel 1 is ended and the number
re-dialled. This makes sure that emergency calls can always be placed
on a landline.
Any ideas would be appreciated!
Phil
[softoption-zap]
exten => _0[123456789].,1,NoOp(${EXTEN})
exten => _0[123456789].,2,Dial(Zap/g0/${EXTEN},,j)
exten => _0[123456789].,103,Dial(IAX2/Gradwell/44${EXTEN:1},,)
exten => _00[1-9].,1,Dial(IAX2/Gradwell/${EXTEN:2},,)
exten => _90[123456789].,1,Dial(IAX2/Gradwell/44${EXTEN:2},,)
; The below section will al...
2009 Jun 24
1
Outgoing CallerID for KPN in Belgium
Hi,
I'm using a ISDN-30 E1 line from KPN Belgium.
The challenge is to get a correct CallerID on outgoing lines.
When I put this in my dialplan:
exten => _0.,1,Set(TEMPVAR=${CALLERID(num):1})
exten => _0.,2,Set(CALLERID(num)=144622${TEMPVAR})
exten => _0.,3,NoOp(${CALLERID(num)})
exten => _0.,4,Dial(Zap/g1/${EXTEN:1},,)
The resulting CallerID is accepted by the telco, but on phones it shows for instance as:
+14462241, whereas it should be +32...
2008 Oct 31
5
twice normal beep before busy tone ??
Hi,
I have a strange problem with our Asterisk installation. Outgoing calls
are handled by the following lines:
exten => _0[2-9]X.,1,Set(CALLERID(num)=09999403${CALLERID(num)})
exten => _0[2-9]X.,2,SET(CALLERID(num)=${IF($[ ${CALLERID(num)} =
0999940321]?099994030:${CALLERID(num)})})
exten => _0[2-9]X.,3,DIAL(CAPI/g1/${CALLERID(num)}:${EXTEN},180,tr)
exten => _0[2-9]X.,4,GOTO(fehler,s-${DIALSTATUS},1)
[fehler...
2004 Apr 20
3
Pattern matching rules for least cost routing
...to get an outside line...
Either its a call to a mobile No... (072 -or- 082 -or- 083 -or- 084)
or its just another number to dial...
I added the following... the playback just advises me which 'route' is
being taken.... In 'extentions.conf' I have...
;Cell Phone call
exten => _00[78][234].,1,Playback(posix-cellphone)
exten => _00[78][234].,2,Dial(${TRUNK}:${EXTEN:${TRUNKMSD}})
;Default catch all - just dial it....
exten => _0.,1,Playback(posix-defaultroute)
exten => _0.,2,Dial(${TRUNK}:${EXTEN:${TRUNKMSD}})
No matter what is dialled - I always go out on the '...
2005 Jan 04
1
Call(out) routing
...calls threw the other 3 channels
Cellphone numbers are 10 number,i.o.w XXXXXXXXXX.
This is what I tried but it doesn't seem to work,please help
Thanks
Altus
extensions.conf
[cell_calls]
exten => _0083XXXXXXX,1,Dial(vpb/1-4/${EXTEN:1})
exten => _0083XXXXXXX,2,Congestion
exten => _0082XXXXXXX,1,Dial(vpb/1-4/${EXTEN:1})
exten => _0082XXXXXXX,2,Congestion
exten => _0084XXXXXXX,1,Dial(vpb/1-4/${EXTEN:1})
exten => _0084XXXXXXX,2,Congestion...
2004 Apr 09
3
Ignorepat with capi
Hi to all,
I'm trying to make outside call in this way :
ignorepat => 0
exten => _0.,1,Dial(CAPI/xxxxxxx:b${exten})
But the first number 0 is not ignored.
I'm doing something wrong ?
Bye
2005 Feb 13
1
Broadvoice international dialling question
I'd be grateful if someone could point me in the right direction.
I have a Broadvoice trunk attached to Asterisk which I use for frequent
calls to the UK using the following in extensions.conf
exten => _0[1-68].,1,Ringing
exten => _0[1-68].,2,Dial(SIP/BV/01144${EXTEN:1})
exten => _0[1-68].,3,Hangup
The caller hears immediate ringing, though it seems that Broadvoice takes a
long time to make the international connection and sometimes fails
altogether
-- Executing Ringing("SIP/100...
2006 Mar 31
3
Howto cut the first digit
Hi, sorry for this noop question,
but does anybody know how to cut the first digit of a variable?
example:
044612345
should be after cut operation:
44612345
My try in the extension.conf:
exten => _0[0-9].,2,Cut(mynum=EXTEN,/ ,1)
exten => _0[0-9].,3,Dial(Zap/g1/${mynum},90,T)
but it didn't work, my problem is the delemiter, I have no delemiter,
the default is "-" but how to use the function cut() without an delemiter?
Just snip the first digit of a phonenumber.
MfG,
Christia...
2007 Sep 05
1
Dialplan regexp
Hi,
Can anyone tell me why the below dialplan doesn't filter off dialed
numbers for 01793520158, and jump to "local",priority1
If I change it to :
exten => 01793520158,1,Goto(local,${EXTEN:-3},1)
....
then it works fine (but that's too specific)...
exten => _017935201[56][0-9],1,Goto(local,${EXTEN:-3},1)
exten => _0.,1,Set(CALLERID(num)=${PSTN_GLOBAL}${CALLERID(num):-3})
exten => _0.,2,Dial(${TRUNK}/${EXTEN},,W)
Adrian Marsh
2006 Sep 22
3
Error with :create => true and existing index
...ented a "reindex" command which simply creates an IndexWriter
with :create => true for a prexisting index.
The "reindexing" seems to start out ok, with several thousand docs
added, then Ferret throws an exception:
IO Error occured: couldn''t rename file "index\_0.tmp" to "index\_0.cfs":
<File exists>
I guess that _0.cfs is held open by an IndexReader, so the :create is
failing to delete it and hence the rename is failing.
Kind Regards
Neville
2005 Sep 10
2
VoipBuster again
...very
host=sip.voipbuster.com
username=NAME
secret=SECRET
fromdomain=sip.voipbuster.com
realm=voipbuster.com
iax.conf:
[voipbuster]
type=peer
host=iax.voipbuster.com
username=NAME
secret=NAME
notransfer=yes
qualify=no
extensions.conf: (I use 0 to dial out to IAX and 8 to dial out SIP)
exten => _0.,1,SetCallerID("CID Name" <CIDNUMBER>)
exten => _0.,2,Dial,IAX2/voipbuster/00613${EXTEN:1}
exten => _8.,1,SetCallerID("CID Name" <CIDNUMBER>)
exten => _8.,2,Dial,SIP/voipbuster/00613${EXTEN:1}
Thanks,
Rudolf
2004 May 07
1
Missing digits on TDM400P incomplete dial string - Email found in subject
...context=hardwire
group=3
signalling=fxo_ks
mailbox=8765
callerid="Acme" <8765>
channel=32
extensions.conf
[hardwire]
;
exten => _NXXXXXX,1,SetCallerID(0141411${CALLERIDNUM})
exten => _NXXXXXX,2,CallingPres(3)
exten => _NXXXXXX,3,Dial(Zap/g1/0141${EXTEN})
exten => _0.,1,SetCallerID(0141411${CALLERIDNUM})
exten => _0.,2,CallingPres(3)
exten => _0.,3,Dial(Zap/g1/${EXTEN})
exten => t,1,Hangup ; If they take too long, give
up.
exten => i,1,Hangup ; If they get it wrong, give up
________________________________...
2004 Dec 09
2
hfc card and isdn error E001B
I'm trying to use an hfc based pci card with asterisk but every call fails
falling in the congestion extension.
exten => _0.,1,Dial(${TRUNK}:${EXTEN:${TRUNKMSD}}||tr)
exten => _0.,2,Congestion
Looking in the syslog i can see:
isdn: HiSax,ch0 cause: E001B
it seems that this is a terrible error when arrives... hard to tell what is
the cause. Also terrible is finding a lot of material about this error in
german and no...
2004 Jul 26
6
Can't dial SIP<->EuroISDN (HFC-S based PCI ISDN card): Unable to create channel of type 'Zap'
Hi,
I'm trying to set up an Asterisk pbx based on a Fedora Core 1 Linux box
(customized kernel version 2.4.24). I want calls from my SIP soft-phones
to simply be dumped onto the PSTN line via a BRI (EuroISDN). I have a cheap
HFC-S based PCI ISDN card connected to the NT1+ interface, so I need zaphfc.
I've read everything I've found at www.voip-info.org, then I've downloaded
the
2005 Sep 23
1
zaphfc problem: overlapdial don't work after update bristuff
...i_cpe
pridialplan=local
echocancel=yes
immediate=no
overlapdial=yes
group = 1
faxdetect=both
context=fromisdn
channel => 1-2
zaptel.conf:
------------
loadzone=nl
defaultzone=nl
span=1,1,3,ccs,ami
bchan=1-2
dchan=3
extension.conf:
[fromisdn]
; example dial to BRI on other location
exten => _0.,1,Dial(IAX2/call_saar/${EXTEN}@intern,60)
exten => _0.,2,Congestion
exten => _0.,102,Hangup