Re: [asterisk-users] Call Recording on Hanup

2007-12-19 Thread Marco Mouta
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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.
___
--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

Re: [asterisk-users] Call Recording on Hanup

2007-12-19 Thread Jamshed Zaidi
sure it will really help me thanx for responding.

On 12/19/07, Marco Mouta [EMAIL PROTECTED] wrote:
 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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.



-- 
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


[asterisk-users] Call Recording on Hanup

2007-12-18 Thread Jamshed Zaidi
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

Re: [asterisk-users] Call Recording on Hanup

2007-12-18 Thread Marco Mouta
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 [EMAIL PROTECTED] 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.
___
--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

Re: [asterisk-users] Call Recording on Hanup

2007-12-18 Thread Jamshed Zaidi
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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