Displaying 20 results from an estimated 36 matches for "from_did".
2010 Aug 30
2
help with dialplan
.../32
GMNETPHONE3=SIP/33
GMNETPHONE4=SIP/34
GMNETPHONE5=SIP/35
GMNETPHONE6=SIP/36
GMNETPHONE7=SIP/37
EXTERNPHONE0=SIP/150
CPHONE1=SIP/16780000000
CPHONE2=SIP/17700000000
EMERGENCY=0
EMERGENCY_TRUNK=DAHDI/G1
; Change this for production use:
EMERGENCY_NUM=6789542133
[from-pstn]
exten => s,1,Set(FROM_DID="6780000000)
exten => s,n,NoOp(id is ${FROM_DID})
exten => s,n,Goto(incoming1,s,1)
[from-pstn1]
exten => s,1,Set(FROM_DID="6780000000)
exten => s,n,NoOp(id is ${FROM_DID})
exten => s,n,Goto(incoming1,s,1)
[from-pstn2]
exten => s,1,Set(FROM_DID="6780000000)
exten =...
2006 Oct 20
2
getting DID info..
This might be a newbie question... I'm using a SIP trunk and trying
to get DID line information on an incoming call. All I hear is a
nice lady saying 'Zero' - then the call continues... Any suggestions?
thanks
Todd
exten => s,n,Set(DIDID=(<${FROM_DID}>))
exten => s,n,SayNumber(DIDID)
or
exten => s,n,Set(FROM_DID=${EXTEN})
exten => s,n,SayNumber(FROM_DID)
and a third try.. (I'm not sure what 's' is, but saw it somewhere..)
exten => s,n,Set(FROM_DID=s)
exten => s,n,Wait(1)
2014 Nov 25
2
High resident memory with 11.14.0 ?
...d/outbound SIP trunks and around 100 IAXModems registered to it. It
primarily handles faxing.
I am not using any non-standard channel drivers. I am using the T.38
gateway funcionality.
The jist of the dialplan is this: (example of the PRI and a SIP trunk,
inbound)
[pri-in]
exten => _X.,1,Set(__FROM_DID=${EXTEN})
exten => _X.,n,Set(FAX_IDX=700)
exten => _X.,n,Set(MAX_IDX=719)
exten => _X.,n,Goto(dial-hylafax,s,1)
[sip-trunk-in]
exten => _X.,1(normal),Set(__FROM_DID=${EXTEN})
exten => _X.,n,Set(FAX_IDX=950)
exten => _X.,n,Set(MAX_IDX=959)
exten => _X.,n,Set(FAXOPT(gateway)=yes...
2006 Mar 26
1
AAH: DNID not set if caller suppresses CID?
Hi,
using asterisk@home, with quadBri from junghanns.net I am facing a
strange problem:
I have set incoming routes for some extension / DID:
[ext-did]
include => ext-did-custom
exten => 23,1,SetVar(FROM_DID=23)
exten => 23,2,Goto(ext-local,23,1)
exten => 57,1,SetVar(FROM_DID=57)
exten => 57,2,Goto(ext-local,57,1)
exten => 66,1,SetVar(FROM_DID=66)
exten => 66,2,Goto(ext-local,66,1)
If I call from external to my * with ext 57 eveything works as expected,
as long as I don't suppress...
2014 Nov 26
0
High resident memory with 11.14.0 ?
...ems registered to it. It
> primarily handles faxing.
> I am not using any non-standard channel drivers. I am using the T.38
> gateway funcionality.
>
> The jist of the dialplan is this: (example of the PRI and a SIP trunk,
> inbound)
>
> [pri-in]
> exten => _X.,1,Set(__FROM_DID=${EXTEN})
> exten => _X.,n,Set(FAX_IDX=700)
> exten => _X.,n,Set(MAX_IDX=719)
> exten => _X.,n,Goto(dial-hylafax,s,1)
>
> [sip-trunk-in]
> exten => _X.,1(normal),Set(__FROM_DID=${EXTEN})
> exten => _X.,n,Set(FAX_IDX=950)
> exten => _X.,n,Set(MAX_IDX=959)
&g...
2005 Jul 26
2
Stumped on vMail problem, any ideas?
...oicemail(b${ARG1}) ; Voicemail Busy message
exten => s-BUSY,2,Hangup()
exten => _s-.,1,Voicemail(u${ARG1}) ; Voicemail Unavailable message
exten => _s-.,2,Hangup()
exten => o,1,Background(one-moment-please) ; 0 during vm message will
hangup
exten => o,2,GotoIf($["foo${FROM_DID}" =
"foo"]?from-pstn,s,1:from-pstn,${FROM_DID},1)
exten => a,1,VoiceMailMain(${ARG1})
exten => a,2,Hangup
Also looking I see the following globals defined that appear to apply:
RINGTIMER = 20
DIAL_OPTIONS = tr
I am quite new at this, but heck looks like it should work, bu...
2011 Feb 21
1
Dialplan execution stops on app call even with TryExec (Am I missing something simple?)
...on '228' is complete, result: 'SUCCESS' (FAX_SUCCESS), error: 'NO_ERROR', pages: 8, resolution: '204x196', transfer rate: '9600', remoteSID: 'TIME'
The context it's executing in is:
[ext-fax-voicenation]
exten => s,1,Noop(Receiving Fax for: ${FROM_DID} From: ${CALLERID(all)})
exten => s,n(receivefax),StopPlaytones
exten => s,n,Set(FAX_FILE_NAME=/var/www/html/vncake/fax_temp/${FROM_DID}-${CALLERID(number)}-${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)}-${UNIQUEID}.tif)
; Gafachi is known to have a broken ecm implementation - disable on receive - also...
2014 Nov 24
2
High resident memory with 11.14.0 ?
Also, how big does the cache in frame.c grow to?
I've recompiled with MALLOC_DEBUG on that server:
asterisk -rx "memory show summary"
....
1780466242 bytes (1780181594 cache) in 2352909 allocations in file
frame.c
...
Seems like a ridiculous cache.
On Mon, Nov 24, 2014 at 9:02 AM, James Lamanna <jlamanna at gmail.com> wrote:
> cat /proc/cpuinfo lists 4 cores.
>
2006 Feb 22
0
debugging asterisk configuration
...RIDE} =
forceafthours]?from-pstn-afthours-nofax,s,1:3)
exten => s,4,GotoIfTime(${REGTIME}|${REGDAYS}|*|*?from-pstn-reghours-nofax,s,1:2)
exten => s,5,Goto(from-pstn-afthours-nofax,s,1)
ext-did context is this (made by amp):
[ext-did]
include => ext-did-custom
exten => s/7045,1,SetVar(FROM_DID=s/7045)
exten => s/7045,2,Goto(ext-local,211,1)
exten => s/987073366,1,SetVar(FROM_DID=s/987073366)
exten => s/987073366,2,Goto(ext-local,211,1)
exten => _X./7045,1,Goto(s/7045)
exten => _X./987073366,1,Goto(s/987073366)
--
Alejandro Vargas
2005 Sep 19
0
Voicemail() application returning -1 on a hangup
...was when a person
hangs up after recording a message
; instead of hitting # (this doesn't work)
; exten => _s-.,103,system(${SCRIPTS_DIR}/voicemail_callback.sh ${ARG1})
exten => o,1,Background(one-moment-please) ; 0 during vm message will
hangup
exten => o,2,GotoIf($["foo${FROM_DID}" =
"foo"]?from-pstn,s,1:from-pstn,${FROM_DID},1)
exten => h,1,system(${SCRIPTS_DIR}/voicemail_callback.sh ${ARG1})
exten => t,1,system(${SCRIPTS_DIR}/voicemail_callback.sh ${ARG1})
exten => a,2,VoiceMailMain(${ARG1})
exten => a,3,Hangup
The NoOp after t...
2006 May 26
0
No sound when the call is diverted
...3,9${DivertNumber},1)
(i have replaced the diverted phone number with XXXXXXXX above)
[outrt-010-outside3] it's the context to make outbound calls via SIP trunk
The custom-Sales context is used in the following ext-did context for
incoming calls,
[ext-did]
exten => 02YYYYYYYY,1,SetVar(FROM_DID=02YYYYYYYY) ;
exten => 02YYYYYYYY,2,Goto(custom-Sales,s,1) ;
(i have replaced the called DID number with YYYYYYYY above)
So when ringing 02YYYYYYYY, after 15 seconds the call is successfully
diverted to 02XXXXXXXX
however when the call is answered there is not any sound on any end. Can any...
2006 Nov 06
0
help for recording
...s-.,1,Macro(get-vmcontext,${ARG1})
exten => _s-.,n,Voicemail(${ARG1}@${VMCONTEXT}|u${VMGAIN}) ;
Voicemail Unavailable message
exten => _s-.,n,Goto(exit-${VMSTATUS},1)
exten => o,1,Background(one-moment-please) ; 0 during vm message
will hangup
exten => o,n,GotoIf($["foo${FROM_DID}" =
"foo"]?from-pstn,s,1:from-pstn,${FROM_DID},1)
exten => a,1,Macro(get-vmcontext,${ARG1})
exten => a,n,VoiceMailMain(${ARG1}@${VMCONTEXT})
exten => a,n,Hangup
exten => exit-FAILED,1,Playback(im-sorry&an-error-has-occured)
exten => exit-FAILED,n,Hangup()
ext...
2006 Jan 06
5
3RD REQUEST - Any Help Is Appreciated
...nd ring if the PBX is picking up and routing? And why would I get dial tone on the answering phone when the incoming call rings to it?
Bizarre!
Here is the real time status from CLI:
asterisk1*CLI>
-- Starting simple switch on 'Zap/2-1'
-- Executing SetVar("Zap/2-1", "FROM_DID=s") in new stack
-- Executing Answer("Zap/2-1", "") in new stack
-- Executing Wait("Zap/2-1", "0") in new stack
-- Executing Goto("Zap/2-1", "ext-local|*101|1") in new stack
-- Goto (ext-local,*101,1)
-- Executing Macro("Zap...
2006 May 26
1
Not able to make any calls
...com
FAX_RX = system
FAX =
Eabhijit = SIP
E9002 = SIP
E9001 = SIP
E8002 = SIP
E8001 = SIP
DIRECTORY_OPTS =
DIRECTORY = last
DIAL_OUT_1 = 9
DIAL_OUT = 9
DIAL_OPTIONS = tr
DIALOUTIDS = 1/2/
CALLFILENAME = ""
AFTER_INCOMING =
[ext-did]
include => ext-did-custom
exten => 672648,1,SetVar(FROM_DID=672648) ;
exten => 672648,2,Goto(ext-group,1,1) ;
[ext-group]
include => ext-group-custom
exten => 1,1,Macro(rg-group,30,,200-201) ;
[ext-local]
include => ext-local-custom
exten => 8001,1,Macro(exten-vm,8001@default,8001)
exten => ${VM_PREFIX}8001,1,Macro(vm,8001...
2006 Jan 05
1
Bizarre Answering Behavior
...nd ring if the PBX is picking up and routing? And why would I get dial tone on the answering phone when the incoming call rings to it?
Bizarre!
Here is the real time status from CLI:
asterisk1*CLI>
-- Starting simple switch on 'Zap/2-1'
-- Executing SetVar("Zap/2-1", "FROM_DID=s") in new stack
-- Executing Answer("Zap/2-1", "") in new stack
-- Executing Wait("Zap/2-1", "0") in new stack
-- Executing Goto("Zap/2-1", "ext-local|*101|1") in new stack
-- Goto (ext-local,*101,1)
-- Executing Macro("Zap...
2006 Jun 09
2
No CID on ZAP
...from-zaptel-1|s|1") in new stack
-- Executing NoOp("Zap/1-1", "Returned from Macro from-zaptel-1") in new
stack
-- Executing Goto("Zap/1-1", "ext-did|s|1") in new stack
-- Goto (ext-did,s,1)
-- Executing Set("Zap/1-1", "FROM_DID=s") in new stack
-- Executing Goto("Zap/1-1", "ext-local|200|1") in new stack
-- Goto (ext-local,200,1)
-- Executing Macro("Zap/1-1", "exten-vm|200|200") in new stack
-- Executing Macro("Zap/1-1", "user-callerid")...
2005 Jul 11
1
ASterisk@home + Broadvoice = Almost working installation...
...s-BUSY,1,Voicemail(b${ARG1}) ; Voicemail Busy message
exten => s-BUSY,2,Hangup()
exten => _s-.,1,Voicemail(u${ARG1}) ; Voicemail Unavailable message
exten => _s-.,2,Hangup()
exten => o,1,Background(one-moment-please) ; 0 during vm message will hangup
exten => o,2,GotoIf($["foo${FROM_DID}" =
"foo"]?from-pstn,s,1:from-pstn,${FROM_DID},1)
exten => a,1,VoiceMailMain(${ARG1})
exten => a,2,Hangup
; For some reason, if I don't run setCIDname, CALLERIDNAME will be blank in my AGI
; ARGS: none
[macro-fixcid]
exten => s,1,SetCIDName(${CALLERIDNAME})
; Ring grou...
2007 Apr 11
1
Mediatrix 1204
...ID: 9dd4c369dbcf118b22b91aa08728f726@192.168.0.254
CSeq: 527193825 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER
Contact: <sip:4000@192.168.0.254>
Content-Length: 0
to 192.168.0.253:5060
-- Executing SetVar("SIP/192.168.0.254-b2159358", "FROM_DID=4000") in
new stack
-- Executing Goto("SIP/192.168.0.254-b2159358", "aa_2|s|1") in new stack
-- Goto (aa_2,s,1)
-- Executing GotoIf("SIP/192.168.0.254-b2159358", "0?4") in new stack
-- Executing Answer("SIP/192.168.0.254-b2159358&quo...
2006 Jan 05
0
Bizarre Answering Problem - 2ND REQUEST
...nd ring if the PBX is picking up and routing? And why would I get dial tone on the answering phone when the incoming call rings to it?
Bizarre!
Here is the real time status from CLI:
asterisk1*CLI>
-- Starting simple switch on 'Zap/2-1'
-- Executing SetVar("Zap/2-1", "FROM_DID=s") in new stack
-- Executing Answer("Zap/2-1", "") in new stack
-- Executing Wait("Zap/2-1", "0") in new stack
-- Executing Goto("Zap/2-1", "ext-local|*101|1") in new stack
-- Goto (ext-local,*101,1)
-- Executing Macro("Zap...
2007 Apr 03
0
Called Number Issue
...ing to get another setup
out on the internet (Box2) with an IAX2 trunk connecting the two. The calls
flow fine from Box2 to Box1, but when I call Box2 from Box1 the Called
Number always shows up as 's'. Why wont it pass the DID?
Config in Box1:
[ext-did]
exten => 6222626,1,Set(FROM_DID=6222626)
exten => 6222626,n,Goto(ext-local,6222626,1)
[6222626]
username=6222626
type=friend
secret=6222626
qualify=no
port=4569
host=dynamic
context=from-internal
callerid=User1 <6222626>
-------------- next part --------------
An HTML attachment was scrubbed....