Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Fwd: Detection of Answer, hangup, busy etc while using Dial command


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
uniquearun04 at gmail.com
Guest





PostPosted: Sat Jun 21, 2008 6:23 am    Post subject: [asterisk-users] Fwd: Detection of Answer, hangup, busy etc Reply with quote

---------- Forwarded message ----------
From: Arun Kumar Chaudhary <uniquearun04 at gmail.com>
Date: Sat, Jun 21, 2008 at 4:51 PM
Subject: Detection of Answer, hangup,busy etc while using Dial command
To: asterisk-users at lists.digium.com.
Hi Guys,
I am in kanpur, India.
I am using Dial() command in my phpagi script. I am unable to detect
whether it is connected to the dialed number, if the call is picked up, if
the called person disconnects the call, or the line is busy. On the asterisk
CLI it show native bridging started.
I also need to record the discussion. That is someone call my server. I
connect him to someone else... and now I wand to record this discussion.
Dial command uses option "wW" to record but it doesn't work.

If anybody have answer of my question plz mail me. I will be really thnkful
to you guys.

Sincerely
Arun Chaudhary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080621/86c09010/attachment.htm
Back to top
nachogomez at gmail.com
Guest





PostPosted: Mon Jun 23, 2008 8:19 am    Post subject: [asterisk-users] Fwd: Detection of Answer, hangup, busy etc Reply with quote

Well, I can help you with the phpagi script, but if you are working with Zap
channels you can use something in your zapata.conf like this in order to try
to detect disconection/answer/pickup:

busydetect=yes
busycount=4
callprogress=yes
progzone=us ; if you are using another zone it maybe won't work, just try
hanguponpolarityswitch=yes
In order to record the conversation you can use something like this in your
extension.conf

exten => 888,1,MixMonitor(/path/to/some/dir/AsteriskMix.wav)
exten => 888,n,Dial(YourTechnologie/number)
exten => 888,n,StopMixMonitor()
exten => 888,n,Hangup()

On Sun, Jun 22, 2008 at 6:53 AM, Arun Kumar Chaudhary <
uniquearun04 at gmail.com> wrote:

Quote:


---------- Forwarded message ----------
From: Arun Kumar Chaudhary <uniquearun04 at gmail.com>
Date: Sat, Jun 21, 2008 at 4:51 PM
Subject: Detection of Answer, hangup,busy etc while using Dial command
To: asterisk-users at lists.digium.com.


Hi Guys,
I am in kanpur, India.
I am using Dial() command in my phpagi script. I am unable to detect
whether it is connected to the dialed number, if the call is picked up, if
the called person disconnects the call, or the line is busy. On the asterisk
CLI it show native bridging started.
I also need to record the discussion. That is someone call my server. I
connect him to someone else... and now I wand to record this discussion.
Dial command uses option "wW" to record but it doesn't work.

If anybody have answer of my question plz mail me. I will be really
thnkful to you guys.

Sincerely
Arun Chaudhary


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




--
Nacho
Linux Counter #156439
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080624/d5f6eac4/attachment.htm
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services