Displaying 20 results from an estimated 700 matches similar to: "Passing Variables From Dial Macro To Parent Ruby"
2010 Jul 26
0
URGENT - who picked up the call??
Hello,
I've been looking for this on voip-info and this list threads, and I am
guessing I am not looking right.
What I need is the way to capture (and write to DB) the information on who
'picked' or 'received' the incoming call.
Here is the example of .rb file that is called from extensions.conf:
private
def lokal
2010 Jul 26
1
URgent - capturing 'answered'
Hello everyone.
I need a quick help on how to capture who answered the call with agi.
Here is an example:
-- Zap/32-1 is ringing
-- Zap/33-1 is ringing
-- Zap/34-1 is ringing
-- Zap/35-1 is ringing
-- SIP/operator1-e77f answered Zap/23-1
So how can I capture this value and write it to mysql?
I already have this:
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
2010 Oct 15
3
SIP - no audio behind nat problem
Hello,
We have 2 grandstream GX 2000 phones behind NAT and Asterisk outside this
natted network.
We have the issue with calls to these SIP phones - no audio.
It is probably the problem with port forwarding on router - but I am not
sure how can I forward same sip ports (5004 to 5100) to two phones (nat
addresses?)?
Any help appreciated!
Z. Zivanovic
-------------- next part
2010 Jul 30
2
agi macro problem
I am trying this approach to see who picked the line:
Here is what i am doing:
EXEC DIAL SIP/ vaso &Zap/35||M(testing^30086)
Macro:
[macro-testing]
exten => s,1,DumpChan()
exten => s,2,AGI(whopicked.rb)
exten => s,3,Hangup()
2008 Mar 25
9
Autodesk applications (AutoCAD & Civil 3D)
Hello,
My questions are about Autodesk applications (AutoCAD 2008 & Civil 3D 2008).
The main problem is that I can not install them to wine.
When I insert CD, and on terminal type:
Code:
wine setup.exe
I'm getting this messages:
Code:
zarko at zarko-pc:/media/cdrom$ wine setup.exe
fixme:process:IsWow64Process (0xffffffff 0x33feb4) stub!
zarko at zarko-pc:/media/cdrom$
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
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 Feb 04
0
Stopping chanspy
I would like to be able to stop the chanspy application and go to the next
step in the dialplan but I do not see a way to do that.
I have looked at the code and I do not see a way to stop the chanspy
application.
Even if there are no channels that match the chanprefix pattern the chanspy
application is not exited.
Hitting the * key stops spying on a channel but then starts spying on the
same
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
2006 Dec 20
0
A way to find info about process parent, parent''s parent, and so on?
I am using dtrace on a Mac OS X Leopard beta.
Currently I''m tracing read operations. I''d like to get info about the process which is creating the reads, as well as information about parent processes. The least amount of information I need is pid and process name, but more would certainly be a plus!
I know that in the probe entry, pid, ppid, and process name are easily
2008 Aug 18
0
On move ACLs from source parent are preserved & not inherited from new parent
Hi!
We're using sernet-samba 3.0.28-21 on debian. (The smb.conf can be found
below)
There are 2 subfolders in root share directory "ponudbe" and "projects":
srv03:/srv/data/test# getfacl *
# file: ponudbe
# owner: root
# group: root
user::rwx
user:COMPANY+administrator:rwx
group::r-x
group:COMPANY+ponudbe_rw:rwx
mask::rwx
other::---
default:user::rwx
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