Displaying 20 results from an estimated 55 matches for "dial_number".
2008 Jan 07
1
GotoIf() help
...that have 4 digit extensions and one office has a 1000 range for their
extensions so I have to make sure I don't pick that up as dialing long
distance. I think what I have below will work but it can probably be cleaned
up.... alot. Any help is greatly appreciated.
exten => s,n,GotoIf($[${DIAL_NUMBER} = 011XXXX. ] ? yescode : steptwo)
exten => s,n,(steptwo),GotoIf($[${DIAL_NUMBER} = 9XXXXXX. ] ? yescode :
stepthree)
exten => s,n,(stepthree),GotoIf($[${DIAL_NUMBER} = 1NXXNX. ] ? yescode :
nocode)
exten => s,n,(yescode),Playback(please-enter-the&accounting)
exten => s,n,Read(...
2009 Jun 03
1
Using DIALSTATUS question
Hi all,
I am trying to make decisions in my dialplan based on {DIALSTATUS}. I am
creating calls using AMI (rawman with parameters via URL) with
action:Originate. I am using SIP and an outside voip provider for the calls.
If I define the number to call in the Channel parameter (e.g.
SIP/15555555555 at myvoipprovider, the call gets placed before entering the
context that I defined. I understand
2005 Aug 24
0
SIP trunk rollover problem
...ro(user-callerid)
exten => s,4,Macro(record-enable,${CALLERIDNUM},OUT)
exten => s,5,Macro(outbound-callerid,${ARG1})
exten => s,6,SetGroup(OUT_${ARG1})
exten => s,7,CheckGroup(${OUTMAXCHANS_${ARG1}})
; if we've used up the max channels, continue at 110 (n+101)
exten => s,8,SetVar(DIAL_NUMBER=${ARG2})
exten => s,9,SetVar(DIAL_TRUNK=${ARG1})
exten => s,10,AGI(fixlocalprefix) ; this sets DIAL_NUMBER to the proper
dial string for this trunk
exten => s,11,SetVar(OUTNUM=${OUTPREFIX_${ARG1}}${DIAL_NUMBER}) ;
OUTNUM is the final dial number
exten => s,12,Cut(custom=OUT_${ARG1},:...
2006 Feb 09
0
re: voipjet -- Workaround if needed
...,Macro(user-callerid)
exten => s,4,Macro(record-enable,${CALLERIDNUM},OUT)
exten => s,5,Macro(outbound-callerid,${ARG1})
exten => s,6,SetGroup(OUT_${ARG1})
exten => s,7,CheckGroup(${OUTMAXCHANS_${ARG1}})
; if we've used up the max channels, continue at (n+101)
exten => s,8,SetVar(DIAL_NUMBER=${ARG2})
exten => s,9,SetVar(DIAL_TRUNK=${ARG1})
exten => s,10,AGI(fixlocalprefix) ; this sets DIAL_NUMBER to the proper
dial string for this trunk
exten => s,11,SetVar(OUTNUM=${OUTPREFIX_${ARG1}}${DIAL_NUMBER}) ;
OUTNUM is the final dial number
exten => s,12,Cut(custom=OUT_${ARG1},:,1...
2006 Feb 10
0
Half Solved - Fail over to Pri on VoIP connection failure
...,Macro(user-callerid)
exten => s,4,Macro(record-enable,${CALLERIDNUM},OUT)
exten => s,5,Macro(outbound-callerid,${ARG1})
exten => s,6,SetGroup(OUT_${ARG1})
exten => s,7,CheckGroup(${OUTMAXCHANS_${ARG1}})
; if we've used up the max channels, continue at (n+101)
exten => s,8,SetVar(DIAL_NUMBER=${ARG2})
exten => s,9,SetVar(DIAL_TRUNK=${ARG1})
exten => s,10,AGI(fixlocalprefix) ; this sets DIAL_NUMBER to the proper
dial string for this trunk
exten => s,11,SetVar(OUTNUM=${OUTPREFIX_${ARG1}}${DIAL_NUMBER}) ;
OUTNUM is the final dial number
exten => s,12,Cut(custom=OUT_${ARG1},:,1...
2009 Nov 16
0
ENUM and Asterisk 1.6
Hi all,
I have a problem with 1.6.1.7-rc1 and ENUM (with an own PowerDNS server
and NAPTR record). Maybe somebody has more experience with this or can
give me some input.
The dialplan:
exten => 292,1,Set(DIAL_NUMBER=43660123456)
exten => 292,2,Set(sip=
${ENUMLOOKUP(+${DIAL_NUMBER},sip,,1,ns3.e164.xxx.com)}) ;x'ed out the
domain name starting from here
exten => 292,3,NoOp(${sip})
exten => 292,4,Hangup()
The output if I dial 292:
Connected to Asterisk 1.6.1.7-rc1 currently running on srv21 (pid =...
2005 Jun 19
2
outgoing call routing
...t-trunk,s,6)
-- Executing SetCallerID("Zap/1-1", "") in new stack
-- Executing SetGroup("Zap/1-1", "OUT_1") in new stack
-- Executing CheckGroup("Zap/1-1", "") in new stack
-- Executing SetVar("Zap/1-1", "DIAL_NUMBER=817XXXXXX") in new stack
-- Executing SetVar("Zap/1-1", "DIAL_TRUNK=1") in new stack
-- Executing AGI("Zap/1-1", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Could not pa...
2011 Jun 16
1
Web based call back
Hi,
I am looking for a simple solution to do this.
I wish to have the user to enter their preferred method of connection i.e.
for the cheapest solution to their desktop phone or mobile phone, then plan
callfile based on the number that user provided and dial to the user.
Any suggestions?
CK
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Aug 10
0
tdm400p / outbound zap prob
...otoIf($[foo${OUTCID_${ARG1}} = foo]?9) ;check for CID
override for trunk
exten => s,8,SetCallerID(${OUTCID_${ARG1}})
exten => s,9,SetGroup(OUT_${ARG1})
exten => s,10,CheckGroup(${OUTMAXCHANS_${ARG1}})
; if we've used up the max channels, continue at 109 (n+101)
exten => s,11,SetVar(DIAL_NUMBER=${ARG2})
exten => s,12,SetVar(DIAL_TRUNK=${ARG1})
exten => s,13,AGI(fixlocalprefix) ; this sets DIAL_NUMBER to the proper
dial string for this trunk
exten => s,14,SetVar(OUTNUM=${OUTPREFIX_${ARG1}}${DIAL_NUMBER}) ; OUTNUM
is the final dial number
exten => s,15,Cut(custom=OUT_${ARG1},:,...
2005 Jul 11
1
ASterisk@home + Broadvoice = Almost working installation...
...GotoIf($[foo${OUTCID_${ARG1}} = foo]?9) ;check for CID override for
trunk
exten => s,8,SetCallerID(${OUTCID_${ARG1}})
exten => s,9,SetGroup(OUT_${ARG1})
exten => s,10,CheckGroup(${OUTMAXCHANS_${ARG1}})
; if we've used up the max channels, continue at 109 (n+101)
exten => s,11,SetVar(DIAL_NUMBER=${ARG2})
exten => s,12,SetVar(DIAL_TRUNK=${ARG1})
exten => s,13,AGI(fixlocalprefix) ; this sets DIAL_NUMBER to the proper dial
string for this trunk
exten => s,14,SetVar(OUTNUM=${OUTPREFIX_${ARG1}}${DIAL_NUMBER}) ; OUTNUM is the
final dial number
exten => s,15,Cut(custom=OUT_${ARG1},:,1...
2011 Oct 07
2
Add SIP diversion header in originate from AMI?
Hello!
I want to thank everyone who helped me out with tips for load balancing
asterisk machines in a cluster.
I have encountered a new problem that is related to SIP diversion headers in
the INVITE.
I make calls through the manager interface and now want to add a
SIP-Diversion header that changes the CallerID of a number that is not
available on the trunk, the CallerID to be visible externally
2005 Sep 14
2
PRI to PRI passthrough with DID intact
I currently have: Telco-PRI ---- Panasonic DBS576 PBX ---- E&M wink
T1 ---- Asterisk.
I have configured the Panasonic to forward my Asterisk DIDs to the Asterisk
extensions over the T1.
I do not get DID nor CID on the Asterisk, so I want to use PRI between the
PBXs.
I do not want to pay for another PRI card for the Panasonic. (T1 and PRI are
different cards)
I see this as my least
2006 Nov 10
2
Outgoing problem on PRI
...("SIP/146-b78060b0", "GROUP()=OUT_3") in new stack
-- Executing GotoIf("SIP/146-b78060b0", "0?108") in new stack
-- Executing GotoIf("SIP/146-b78060b0", "0?108") in new stack
-- Executing Set("SIP/146-b78060b0", "DIAL_NUMBER=6536595") in new
stack
-- Executing Set("SIP/146-b78060b0", "DIAL_NUMBER=6536595") in new
stack
-- Executing Set("SIP/146-b78060b0", "DIAL_TRUNK=3") in new stack
-- Executing Set("SIP/146-b78060b0", "DIAL_TRUNK=3") in new...
2007 May 17
2
Quadbri Cellular Issue
...8", "dialout-trunk|2|637574972||") in
new stack
-- Executing Set("SIP/200-09fc1698", "DIAL_TRUNK=2") in new stack
-- Executing Set("SIP/200-09fc1698", "_NODEST=") in new stack
-- Executing Set("SIP/200-09fc1698", "DIAL_NUMBER=637574972") in new
stack
-- Executing Set("SIP/200-09fc1698", "ROUTE_PASSWD=") in new stack
-- Executing Set("SIP/200-09fc1698", "DIAL_TRUNK_OPTIONS=tr") in new
stack
-- Executing GotoIf("SIP/200-09fc1698", "1?noauth"...
2007 Jan 16
2
IAX2 softphones can't (won't?) use PRI trunks....
...o ""Business Name" <xxx-nnn-nnnn>"") in new stack
-- Executing Set("IAX2/4414-6", "GROUP()=OUT_4") in new stack
-- Executing GotoIf("IAX2/4414-6", "0?108") in new stack
-- Executing Set("IAX2/4414-6", "DIAL_NUMBER=xxxnnnnnnn") in new stack
-- Executing Set("IAX2/4414-6", "DIAL_TRUNK=4") in new stack
-- Executing AGI("IAX2/4414-6", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
-- AGI Script fixlocalpr...
2005 Aug 02
12
WHat does it take
How many times do you ask for help here before getting a respone? Every
single thing I do No matter what I get busy extensions. I am willing to pay
someone to help here. Anybody got a clue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050802/d0d1326c/attachment.htm
2005 Aug 09
3
SIP-Trunk problem, Please help!!!
...20/4", "9") in new stack
-- Goto (macro-dialout-trunk,s,9)
-- Executing SetGroup("IAX2/20@20/4", "OUT_4") in new stack
-- Executing CheckGroup("IAX2/20@20/4", "5") in new stack
-- Executing SetVar("IAX2/20@20/4", "DIAL_NUMBER=484XXX2") in new stack
-- Executing SetVar("IAX2/20@20/4", "DIAL_TRUNK=4") in new stack
-- Executing AGI("IAX2/20@20/4", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlocalprefix: Added pr...
2010 Aug 07
0
Set outgoing number in filename of the recordings
...dingcheck file
.
.
.
include("phpagi.php");
/**********************************************************************************************************************/
$agi = new AGI();
$temp = $agi->get_variable("agi_dnid") ; // I have also tried with
get_variable("DIAL_NUMBER")
if($temp['result'] == 1 ) {
$dnid = $temp['data'] ;
}
else
{
$dnid = "NUMBER" ;
}
$timestamp = $argv[1];
$uniqueid = $argv[2];
$type = $agi->get_variable("ARG2");
.
.
.
Please help me
Regards,
Rishi
2006 May 26
0
No sound when the call is diverted
...SIP/YYYYYYYY-a1a7", "DivertNumber=02XXXXXXXX") in
new stack
-- Executing Dial("SIP/02YYYYYYYY-a1a7", "SIP/116| 15") in new stack
-- Called 116
-- SIP/116-ca11 is ringing
.
.
.
-- Executing SetVar("SIP/02YYYYYYYY-e487", "DIAL_NUMBER=02XXXXXXXX") in
new stack
-- Executing SetVar("SIP/02YYYYYYYY-e487", "DIAL_TRUNK=11") in new stack
-- Executing AGI("SIP/02YYYYYYYY-e487", "fixlocalprefix") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
fixlo...
2005 May 12
1
chan_capi and chan_misdn
Could someone please comment on the current state of chan_capi,
chan_misdn and chan_modem channel drivers in terms of functionality and
stability. Specifically, which channel driver would be best for a
passive PCI HFC or W6692 ISDN card. The chan_misdn wiki claims that
chan_capi distinguishes between junghanns and non-junghans cards, and
that chan_misdn is better suited for general misdn