Displaying 20 results from an estimated 200 matches similar to: "Stopping chanspy"
2009 Feb 11
0
ChanSpy problem
I have an extension defined like this:
exten => do_monitor,1,Answer()
exten => do_monitor,n,NoOp(Just got '${CfMC_ActionID}')
exten => do_monitor,n,ChanSpy(${CfMC_WhoHear},qX)
exten => do_monitor,n,Hangup()
I use an AMI packet like this:
Action: Originate
Channel: Agent/1001
Exten: do_monitor
Context: cfmc_cdi_private
Priority: 1
Variable: CfMC_ActionID=callE1334
Variable:
2009 Jan 28
1
Scope of variable
I have this extension:
exten => 1322,1,Answer()
exten => 1322,n,Set(CfMC_AMDValue="NotChecked")
exten => 1322,n,GotoIf($["${CfMC_DoAMD}" != "Yes"]?NOAMD)
exten => 1322,n,AMD()
exten => 1322,n,Set(CfMC_AMDValue = ${AMDSTATUS})
exten => 1322,n(NOAMD),Wait(1)
exten => 1322,n,UserEvent(E1322-1,${CfMC_ActionID}=${CHANNEL} &
${CfMC_AgentToUse}
2009 Jan 21
0
Playfile to both legs of call
Is there any way that I can use AMI to play a sound file to both legs of a
call without either issuing two commands, one per leg, or setting up meeting
rooms?
I would like to be able to play a sound file that can be heard by the caller
and the person called using AMI.
The only way so far I have been able to do this is the following. One
problem with this is that people will hear sound out of
2009 Feb 04
1
Stopping chanspy followup
I am still trying to figure out a reasonable way to exit the chanspy
application in a dialplan.
For the most part I understand how things are working and there is one
change I would like to propose.
The way the 1.4.23.1 code seems to work is that if there are no channels
that match the chanprefix argument the chanspy code stays in a loop waiting
for a new channel to come into being that matches
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 Aug 10
1
Playback during call
Hi all,
How can I playback a file within an active call?
I've tried with ChanSpy whisper mode like this (using AMI):
Action: Originate
Channel: Local/9999 at default
Priority: 0
Variable: MSG=test
Application: ChanSpy
Data: SIP/1234-123
Async: 1
and in the dialplan:
[default]
exten => 9999,1,Answer()
exten => 9999,n,Wait(2)
exten => 9999,n,Playback(${MSG})
Where
2011 Dec 15
3
Play audio file for both Caller and Callee in a call
Dear all,
Anyone of you knows how to play an audio file at the beginning of a call for both Caller and Callee?
A(x) of Dial application only plays audio for callee. I don't want to use MeetMe because I want to use Monitor and MixMonitor.
Thank you!
________________________________
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra pol?tica de env?o y recepci?n
2009 Jul 21
1
Dialplan step that I do not have
I have a dialplan that looks like this:
[dorecord]
exten => _*99XX,1,Verbose(2,Doing custom record)
exten => _*99XX,n,Answer()
exten => _*99XX,n,Verbose(2,Doing custom record - before wait)
exten => _*99XX,n,Wait(0.5)
exten => _*99XX,n,Verbose(2,Doing custom record - before record)
exten => _*99XX,n,Record(/tmp/prompt${EXTEN:3}.gsm)
exten => _*99XX,n,Verbose(2,Doing custom
2008 Nov 03
0
busylevel question
I am running asterisk 1.6.0.1. I have a Grandstream GXP280 phone I use for
testing. In addition I register a zoiper SIP soft phone.
For the Grandstream I have busylevel=1 in sip.conf.
If I place a call from the GXP280 to zoiper and then put that call on hold
from the zoiper side and then call GXP280's extension, asterisk indicates
the phone is ringing. As the GXP280 is a single line phone it
2008 Nov 06
0
Asking again about busylevel
I sent this email a few days ago but did not see any responses to it:
> I am running asterisk 1.6.0.1. I have a Grandstream GXP280 phone I use for
> testing. In addition I register a zoiper SIP soft phone.
>
> For the Grandstream I have busylevel=1 in sip.conf.
>
> If I place a call from the GXP280 to zoiper and then put that call on hold
> from the zoiper side and then
2010 May 10
1
More clarification on outbound sip channels.
Jim, and all:
Thanks for the response.
If I can repeat what you are saying: you don't have to define the multiple lines in sip.conf?
For comparison, with my current esi setup, we have 10 outgoing lines. If one line is busy, then the service just rolls to the next number. This is set up with the phone service.
That doesn't have to done with outgoing sip lines? Does the dialstatus
2009 Jun 26
0
Problem with RetryDial
I issue this command:
RetryDial(another-time,10,4,SIP/GXP280_18,10,ghM(cfmc_dial_private^RetryAndQ
ueue^SIP/GXP280_18))
Asterisk rings the phone for 10 seconds. Asterisk then waits 10 seconds.
Asterisk rings again for 10 seconds. I would expect this to happen a total
of 4 times.
The problem is that after the second ring for 10 seconds Asterisk exits the
RetryDial step with HANGUPCAUSE=0 and
2010 May 25
0
Using Sangoma Call Progress Analysis behind NAT router
I work at home with standard residential cable Internet service and I wanted to test CPA for use with our dialer solution. The first problem I ran into is that CPA only works with a SIP provider that does IP based authentication opposed to usename/password authentication. After I got an account setup to solve that problem I thought I was on my way to being able to test.
No so.
I got asterisk
2011 Apr 14
1
Microsoft Lync server and Asterisk access
We have a client that currently has a Microsoft Lync setup. I must admit I know nothing about this setup.
What we would like to be able to do is allow the phones on desks connected to this server the ability to dial something that would allow the phone to access an asterisk box to be able to do an agent login over their LAN.
Is there any way to do this? Can the Lync server have a SIP trunk to
2009 Aug 18
0
Date/time in queue_log
1250628579|MANAGER|S1140|Agent/265|ADDMEMBER|
Above is an example of a line from the file. Is there an option to
have this date/time output in a way that can be read without
conversion? The date/time in full and messages is formated so it can
be read directly.
--
Jim Dickenson
mailto:dickenson at cfmc.com
CfMC
http://www.cfmc.com/
2009 Feb 09
0
Problem with upper case extension names
It seems as if there is a problem if one uses Local/SomeName at some_context in
a Dial application. If the extension is changed to somename then things
work.
I have an extension SomeName defined. In another extension I try to dial
this extension and it does not work saying extension/context not found. The
extension displayed has uppercase characters so the case is not lost.
If I change the
2011 Feb 01
0
Connecting to Cisco Iad2430 to Asterisk
Is it possible to SIP trunk to this Cisco device so that phones connected to the Cisco box can dial extensions on the Asterisk box?
What I would like to be able to do is dial some extension(s) on phones connected to the Cisco box and have the call routed into extension(s) on the Asterisk box.
One of our clients has a call center with 65 analog phones connected to the Cisco box. We would like to
2010 Jun 02
0
SIP message problems - retransmit and lost messages
I have an asterisk system in Costa Rica that connects to a SIP provider in Atlanta. Sometimes SIP packets seem get dropped or retransmitted too quickly.
In trying to debug this I turned on SIP debug in Asterisk and the SIP provider enabled packet capture on his end.
What I saw was me sending an invite, them sending a 100 Trying, me sending a cancel, me sending a retransmit of the cancel, me
2009 Feb 09
0
Problem with AMI originate
It looks like a problem that I thought had once been fixed is broken again.
In manager.c line 2166 of both versions 1.6.0.3 and 1.6.0.5
if (!ast_strlen_zero(name)) {
The ! Should not be there.
I am not sure if there are other places there is a like problem but removing
the ! for sure fixes at least one problem.
--
Jim Dickenson
mailto:dickenson at cfmc.com
CfMC
http://www.cfmc.com/
2008 Oct 14
1
Help With AMI
I am trying to get updateconfig working.
I found an example of updating configuration files here:
http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+Upd
ateConfig
When I tried it the conf file was updated but the new entry was not added.
action:updateconfig
reload:no
srcfilename:manager.conf
dstfilename:manager.conf
Action-000000:append
Cat-000000:newuser