[asterisk-users] Video call

2014-10-22 Thread Brahim Abidar
Hi there,
I have an issue , I want to make a video call to a streaming source using
Asterisk .
Someone can help me in this issue please?
Thanks in advance.

-- 

*Élève Ingénieur INE3 à l'Institut National des Postes et
Télécommunications * *INPT - Rabat - Maroc*


 *Responsable de la cellule Asterisk au **Club Electronique et Systemes
Embarqués de l'INPT*
*Membre du projet  ilearn, SIFE INPT*


* Tel : +212642398782*

*   Skype  : abidarbrahim*
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] read digits from the user through php agi script

2014-09-23 Thread Brahim Abidar
hi everyone,
actually i want to release an IVR system using PHPAGI API , in this IVR i
want to get value from the user.
I already used get_data defined in phpagi but they are not able to get the
value given by the user and store it in a php variable.
i tested this :
$result = $agi-get_data('beep', 3000, 20);
$keys = $result['result'];

but every time i found in $keys variable 0.

please any help or suggestions
thank you for spending your valuable time for me.

-- 

*Élève Ingénieur INE3 à l'Institut National des Postes et
Télécommunications * *INPT - Rabat - Maroc*


 *Responsable de la cellule Asterisk au **Club Electronique et Systemes
Embarqués de l'INPT*
*Membre du projet  ilearn, SIFE INPT*


* Tel : +212642398782*

*   Skype  : abidarbrahim*
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] read digits from the user through php agi script

2014-09-23 Thread Brahim Abidar
thank you Eric for your response
i will extract what i need in your function even i already test this :
exten= 777,1,Answer()
exten= 777,n,Read(digits,,1,,,3000)
exten= 777,n,SayNumber(${digits})
exten= 777,n,Hangup()

and it works for me but i don't know how to convert it to PHPAGI


On 23 September 2014 18:31, Eric Wieling ewiel...@nyigc.com wrote:

 I’m not going to help you debug your code, but I wanted to post part of a
 function from one of our internal AGIs which reads auth codes using a
 simple IVR.  The code is ugly but it might be helpful to you.   This code
 is released to the public domain.



 // no pin provided, get pin from caller

 $agi-answer();

 usleep(25);



 $try = 1;

 $bad_pass = FALSE;

 $auth_start_time = microtime(TRUE);

 while ($try  4) {

 if ($try == 1) {

 $agi-exec(Read, pin,/igc/sounds/cc-bong,$pinset_len,,1,3);

 } else {

 if ($pinset_len == 0) {

 $agi-exec(Read,
 pin,please-enter-youraccess-code/igc/sounds/cc-bong,,,1,5);

 } else {

 $agi-exec(Read,
 pin,please-enter-yourdigits/$pinset_lendigitaccess-code/igc/sounds/cc-bong,$pinset_len,,1,5);

 }

 }

 $temp = $agi-get_variable(pin);

 $pin = trim($temp[data]);



 if ($pinset_verify == 1  $pin != ) {

 $temp = array_search($pin, $pins);

 if ($temp !== FALSE) {

 $agi-set_variable(SM_START, $sm_start +
 (microtime(TRUE) - $auth_start_time));

 $agi-exec(CELGenUserEvent, \SM,status = OK, cause
 =000, detail = Verified PIN, pin = $pin\);

 return array(status = OK, cause =000, detail
 = Verified PIN, pin = $pin);

 }

 } else if ($pinset_verify != 1  $pin != ) {

 $agi-set_variable(SM_START, $sm_start + (microtime(TRUE) -
 $auth_start_time));

 $agi-exec(CELGenUserEvent, \SM,status = OK, cause =000,
 detail = Unverified PIN, pin = $pin\);

 return array(status = OK, cause =000, detail =
 Unverified PIN, pin = $pin);

 }



 if ($try != 1) {

 $agi-exec(Playback, badaccess-code);

 }

 $try++;

 }



 $agi-set_variable(SM_START, $sm_start + (microtime(TRUE) -
 $auth_start_time));

 $agi-exec(CELGenUserEvent, \SM,status = ERROR, cause =851,
 detail = Verified PIN, pin = $pin\);

 return array(status = ERROR, cause =851, detail =
 Verified PIN, pin = $pin);



 }





 *From:* asterisk-users-boun...@lists.digium.com [mailto:
 asterisk-users-boun...@lists.digium.com] *On Behalf Of *Brahim Abidar
 *Sent:* Tuesday, September 23, 2014 1:26 PM
 *To:* Asterisk Users Mailing List - Non-Commercial Discussion
 *Subject:* [asterisk-users] read digits from the user through php agi
 script



 hi everyone,
 actually i want to release an IVR system using PHPAGI API , in this IVR i
 want to get value from the user.

 I already used get_data defined in phpagi but they are not able to get the
 value given by the user and store it in a php variable.

 i tested this :

 $result = $agi-get_data('beep', 3000, 20);

 $keys = $result['result'];



 but every time i found in $keys variable 0.


 please any help or suggestions
 thank you for spending your valuable time for me.



 --


 *Élève Ingénieur INE3 à l'Institut National des Postes et
 Télécommunications * *INPT - Rabat - Maroc*


 *Responsable de la cellule Asterisk au Club Electronique et Systemes
 Embarqués de l'INPT*

 *Membre du projet  ilearn, SIFE INPT*


 * Tel : +212642398782*

*Skype  : abidarbrahim*



 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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




-- 

*Élève Ingénieur INE3 à l'Institut National des Postes et
Télécommunications * *INPT - Rabat - Maroc*


 *Responsable de la cellule Asterisk au **Club Electronique et Systemes
Embarqués de l'INPT*
*Membre du projet  ilearn, SIFE INPT*


* Tel : +212642398782*

*   Skype  : abidarbrahim*
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

Re: [asterisk-users] Elastix vs vicidial

2013-05-09 Thread brahim abidar
thank you for your question because i research some topics about call
center with asterisk
can you please give a tutorial and the method that you use to implement
this call center with vividial .



2013/5/9 Maaz Bin Mahmood pointed@gmail.com

 Hi Bilal, if you're looking for Asterisk, CRM and even Google Contacts
 integration, do check out Aptus FonB (www.aptus.com).

 I believe that's the exact solution you're looking for.

 Br,

 Maax

 __


 Hi;

 I used vicidial for call center and I would like to try elastix. Can
 someone
 advise about the advantages?

 Does Elastix has a screen for the agent to login/logout from their PC and
 deal
 with the inbound/outbound calls and Integrated with the *CRM*?

 Regards Bilal

 --

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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




-- 
*
**Élève Ingénieur INE2 à l'Institut National des Postes et
Télécommunications * *INPT - Rabat - Maro*c *

*
* * *Responsable de la cellule Asterisk au **Club Electronique et Systemes
Embarqués de l'INPT*
*Membre du projet  ilearn, SIFE INPT* *
   *
* Tel : +212642398782
   *
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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

[asterisk-users] problem

2013-02-06 Thread brahim abidar
Hi every body;

 I want to intall  some softwars working with my Asterisk server and I get
these erreurs :

*
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
error: cannot seek `/dev/sda'.
/usr/sbin/grub-probe: error: cannot seek `/dev/sda'.
dpkg: error processing grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 1
*

Please can any one let me know how can I resolve this problem;
-- 
*
**Élève Ingénieur INE2 à l'Institut National des Postes et
Télécommunications * *INPT - Rabat - Maro*c *

*
* * *Responsable de la cellule Asterisk au **Club Electronique et Systemes
Embarqués de l'INPT*
*Membre du projet  ilearn, SIFE INPT* *
   *
* Tel : +212642398782
   *
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

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