Displaying 20 results from an estimated 8000 matches similar to: "Dialplan extension pattern matching for '/' character"
2011 Apr 21
2
[asterisk-user] Can't get hostname on asterisk dialplan by ENV()
Hi Friend,
Can't get hostname environment variable on asterisk dialplan.
Help me about how to get hostname environment variable on asterisk dialplan.
I have written "export HOSTNAME" in /root/.bash_profile and when i execute
"echo $HOSTNAME" then get right hostname but not success through asterisk
dialplan.
Get environment variable path right value through below
2009 Dec 07
1
Error : SIP/2.0 401 Unauthorized
Hi Friends,
need to help.
*I have problem about sip : SIP/2.0 401 Unauthorized*
Is it require to nathelper module in kamailio ?
*what can i write kamailio.cfg file when kamailio and Asterisk on same
network?*
Scenario is like as :
-----------------------------
1) kamailio server on 172.18.100.74
kamailio.cfg ( nathelpler module )
-----------------
loadmodule "nathelper.so"
2010 Nov 24
2
asterisk-1.8.0 compilation error
Hi all,
I want to upgared from asterisk-1.6.2.6 version to asterisk-1.8.0 version.
When i execute "make" command for compilation i have seen below errors.
In file included from
/usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/cdr.h:31
/usr/src/asterisk-1.8/asterisk-1.8.0/include/asterisk/data.h:233: error:
field ?AST_DATA_IPADDR? has incomplete type
2010 Nov 18
2
exceeds the maximum size of ast_fdset error on Asterisk-1.8.0
Hi Friends,
i have installed and configure asterisk-1.8.0.
When i have tried asterisk start get below errors and not able to start
asterisk.
*FD 32767 exceeds the maximum size of ast_fdset!*
Thanks in advance.
--
Best Regards,
Rajnikant Vanza
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 Apr 17
0
How to Answer QUEUE call through AMI
Hi All,
Anybody know about to using AMI to agent answer call that placed in QUEUE.
Asterisk Version : 1.8.9.1
Queue Name : agent-support
Agent logged in Extension : SIP/8001,SIP/8002 ...
strategy : ringall
1) How to intimate or send information to available agent to inside queue
incoming call ringing.
2) How to agent answer incoming call that placed in queue.
3) AMI for agent Hold/Unhold call.
2011 Apr 30
12
HA Asterisk
Hi,
I have been looking at Asterisk SCF http://www.asterisk.org/asterisk/scf,
but its not yet production ready. Can someone please pitch in about HA
feature in Asterisk ?
(HA -> High Availability.) Also, What would be the pros and cons of using
AsteriskNow over Asterisk ? Are the versions same in Asterisk and
AsteriskNow ? We have been evaluating Asterisk for our Voice Application and
it seems
2014 Apr 03
0
How best to match hexadecimal values in dialplan pattern matching ?
Hi,
Quite often I told myself it would be convenient to have a dedicated
letter, such as E, to match [0-9A-Ea-e] in dialplan pattern matching just
like X match [0-9] or Z match [1-9].
This happens when I want to match a MAC address in my dialplan.
In this case, writing [0-9A-Ea-e] twelve times is not very pleasant.
What would you say about that ?
What is the best way to match a MAC address with
2005 Sep 12
0
Subject: '#' dialplan pattern matching
i am trying to setup a speed dial application in my dialplan, but
whenever i try to dial the pattern matched extension i get a 404 not
found. my extension is defined as
'_XX#,1,goto(default,${DB(${CALLERIDNUM}/${EXTEN:0:2})},1)'. after
doing some testing, i added an extension defined as '_.,1,NoOp(!* dial
${EXTEN})' and removed everything else in my context. i found that the
2007 Jan 01
1
Help needed with Polycom dialplan pattern matching
I'm using Polycom Soundpoint phones and I want to use some extensions beginning with # for features setup. I'm getting the fast busy "can't match it" signal. I want to match #50 for call forwarding, for instance, and #505551212 to set the call forwarding number and turn it on. I have tftp set up and sip.cfg contains the following:
<dialplan
2009 Nov 05
1
dialplan pattern matching
Hi
Is there anyway to add logic to dialplan pattern matching? I would
like to match all toll free numbers with one pattern, so 1800, 1877,
1866, 1855, etc. I can't figure out how to do this in dialplan syntax.
As a programmer, I want to say 18[00 or 77 or 66 or 55 etc]. Can't
figure out if this is even possible with dialplan pattern matching
(though I suspect it is somehow).
Andrew
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
2008 Aug 23
1
Anything to convert from JSON into Asterisk dialplan variables?
Is there anything already out there that can efficiently convert a
JSON string into Asterisk dialplan variables?
Our current backend speaks JSON and we need to parse the response to
construct the dialstring.
--
Eric Chamberlain
2010 Dec 17
3
Matching a pattern of vector of character strings in another vector of character strings
Dear all,
My question is illustrated by the following example:
I have a matrix M:
> M<- matrix(c("0","0","1","1","0","1","1","0","0","*","1","1","0","1","*"),nrow=3)
> colnames(M)<-
2009 May 12
1
enum agi interesting problem
Hi,
I am having a strange problem with enum and AGI.
Here is what happens:
I have in my agi something like that:
foreach my $resolver ("e164.arpa", "e164.info", "e164.org") {
my @enums = get_enums($phone, $resolver);
foreach my $enum (@enums) {
$dialstring = $enum .
2006 Jun 26
0
AEL scripting, CUT use and string concatenation
Hi to all,
i'm wondering to realize a dynamic macro that can take the number of
extensions to RING,the ring type and all the parameter in a dynamic way.
I have done this code to test it:
macro pbx-ring-group-ael(pbx_id,num_int,ring_type,timeout,ext_string) {
//; pbx_id = Id of PBX in the DB
//; num_int = Quantity of extensions to ring
//; ring_type = Kind of RING (C=contemporaneous
2009 Jan 16
0
No subject
Dialing out
If the AGI application dials outward by executing Dial, control over
the call returns to the dialplan and the script loses contact with the
Asterisk server. The script continues to run in the background by
itself and is free to clean up and do post-dial processing.
If you want your application to initiate a call out without being
started through the dialplan:
* Asterisk auto-dial
2009 Jan 16
0
No subject
Dialing out
If the AGI application dials outward by executing Dial, control over
the call returns to the dialplan and the script loses contact with the
Asterisk server. The script continues to run in the background by
itself and is free to clean up and do post-dial processing.
If you want your application to initiate a call out without being
started through the dialplan:
* Asterisk auto-dial
2006 Feb 22
2
mysql phone number pattern match query
Does anyone have a mysql query that will compare a number from the
asterisk cdr to a table of international country+city codes to determine
the closest match?
The two fields are;
1. Asterisk mysql cdr 'dst' field - sample record value
'011441316551212'
2. rate table data like this
DialPattern
011447977
011447979
011447980
011447981
011447984
011447985
011447986
2006 Mar 20
4
simple perl-agi - where's the error?
Hello!
I'm trying to setup a perl-deadagi, but my perl skills lack. can
someone tell me why the following code doesn't work:
#!/usr/bin/perl
use Asterisk::AGI;
$AGI = new Asterisk::AGI;
$dialstring = $AGI->get_variable("DIALSTRING");
$res = $AGI->exec("DIAL $dialstring");
the asterisk output says:
AGI Rx << GET VARIABLE DIALSTRING
AGI Tx >> 200
2006 Feb 03
4
cmd set with multiple values
hello!
has this made it into 1.2.3 already:
http://bugs.digium.com/view.php?id=6128 ?
i'm trying to set a variable that should be used as a dialstring in the
dial-command, including parameters seperated with the respective
delimiter, e.g. like:
exten => 907,1,Set(DESTINATION1=Zap/G1/4989123456789|10|gh)
exten => 907,n,Set(DIALSTRING=${DESTINATION1})
exten =>