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


[asterisk-users] Problem in Recording file on Hangup ?????

2007-12-17 Thread Jamshed Zaidi
Hi guys
I am facing a problem in recording voice on Hangup. I am using php agi class
for this purpose. Currently its voice message is being recording when i used
to press 1. For this purpose i am using record_file() function with its
respective parameters. Is there any way that i can be able to record my
voice message on hangup (don't want to send 1 as DTMF to asterisk.).
Can you guys guide me towards its solution.

Thanx in Advance

-- 
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] Jamshed Zaidi wants to chat

2007-10-30 Thread Jamshed Zaidi
---

Jamshed Zaidi wants to stay in better touch using some of Google's coolest new
products.

If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-41f7263365-9f176e071a-d710297ddb46eb39
You'll need to click this link to be able to chat with Jamshed Zaidi.

To get Gmail - a free email account from Google with over 2,800 megabytes of
storage - and chat with Jamshed Zaidi, visit:
http://mail.google.com/mail/a-41f7263365-9f176e071a-3ea047d093

Gmail offers:
- Instant messaging right inside Gmail
- Powerful spam protection
- Built-in search for finding your messages and a helpful way of organizing
  emails into conversations
- No pop-up ads or untargeted banners - just text ads and related information
  that are relevant to the content of your messages

All this, and its yours for free. But wait, there's more! By opening a Gmail
account, you also get access to Google Talk, Google's instant messaging
service:

http://www.google.com/talk/

Google Talk offers:
- Web-based chat that you can use anywhere, without a download
- A contact list that's synchronized with your Gmail account
- Free, high quality PC-to-PC voice calls when you download the Google Talk
  client

Gmail and Google Talk are still in beta. We're working hard to add new features
and make improvements, so we might also ask for your comments and suggestions
periodically. We appreciate your help in making our products even better!

Thanks,
The Google Team

To learn more about Gmail and Google Talk, visit:
http://mail.google.com/mail/help/about.html
http://www.google.com/talk/about.html

(If clicking the URLs in this message does not work, copy and paste them into
the address bar of your browser).

___
--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] Problem in placing Call with Asterisk (Got SIP response 500 Internal Server Error)

2007-10-11 Thread Jamshed Zaidi
Hi guys this is my Ist mail on this group, I am running asterisk with CentOS
4.4 machine. When i initiate a call then error message apears. calling
Number is provided to Asterisk by the php application. Error message appears
like this

Got SIP response 500 Internal Server Error back from 209.47.92.
[Oct 10 23:55:20] WARNING[19289]: pbx.c:4976 ast_pbx_outgoing_exten:
SIP/verizon1-00ad5ba0 already has a call record??
Channel SIP/verizon1-00ad5ba0 was never answered

plz help me in resolving this issue. waiting for ur response.

-- 
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] How to access Voicemail Passwordin Asteriskwithout using V

2007-03-11 Thread jamshed zaidi
Sir, I cant use this script. i know that this script parse the contents of voicemail.conf file, now i m telling u what my snerio is.
I have php script which creates username.conf files after readingusername info from database,like jamshed.conf, riz.conf for each voicemail box configuration and these files are created in the /etc/asterisk/voicemail folder. i include the path of this folder in default context of voicemail.conflike this #include /etc/asterisk/voicemail/*.conf. so when i change my voicemail password through commedian mail then change will not be appeared in username.conf file but asterisk set the new entered password. so i want that password to process it. i dont know asterisk sets which variable against 123456=vm_password,mailbox,[EMAIL PROTECTED] etc... 
i want to know that variable which is set by asterisk when password change occurs through commedian mail and how do i access this variable through php or perl code ?
i guess u got my point.
Syed Jamshed Zaidi
Asterisk Admin/Developer
@ Axvoice +92-0321-4087492
(JAMY-VIRUS)"Shoot for the moon. Even if you miss, you'll land among the stars"


From: Philipp Kempgen [EMAIL PROTECTED]Reply-To: Asterisk Users Mailing List - Non-Commercial Discussionasterisk-users@lists.digium.comTo: Asterisk Users Mailing List - Non-Commercial Discussionasterisk-users@lists.digium.comSubject: Re: [asterisk-users] How to access Voicemail Passwordin Asteriskwithout using VDate: Sat, 10 Mar 2007 17:04:01 +0100jamshed zaidi wrote:  sir, i have configured voicemail already but the problem is i want a  variable which holds a value of password just like ${VM_CALLERID} variable  holds Voicemail Caller ID (Person leaving vm). i want to process password  set by the user through comedian mail. my snerio does not allow me to pick  password value from voicemail.cof file How do i come up with 
this  situationIf all else fails you might use an AGI script like this (put itin /var/lib/asterisk/agi-bin/):#!/usr/bin/php -q?php$mailbox = @$argv[1];$pass = '';if (preg_match( '/^\d*$/', $mailbox )) { $vmConf = file_get_contents( '/etc/asterisk/voicemail.conf' ); if (preg_match( '/^'.$mailbox.'\s*=\s*(\d*)/m', $vmConf, $m )) { $pass = $m[1]; }}echo 'SET VARIABLE vm_pass ', $pass, "\n";fFlush(STDOUT);?and call the script from within the dial plan:exten = 123,1,Set(my_mailbox=555)exten = 123,n,AGI(get-vm-password.php|${my_mailbox})exten = 123,n,SayDigits(${vm_pass})But maybe there is a better solution to 
this.Regards, Philipp--amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? - http://www.das-asterisk-buch.deGeschäftsführer: Stefan WintermeyerHandelsregister: Neuwied B 14998___--Bandwidth and Colocation provided by Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-usersFREE pop-up blocking with the new MSN Toolbar MSN Toolbar Get it now!

___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] How to access Voicemail Password in Asterisk without using VoicemailMain????????

2007-03-10 Thread jamshed zaidi

hi guys
can anyone tell me that how to access voicemail password without using 
VoicemailMain is there any variable where asterisk stores it or in 
db.plz reply as soon as possible


htmldivPRE class=quoteIMG height=2 
src=http://graphics.hotmail.com/greypixel.gif; width=100% 
vspace=9/PREPRE class=quoteFONT face=Courier New, Courier, Monospace 
color=#33 size=2Syed Jamshed Zaidi

BRAsterisk Admin/Developer
BR@ Axvoice +92-0321-4087492
BR(JAMY-VIRUS)/FONT/PREPRE class=quotePRE class=quoteFONT 
face=Courier New, Courier, Monospace color=#33 size=2Shoot for the 
moon. Even if you miss, you'll land among the 
stars/FONT/PRE/PRE/div/html






From: jamshed zaidi [EMAIL PROTECTED]
Reply-To: Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users@lists.digium.com

To: asterisk-users@lists.digium.com
Subject: [asterisk-users] Is there any variable for Voicemail Password 
inAsterisk

Date: Fri, 09 Mar 2007 12:19:46 +


Hi guys
This is my Ist post on this group. Is there any variable like ($VM_CALLERID 
for voicemail mailbox) for accessing Asterisk Voicemail password which is 
set through comedian mail.??

plz reply me as soon as possible

htmldivPRE class=quoteIMG height=2 
src=http://graphics.hotmail.com/greypixel.gif; width=100% 
vspace=9/PREPRE class=quoteFONT face=Courier New, Courier, 
Monospace color=#33 size=2Syed Jamshed Zaidi

BRAsterisk Admin/Developer
BR@ Axvoice +92-0321-4087492
BR(JAMY-VIRUS)/FONT/PREPRE class=quotePRE class=quoteFONT 
face=Courier New, Courier, Monospace color=#33 size=2Shoot for the 
moon. Even if you miss, you'll land among the 
stars/FONT/PRE/PRE/div/html


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


___
--Bandwidth and Colocation provided by Easynews.com --

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


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-users] How to access Voicemail Password in Asteriskwithout using V

2007-03-10 Thread jamshed zaidi


sir, i have configured voicemail already but the problem is i want a 
variable which holds a value of password just like ${VM_CALLERID} variable 
holds Voicemail Caller ID (Person leaving vm). i want to process password 
set by the user through comedian mail. my snerio does not allow me to pick 
password value from voicemail.cof file How do i come up with this 
situation



htmldivPRE class=quoteIMG height=2 
src=http://graphics.hotmail.com/greypixel.gif; width=100% 
vspace=9/PREPRE class=quoteFONT face=Courier New, Courier, Monospace 
color=#33 size=2Syed Jamshed Zaidi

BRAsterisk Admin/Developer
BR@ Axvoice +92-0321-4087492
BR(JAMY-VIRUS)/FONT/PREPRE class=quotePRE class=quoteFONT 
face=Courier New, Courier, Monospace color=#33 size=2Shoot for the 
moon. Even if you miss, you'll land among the 
stars/FONT/PRE/PRE/div/html






From: Philipp Kempgen [EMAIL PROTECTED]
Reply-To: Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users@lists.digium.com
To: Asterisk Users Mailing List - Non-Commercial 
Discussionasterisk-users@lists.digium.com
Subject: Re: [asterisk-users] How to access Voicemail Password in 
Asteriskwithout using VoicemailMain

Date: Sat, 10 Mar 2007 14:48:52 +0100

jamshed zaidi wrote:

 can anyone tell me that how to access voicemail password without using
 VoicemailMain is there any variable where asterisk stores it or in
 db.

voicemail.conf?

extension_number =
voicemail_password,user_name,user_email_address,user_pager_email_address,user_option(s)

http://www.voip-info.org/wiki-Asterisk+config+voicemail.conf


Regards,
  Philipp

--
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
 Let's use IT to solve problems and not to create new ones.
   Asterisk? - http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
___
--Bandwidth and Colocation provided by Easynews.com --

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


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


___
--Bandwidth and Colocation provided by Easynews.com --

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


[asterisk-users] Is there any variable for Voicemail Password in Asterisk

2007-03-09 Thread jamshed zaidi


Hi guys
This is my Ist post on this group. Is there any variable like ($VM_CALLERID 
for voicemail mailbox) for accessing Asterisk Voicemail password which is 
set through comedian mail.??

plz reply me as soon as possible

htmldivPRE class=quoteIMG height=2 
src=http://graphics.hotmail.com/greypixel.gif; width=100% 
vspace=9/PREPRE class=quoteFONT face=Courier New, Courier, Monospace 
color=#33 size=2Syed Jamshed Zaidi

BRAsterisk Admin/Developer
BR@ Axvoice +92-0321-4087492
BR(JAMY-VIRUS)/FONT/PREPRE class=quotePRE class=quoteFONT 
face=Courier New, Courier, Monospace color=#33 size=2Shoot for the 
moon. Even if you miss, you'll land among the 
stars/FONT/PRE/PRE/div/html


_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


___
--Bandwidth and Colocation provided by Easynews.com --

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