similar to: execute command just after Dial()

Displaying 20 results from an estimated 10000 matches similar to: "execute command just after Dial()"

2011 Dec 14
1
get start-time of all active calls
Hello, asterisk version 1.6.2.7 I want to get the start time of all active calls from console, could you please let me know the best way to get it. thanks, Kamlesh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20111214/b462516a/attachment.htm>
2012 Feb 11
1
Asterisk perl AGI confusing variables
Hello all, I'm struck with a very strange problem today. I've an AGI with some code subroutine snippet as follows: sub enable_sbc($) { my $carrier = shift; my $tmp = substr($carrier,1); my $jkh = $tmp; $server_port = $ast_agi->get_variable("SIPPEER($jkh,port)"); $ser_ip = $ast_agi->get_variable("SIPPEER($tmp,ip)");
2012 Feb 28
1
Alphanumeric DTMF !?
Hi list, What possibilities are there in asterisk to send an *alphanumeric DTMF*from/to asterisk !? Regards, Sammy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120228/e62e7890/attachment.htm>
2012 Feb 11
1
What is the best way to campaign dial 5000 numbers? Spool files or AMI actions?
Hi everyone, Using Asterisk 1.6x here with a TDM PRI. I have to run a campaign for about 5000 numbers and then put the call to agents right away and pull up the CRM based on the number dialed. So, I am going to be doing some PHP+Ajax work. I am familiar with spool files but I don't like the fact that I can't read the status of the call in real-time. However, I know that it's the
2011 Dec 27
1
how to used SIPp for sip load testing
Hi list, I have installed SIPp into my server. But not able to used it properly. how to configure with my server ? how to see logs on webpage ? how to start call testing .... when i start SIPp then found verious hits on myserver. *CLI:- * [Dec 27 17:37:54] NOTICE[28001]: chan_sip.c:20785 handle_request_invite: Call from '' to extension 'service' rejected because extension not
2012 Jan 14
1
Asterisk as UAC: How to put call OnHold
Hi! Maybe I am missing something or am a little blind at the moment, but I didn't find out how asterisk can place a call on hold when acting as user agent client to another SIP server. Scenario: ---------- Asterisk registers to another SIP server (provider) as user agent. An inbound call from this other SIP server comes in and arrives at asterisk. Asterisk performs some actions in the
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
2011 Sep 02
5
how to add-edit-delete entery into asterisk conf files
Hi list, I want ot do basic work (add-edit-delete) into asterisk configuration files, like sip.conf, manager.conf,musiconhold.conf etc. Please guide me how to configure all these files from from AMI connection. I am able to login into AMI from Login action but I want to do more task in to it. *AMI login:- * *login.php* <?php $socket = fsockopen("127.0.0.1","5038",
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 .
2011 Aug 12
1
Queue agent login notification
Hello, Is there a way to either store login/logout agent information in a database or at least send an email when an agent logs in or out of a queue? Thanks, Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110812/84130e1a/attachment.htm>
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 =
2004 Sep 07
1
astcc dont write to the table cdrs or cards
Hi, I have set-up astcc with outgoing sip channel. Call processing works fine but after the call tables, CDR and Cards does not get updated. At the beginning it goes to the database and fetch card details and correctly provides the card balance etc. Also it indeed write the inuse field (so writing and reading from database works fine). I've inserted a break point as such in the code;
2013 Jan 14
1
php programming for working with asterisk
Hi, I write some php code in AMI to working with asterisk command. I don't know exactly what is the different between AMI and AGI and witch one is better for my planning. Im planning to call party users that their number is is my panel on web. We have some operator and they can call party users via client softphone by clicking on their number, so they have to limited to call just listed
2011 Sep 28
2
PSTN connectivity
Hi All, I am trying to connect my asterisk box with freepbx to PSTN. I have purchased x100p FXO card and installed in my asterisk server. My freepbx detected the x100p FXO card and i can see the card specific details in command line. I have configured the following things. 1. OUTBOUND caller id and Dialing rules in Freepbx. 2. INBOUND route When i call to the PSTN number before
2010 Jul 27
2
Urgent help = RUBY & AGI
Here's something that should be easy for RUBY pro's. Here is a script: 1.times do r = $agi.exec('DIAL', SIP/voipuser&Zap/32&Zap/33&Zap/34&Zap/35) r = $agi.get_variable('DIALSTATUS') # $agi.set_variable(' WHOANSWERED
2013 Feb 26
1
set time zone in sip debug logs
Hello, Please suggest the way to change the time zone in below sip debug logs. INVITE sip:xxxxxxxxxx at xxx.xxx.xxx.xxx:5060 SIP/2.0Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5060;branch=z9hG4bK7bbd9;rportMax-Forwards: 70From: "xxxxxxxxxx" <sip:xxxxxxxxxx at xxx.xxx.xxx.xxx>;tag=as23a29r59To: <sip:xxxxxxxxxx at xxx.xxx.xxx.xxx:5060>Contact: <sip:xxxxxxxxxx at
2007 Sep 17
1
Problem with asterisk-perl-0.08 and Asterisk >= 1.2.20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I've been using for a long time asterisk-perl-0.08 for prepaid card applications, and I've identified a problem with the last releases of asterisk-1.2, installed with Trixbox. The command get_variable() raises a signal SIGPIPE when it is called (whatever the variable to get). I made tests with Asterisk 1.2.20, 1.2.21 and 1.2.22, and I
2012 Feb 16
2
Asterisk && RTCP
Hello list, I need to know about Asterisk's friendly nature with RTCP. I've phones which support RTCP and they connect to the outer world via multiple carriers. In one of my recent packet traces I've observed that the caller initiated a call with rtcp string in SDP while for the same call dialling our from Asterisk to the carrier has no RTCP string in SDP ! Can anyone please tell why
2015 Jul 15
2
How to dial extensions asynchronous-sequentially ?
Heya Rodrigo Not sure, but this expansion on Sammy's concept may help you achieve the delayed ring on the secondary extensions you were looking for. exten => _600.,1,Dial(PJSIP/${EXTEN}) exten => _600.,n,Hangup exten => _600.wait5,1,Wait(5) exten => _600.wait5,n,Dial(PJSIP/${EXTEN:0:4}) exten => _600.wait5,n,Hangup exten => 555,1,Dial(LOCAL/6001&LOCAL/6002.wait5)
2004 Dec 21
10
Codec Selection
Hi, I have 2 g729 licences - what I want to do is use g729 by default but if I get more than 2 calls at a time, use gsm for the others. So, I put this on all my sip providers: disallow=all allow=g729 allow=gsm However, this just seems to use gsm for everything. If I comment out the gsm line, it then uses g729. I thought it would use the codec's in the order they are allowed - is this