[asterisk-users] Fwd: Detection of Answer, hangup, busy etc while using Dial command
Raúl Gómez C.
nachogomez at gmail.com
Mon Jun 23 08:19:54 CDT 2008
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:
>
>
> ---------- 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
More information about the asterisk-users
mailing list