similar to: dial extension and play sound file from shell on asterisk server?

Displaying 20 results from an estimated 10000 matches similar to: "dial extension and play sound file from shell on asterisk server?"

2009 May 21
1
32bit vs 64bit memory usage
Hi! I ran the following test on 3 different setups: #!/usr/bin/php <? $n=1024*256; $usage1=memory_get_usage(); $rusage1=memory_get_usage(true); $a=array(); for($i=0;$i<$n;$i++) $a[]=0; $usage2=memory_get_usage(); $rusage2=memory_get_usage(true); echo ($usage2-$usage1).'/'.($rusage2-$rusage1); ?> ...and I got the following results: 32bit
2007 Nov 30
4
How to originate a call from console CLI ?
Hi, I would like to originate my first call from CLI. As I'm new to this, I'm wondering if it's possible. When I type "originate" from CLI, I've got this : " There are two ways to use this command. A call can be originated between a channel and a specific application, or between a channel and an extension in the dialplan. This is similar to call files or the
2010 Oct 21
1
How to kill AMI ORIGINATE on-the-fly
My application fires several calls thru AMI ORIGINATE command. For example if I have 3 operators I do 3 ORIGINATEs. My trouble is when one operator quit for some reason, I should kill the corresponding ORIGINATE. Of course, I could let the call ring and hangup after the customer pick-up. But this is not the case, I do have to kill the corresponding ORIGINATE. I could execute a soft hangup,
2008 Nov 18
1
sound quality between two back-to-back asterisk
Hi, I have two asterisks that are connected to each other via a back-to-back E1 link using a pair of sangoma cards. With the following scenario: SIP-PHONE <-> Asterisk <-> E1 <-> Asterisk <-> SIP-PHONE, the sound quality degrades significantly. I can't understand why as the amound of packet lost should be very minimum. Does anyone know why? Does it have anything
2010 Apr 07
2
AGI + Dial + stream file ?
Hi all, I am running an AGI script in a command dial, or call a SIP trunk. I want to execute after 10 minutes a voice message (stream file) on the channel to warn the person that the call is about to end. How to do that? Thank you, Mickael. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Dec 27
2
Meetme - play the name
Hi, I have a requirement, whenever a user comes into the conference, it has to announce the user name to all the person who are all available in the conference. I have used Meetme(,di) where i is to announce the user leave/join with review. I user used I also, which is to announce the user leave/join with out review. In both the above cases, it is prompting the user to say their
2007 Dec 26
2
No cdr_csv after upgrade from 1.2.x to 1.4.x
After upgrading from 1.2.x to 1.4.x call detail records are not being written to /var/log/asterisk/cdr-csv/Master.csv In cdr_manager.conf I have [general] Enabled = yes Apparently there is something else that needs to be configured for call detail records in 1.4.x. Can someone point me in the right direction? Don Pobanz
2010 Jun 19
2
asterisk appache issue
Hi Everyone, I installed Asterisk-1.6 by user root and its working fine. but when i tried to run any asterisk command through apache user it shows Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist? i think its a permission error. how can i give the root permission to apache ? ?please help !!!!!! -------------- next part -------------- An HTML attachment was
2008 Nov 11
0
dial a number while play the sound
hi guys: i have a question: when i dialed a number via sip channel to pstn,i want to listen to my music instead of silence while the sip message was transfering. I have tried the DIAL(,,A(.gsm)),but it always play the sound after the channels have been connect! what can i do if i want to hear the sound when i'm waiting the channel connecting. thank you very much ! best
2008 Jan 01
3
[1.4 + FreeBSD 6.2] Playing WAV PCM file?
Hello Happy New Year! I succesfully installed the Ports of Zaptel BSD 1.4.0 and Asterisk 1.4.13 (that's the latest in the Ports). To save CPU, I'd like to play PCM WAV files instead of eg. GSM. Per... www.voip-info.org/wiki/view/Convert+WAV+audio+files+for+use+in+Asterisk ... I recorded a sample of my voice using XP's Sound Recorder, then ran the following : sox test_wav.wav -r
2010 May 16
1
play a sound file directly to a caller channel
Hello User-List, is it possible to play a sound file directly to a caller channel? Like this AMI command Action: Originate Channel: SIP/20-00001d41 Application: Playback Data: /path/to/audio/file I get an Error Message. My intension is to play a sound file to a caller and the other callers don't hear this. Can someone help me ? Thanks a lot Bye Daniel
2010 Oct 20
2
Playback in the middle of a call though AMI
Hi folks, Is it possible (asterisk 1.6) to trigger the playback of an audio file in the middle of a call using the Manager Interface? I'm looking for something like AMI PlayDTMF command but for audio files. Thanks a lot, G. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Dec 17
2
Music On Hold
Hello everyone, I am having a bit of problem getting MusicOnhold to play. I am running Asterisk 1.4 with MPG123 0.59 installed. And here's what i see in the debugging window of asterisk: -- Started music on hold, class 'default', on channel 'SIP/x123-082043d0' -- Stopped music on hold on SIP/x123-082043d0 Any idea why it is not playing the file at all? thanks
2008 Nov 18
1
Incoming Transfer
I have incoming analog and SIP DIDs that all ring multiple sip extensions with a Dial command as the first exten. I am curious to know if it's possible for the incoming caller to transfer out of the Dial command while in progress and dial a single extension? Thanks! jlc
2008 Dec 23
1
second trunk in extensions.conf
I have a TE210P digium card that has 2 E1/T1 ports. the code in my extensions.conf file for span 1 is : [globals] CONSOLE=Console/dsp ; Console interface for demo TRUNK=Zap/g1 ; Trunk interface TRUNKX=Zap/g2 ; 2nd trunk interface ... ... ; dial a long distance outbound number to SPAIN ; This
2009 Mar 04
2
Outlook integration?
Hey, all. I was just wondering if there were any tools/utilities/what-have-you out there that would allow a user to click on a contact in Outlook, and have their phone dial it? (Or, I guess, have Asterisk dial both their phone and the destination number, and put the two into a conference.) Thanks! -Ken -- This message has been scanned for viruses and dangerous content by MailScanner, and is
2008 Dec 17
1
Asterisk and NAT one way audio
Hello may situation is the next: Asterisk <--> NAT1 (router)<---> internet <--> NAT2 (router) <--> x-lite ^ | ip phone (cisco) Asterisk and de cisco phone are in the same LAN. I want to make a call between the x-lite and the ip phone. I can do the call but there is only audio from de ip-phone
2003 Nov 19
1
Play a "sound" after dialing a user...
I'd like to play a sound to a user I dial (via SIP) once they answer play the sound and then allow me to talk to them. The new Cisco 7960 SIP code allows to set lines to autoanswer via the speaker phone, I'd like to play a "tone" after it rings through and then talk... Any thoughts on how to do this?
2010 Oct 11
4
SIP and ANI
Hi All, My research indicates ANI is not really supported with SIP Channels or passed between SIP servers, even with setting function CALLERID(ANI). So the only place this applies is on PRI interfaces, when sending calls out a ZAP PRI you can set the ANI to whatever and CID Number to a different whatever so on the other end of the PRI you will receive the two different values? Is this correct or
2009 Nov 05
1
Playing Sound during dial
Hi All, How can i play a sound during dial while waiting for it to connect? Coz currently i'm using SIP providers from other countries, when i send them the call there is a bit of delay to connect. I would like my users to hear a music first then when the call connects the sound gets canceled out. coz some users think the phone does not work coz they just hear a long silence but they