[asterisk-users] Call Recording on Hanup
Marco Mouta
marco.mouta at gmail.com
Wed Dec 19 11:41:44 CST 2007
What makes you decide wehter or not you want to keep the recorded file? Is
the fact that the user hangup the call before the 30 seconds or the fact
that he really talked?
As far as I know current version of asterisk doesn't allow you to detect who
end up the call.
Of course you may use some tricks for these, I mean you may set the IVR to
record a bit more than 30 seconds, then when the call hangs up when you
reach the "h" extension in you diaplan you may check the answered time of
the call.
If your call has an answered time duration lower than 30 seconds, for sure
was the caller who hangup the call.
Hope it helps.
On Dec 18, 2007 8:04 PM, Jamshed Zaidi <jamshed.jimmy at gmail.com> wrote:
> yes, the senario is this when user gets a call IVR starts playing and
> after hearing beep user starts recording message for 30 seconds(call
> duration is for 30 seconds). What i want is During 30 seconds if user
> does hangup his/her call then message should be recorded
> otherwise(after timeout) message is discarded. Is there any thing that
> will help me...???
>
> currently I am doing the same thing on pressing 1 with php agi script
> and its working fine.
>
> On 12/19/07, Marco Mouta <marco.mouta at gmail.com> wrote:
> > What do you mean with record a call on hangup? If the calling party ends
> the
> > call you want to keep recorded file?
> >
> > On Dec 18, 2007 6:27 PM, Jamshed Zaidi <jamshed.jimmy at gmail.com> wrote:
> >
> > > Hello everyone out there, I am having a problem in call recording with
> php
> > > agi library. I have already recorded voice after playing an IVR, to
> accept
> > > the recording user need to press one. but I need to record a call on
> > hangup,
> > > Is there any way to do it. Currently i am using record_file() function
> in
> > > php. Is there any way to record voice by using record_file() function
> with
> > > hangup. can anyone helps me in resolving this problem ???
> > >
> > > --
> > > Syed Jamshed Zaidi (Jamy-Virus)
> > > Linux Admin/Programmer @ Naseeb Networks
> > > 0321-4087492
> > > "Shoot for the moon. Even if you miss, you'll land among the stars"
> > > _______________________________________________
> > > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> >
> >
> >
> > --
> > Esta mensagem (incluindo quaisquer anexos) pode conter informação
> > confidencial para uso exclusivo do destinatário. Se não for o
> destinatário
> > pretendido, não deverá usar, distribuir ou copiar este e-mail. Se
> recebeu
> > esta mensagem por engano, por favor informe o emissor e elimine-a
> > imediatamente. Obrigado.
> >
> > This e-mail message is intended only for individual(s) to whom it is
> > addressed and may contain information that is privileged, confidential,
> > proprietary, or otherwise exempt from disclosure under applicable law.
> If
> > you believe you have received this message in error, please advise the
> > sender by return e-mail and delete it from your mailbox. Thank you.
> >
>
>
> --
> Syed Jamshed Zaidi (Jamy-Virus)
> Linux Admin/Programmer @ Naseeb Networks
> 0321-4087492
> "Shoot for the moon. Even if you miss, you'll land among the stars"
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
Esta mensagem (incluindo quaisquer anexos) pode conter informação
confidencial para uso exclusivo do destinatário. Se não for o destinatário
pretendido, não deverá usar, distribuir ou copiar este e-mail. Se recebeu
esta mensagem por engano, por favor informe o emissor e elimine-a
imediatamente. Obrigado.
This e-mail message is intended only for individual(s) to whom it is
addressed and may contain information that is privileged, confidential,
proprietary, or otherwise exempt from disclosure under applicable law. If
you believe you have received this message in error, please advise the
sender by return e-mail and delete it from your mailbox. Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071219/bcd025c8/attachment.htm
More information about the asterisk-users
mailing list