Displaying 20 results from an estimated 151 matches for "dialstrings".
Did you mean:
dialstring
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
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
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 =>
2006 May 23
3
AGI ?
Hi All,
I have been attempting to get an AGI LCRdialout script to work.
Basically what I need to have happen is when someone dials out a number
the script check to see if it is local if so, go out the ZAP channel. If
the ZAP channel is busy, go out the IAX channels, if IAX is all busy, go
out the SIP channels. Here is a sample of what I have in my script.
#!/usr/bin/perl
use strict;
use
2004 Nov 29
2
Variable substitution - How can I do Dial(${DIALSTRING}) where ${DIALSTRING} is 'SIP/201, 15, tT'?
I've been banging my head against a brick wall for the last hour and I'm
sure this is one of those easy to solve things - just that I can't see the
wood for the trees.
I'm trying to do:
-----------
[some-context]
Exten => s,1,Macro(dodial,'SIP/201,15,tT',123456,MOHClass)
[macro-dodial]
Exten => s,1,SetCallerID(${ARG2})
Exten => s,2,SetMusicOnHold(${ARG3})
Exten
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
2007 Jun 15
2
combining AGI with dialplans
On 2007-05-15 Tony Mountifield wrote (wrt using AGI scripts to dial out):
> Can't comment on this one, as I never use AGI to dial.
> My AGIs just set the context, extension and priority,
> and exit to the dialplan to do any dialling.
(http://article.gmane.org/gmane.comp.telephony.pbx.asterisk.user/185537)
I would like to do this, but I am having trouble figuring out how. I have
2008 Oct 25
1
gtalk dialstring?
Hi everyone!
I couldn't find anything expressive about gtalk dialstrings. It doesn't seem
to work. I'm not sure why, so I'll start at the easiest point.
The syntax I found was:
gtalk/my_account_name/buddys_account_name at gmail.com
Is this correct?
And does any of you googletalkers know, if a simple google-mail account is
enough to use the talking...
2007 Nov 30
3
How to setup redundant SIP peers
Hello list,
I try to setup an asterisk-server with different SIP-Peers to PSTN.
The Peer are working and configured in sip.conf:
[peer1]
type=peer
host=10.10.10.1
[peer2]
type=peer
host=10.10.10.2
Now dialout is no problem. Extensions.conf says:
exten => _0Z.,1,Dial(SIP/49${EXTEN:1}@peer1,30)
But how can I setup a failure-route if the SIP-Proxy "peer1" ist not
2014 Oct 22
0
SIP dialing with authentication with dialstring and wothout sip; conf
Hello,
I've got a bunch outgoing-only SIP trunks "connected" to an asterisk 11 setup.
I've read the following doc [1] stating you can pass username/password
in a dial string.
My goal is to dial from asterisk through one SIP trunk or another
without touching my sip.conf file.
In other words, I'm planning to use:
Dial(technology/user:password at
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>
2006 Mar 29
1
OT: HOWTO: Query channel state on an Ateus Voice Blue GSM gateway
Because the VoiceBlue is only 4 channels and I am supporting 100 cell users,
I needed a way to overflow calls to the PRI of all 4 channels are full.
Unfortunately, there seems to be no built-in mechanism to determine if the
gateway is full, so this script parses the output of "asterisk -rx sip show
channels XXX.XXX.XXX.XXX" to determine the number of channels currently in
use. Hope this
2008 Jan 12
2
Perl-AGI process
Hi All,
i have created one prepaid PERL AGI script to integrate asterisk users in our current Oracle Billing System. I am using $AGI->exec('Dial', $dialstr); in script after getting the MAX time out for the priticular call.
But when the channels increase on my asterisk more than 50-60 asterisk get crashed and i am suspecting the cause is of AGI Script. because when i check ps on
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
2005 Oct 07
1
ASTCC -- semantic note of 'callstart' in cdrs?
Looking at the code, it would appear that the 'callstart' column of the cdrs table should really be
called 'callend':
$dialstr = "IAX2/$res->{path}/$phone|30|HL(" . ($maxtime * 60 * 1000) .
":60000:30000)";
$res = $AGI->exec("DIAL $dialstr");
$answeredtime =
2006 Feb 20
1
Dial from AGI = no ring back ??
Hi everybody,
I sent an e-mail this morning regarding SIP / IAX2
with no ring-back, I now succeeded to pin-point the
problem, here it is, if I dial a provider directly from
extensions.conf I get ring-back, if I dial from an AGI
script I don't get the ring-back but it calls anyway.
I use 1.0.9.
Any hint would be appreciated ! Thanks,
Frederic
;Calling this one does not give me ring back
2006 Jun 24
2
Playing sound before dialing
Hi,
I have configured asterisk now with ENUM lookups which are working
really perfect.
Now I want to play a small soundfile before dial the number to inform
the caller which protocl is used (SIP, IAX2 or ISDN).
How can I do this?
With Playback it doesn't seems to work:
[iax2-sipport-out]
; with leading 3 using IAX-sipport
exten => s,1,NoOp(Dialing ${DIALSTR} with iax2-sipport-out)
exten
2006 Dec 20
0
asterisk run on vxworks for hardware pbx
Hi
My hardware PBX run asterisk on vxworks,Because the vxworks not support
perl.
Now I want to add a callback function to my pbx.
now it can store Caller and Called party numbers in queue when Called party
is busy
Then I malloc a new ast_channel to call.It is should use
ast_get_channel_by_exten_locked() or ast_channel_alloc() ,
my program as follow,But it isn't work, anyone know how to