Displaying 20 results from an estimated 700 matches similar to: "cmd set with multiple values"
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 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 Apr 26
3
astcc: need partial pin code
I have not used astcc with pin codes so far, since I set-up the phone
number as card number.
Some of my users want now to dial in to the system and than use their
card, which is their phone number.
For that I would need a way of authentication, like a pin.
I want to use something like:
What is your card number: <user keys in the number>
Enter your pin: <user enter a long pin>
2014 Jul 11
2
CDR(dst) not set in AEL macro
Hi
I'm using a macro to dial in a AEL dialplan. The problem is the macro do
not set the field CDR(dst), showing only ~~s~~.
I tried various configurations, but without solutions.
This is the macro:
macro dial-out(destno,dialstring,route_descr,interno) {
__TRANSFER_CONTEXT=ipbx;
if(${interno} = 1) {
Set(__PICKUPMARK=${destno});
if(${ODBC_verify_user(${CALLERID(num)})} > 0) {
t = tT;
}
2007 Sep 20
1
GROUP() issues for me
I've got a macro that tries to find the first available SIP trunk to send
outgoing calls on. It tracks the usage of the lines (since each trunk has a
call-limit of 2) by using GROUP(). My problem is that once a call switched
to ANSWER state, ``group show channels`` stops listing it and then my Macro
starts screwing up because it's sending calls to a line that sometimes is
full even
2006 Jan 16
1
chan_capi-cm and DID
Hi all,
i have asterisk 1.0.9 with an Eicon Diva 4bri and
chan_capi-cm-0.6. I have 2 NTBAs (one with did and one
without).
When using the one without did, i am able to place
outgoing and incoming calls. When i use the NTBAs with
did i have a layer 2 error.
Anyone an idea?
-- Executing Dial("SIP/2004-9634",
"CAPI/g1/43XXXXXX") in new stack
> data = g1/43XXXXXX
2007 Apr 02
1
SIP 484 (Early Dial) and International Dialing
I'm building a dialplan for use with a bunch of GXP2000 desk sets. During
testing, we had some user issues surrounding the lack of an on-phone
dialplan. Users would hit 9 and sit there waiting for a redial tone, and
the GXP would time out, sending just '9' to *, which couldn't do much other
than spit back a 404 or play pbx-invalid.
I turned on the "early dial" option
2007 Feb 04
1
Help - Received response: "Forbidden" from '"Unknown"
I have a weird problem....
Asterisk 1.4
E100P connected to a Panasonic TDA phone system
Here is what I get
SIP Ext -> Panasonic Ext No Problems
Panasonic Ext -> SIP Ext No Problems
SIP Ext -> VOIP Provider No Problems
Panasonic Ext -> VOIP Provider Errors
---------- Working SIP -> VOIP
-- Executing [903........@from-sip:1] Dial("SIP/610-097aee60",
2004 Apr 12
0
strange error at extension.conf
hi,
i write this looking for free conference room, i checl code and don?t see any error but die at priority 7 if room 1001 have users in
exten => _1NXXNXXXXXX,1,RouteCall(${EXTEN})
exten => _1NXXNXXXXXX,2,GotoIf($[${DESTINATION1:0:3} = CONF]?3:13)
exten => _1NXXNXXXXXX,3,Setvar,var=0
exten => _1NXXNXXXXXX,4,MeetMeCount(1001|var)
exten => _1NXXNXXXXXX,5,GotoIf($[${var} =0]?7:6)
2023 Jun 07
1
Listen to ARI events
On Wed, Jun 7, 2023 at 10:46 AM TTT <lists at telium.io> wrote:
> I’ve reread the documentation a few times, and what isn’t clear is whether
> I need an app=X parameter in the url. In other words, can I only get
> events for a single named statis app? Or can I get events for the entire
> Asterisk server?
>
>
>
> The command below (without app= parameter) results in
2008 Mar 17
6
Handling 3 different call ending causes
Hello List,
I'm using a dialstring like the one below. I want to have three different
things happening depending on exit cause.
Dial(SIP/${phonenumber},20,gL(20000[:5000][:5000]))
These 3 things could happen:
1, Caller hangs up
2, Callee hangs up
3, The 20 seconds is up and call is terminated from Asterisk.
Is there a way to separate these 3?
Thanks,
Best regards,
Tobias
--------------
2004 Jan 22
1
chan_capi: suppress calling number on outbound dialing?
Hi,
I just wonder, if it is possible, to suppress my own number on outbound
dials with chan_capi. I took a look into the sources and think it might
work with toggeling the "@" in front of the outbound msn in the
dialstring. (Dial(CAPI/@msn... vs. Dial(CAPI/msn...
But it doesn't work. Maybee I'm wrong and misunderstood the code.
Thanks for any answers!
Karsten
2005 Mar 14
4
How to Flash() a modem line
Hello!
I'd like to Flash() a modem line (BRI) with Asterisk. It is a
passive ISDN-card connected to a hardware PBX. I use ISDN4Linux.
I recognised that unfortunately the Flash() application flashes
Zap devices only. Now I am wondering how I could flash Modem/ttyI0.
The source code chan_modem.c doesn't contain anything about flashing
a modem line. So I tried to simply put the AT-command
2006 May 30
1
Asterisk::AGI and DIALEDTIME
Hi List,
In one of my AGIs (using DeadAGI) I grab the answered time using:
my $res = $agi->exec ("DIAL $dialstring");
my $answeredtime = $agi->get_variable ("ANSWEREDTIME");
However this information differs from what's written in the Master.csv
file (which happens to be the correct value!)
Any ideas why?
I'm using asterisk 1.2.7.1 and the
2010 Apr 13
1
SIP equivalent of zap "c" option
At the moment, we have a feature where if someone's sip extension is
called, we also make another call to their mobile. We use the "c"
option in the zap dialstring so that the user has to press "#" after
answering to confirm the call (this prevents things like the
answermachine grabbing the call if the mobile is switched off).
We are now looking to move towards a sip
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
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
2006 Mar 15
1
AVM C2 chan_capi-cm-0.6.3 Error on Dial
I'm getting a strange error on one of the two controllers on an AVM C2
card under chan_capi-cm-0.6.3.
I have two ISDN controllers defined, both in the same group, both
connections are UK ISDN2e Point to Point:
On the third outbound call (both of the first two calls are handled by
the second controller "ISDN2",) I get this error :
chan_capi.c conf_error 0x2001 PLCI=0x301
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