[asterisk-users] help connecting cell phone, chan_bluetooth

2006-09-11 Thread Mauricio Mantilla
Hi,I'm trying to connect my cell phone (motorola V3) to asterisk, using this guide: 
http://www.thetechguide.com/howto/asterisk/chanbluetooth.html
Everything has worked ok, but when I actually want to start
asterisk, my phone doesn't connect all the way. All I'm getting in the
asterisk CLI is this:[AG] Motorola  AT+BRSF=23and my phone keeps asking the pin number in order to get paired with asterisk, but apparently it never gets validated.
I changed the hcid.conf file so it wouldn't ask for a pin
number, and now the phone doesn't ask for it anymore, but I think it
still can't connect, cause I'm still getting the same message in the
asterisk CLI, every few seconds.
Does anyone have an idea of what could be wrong? can it be something wrong with my phone or my bluetooth dongle? or something about configuring asterisk?Any help would be really appreciated,
Mauricio Mantilla
___
--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] help chan_bluetooth

2006-09-08 Thread Mauricio Mantilla
Hi,I'm trying to connect my cell phone (motorola V3) to asterisk, using this guide: http://www.thetechguide.com/howto/asterisk/chanbluetooth.html
Everything has worked ok, but when I actually want to start asterisk, my phone doesn't connect all the way. All I'm getting in the asterisk CLI is this:[AG] Motorola  AT+BRSF=23and my phone keeps asking the pin number in order to get paired with asterisk, but apparently it never gets validated.
I changed the hcid.conf file so it wouldn't ask for a pin number, and now the phone doesn't ask for it anymore, but I think it still can't connect, cause I'm still getting the same message in the asterisk CLI.
Does anyone have an idea of what could be wrong?Any help would be really appreciated,Mauricio Mantilla
___
--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] sounds format

2006-07-25 Thread Mauricio Mantilla
Hi all, I'm doing an IVR, and I need to record some sounds and use some others that have already been recorded.I've seen several sound formats like gsm, g729, slin, and even wav.What is the best sound format to use for playback in asterisk??
Thanks,Mauricio Mantilla
___
--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] Simple But important question (for me)

2006-07-19 Thread Mauricio Mantilla
I'm doing something similar, using a php script to access a postgres database. I'ts quite easy using the phpagi class.Take a look at: http://phpagi.sourceforge.net/
good luck,Mauricio MantillaOn 7/19/06, Stefan Reuter [EMAIL PROTECTED] wrote:
Camilo Echeverry wrote: 1- receive the call (obvious) 2- get the Caller ID 3- Send the CID to another application and get some info from a Database example: Your address is some address
 4- Get that info and convert it into voice (by mixing various audio files) 5- return it to the Caller (as audio)Yes, Asterisk can do all of these. You might want to look at AGI/FastAGIfor implementing it.
# http://www.voip-info.org/wiki/view/Asterisk+AGI# http://www.voip-info.org/wiki-Asterisk+FastAGI
If your primary development language is Java you might also beinterested in Asterisk-Java which allows you to easily implement AGIscripts in Java: http://asterisk-java.org
=Stefan--reuter network consultingNeusser Str. 11050760 KoelnGermanyTelefon: +49 221 1305699-0Telefax: +49 221 1305699-90E-Mail:[EMAIL PROTECTED]
Jabber:[EMAIL PROTECTED]___--Bandwidth and Colocation provided by Easynews.com
 --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

___
--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] phpagi problem

2006-07-18 Thread Mauricio Mantilla
Yeah, I wrote it on a different file and it worked, i guess there was some hidden character in the script that was messing it up.Thank you anyway,Mauricio MantillaOn 7/17/06, 
Time Bandit [EMAIL PROTECTED] wrote:
 #!/usr/bin/php -q?php require('/var/lib/asterisk/agi-bin/phpagi.php'); $agi = new AGI(); $agi-say_digits(62410); $cid = $agi-get_variable(dir); $agi-say_digits($cid);
? I'm getting this error: parse error, unexpected '=' on line 6I don't know why you're getting this error, it parse correctly here.But one thing is that the line $agi-say_digits($cid); won't work.
When you do a get_variable, the result you get is an array, and themember holding the value is 'data'. So you have to write your linelike this : $agi-say_digits($cid['data']);Check the documentation : 
http://phpagi.sourceforge.net/phpagi2/docs/hth___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-users mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users

___
--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] phpagi problem

2006-07-17 Thread Mauricio Mantilla
Hi all,I'm trying to write a script using phpagi, but there's something that's not working and I can't figure out why.Here's my code:#!/usr/bin/php
 -q
?phprequire('/var/lib/asterisk/agi-bin/phpagi.php');
$agi = new AGI();
$agi-say_digits(62410);
$cid = $agi-get_variable(dir);$agi-say_digits($cid);
?
I'm getting this error:parse error, unexpected '=' on line 6can you tell me what am I doing wrong?thanksMauricio Mantilla
___
--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] THOR-2 support

2006-07-14 Thread Mauricio Mantilla
Hi all,I'm new to asterisk and I just installed it.I
already have a PCMCIA THOR-2 which supports two T1/E1 and I noticed
asterisk doesn't support this card, but I found that
I would have to write a glue code in order to work with this card.I'm not familiar with this code writing, but I'd really appreciate
if someone could give me a clue on where to start, or if anyone has
done something similiar before.I'm looking forward to work with this card.
Thanks in advance,
___
--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] PCMCIA card support

2006-07-12 Thread Mauricio Mantilla
Hi all,I'm new to asterisk and I just installed it.I already have a PCMCIA THOR-2 which supports two T1/E1 and I noticed asterisk doesn't support this card, but I fount over the ineternet that I would have to write a glue code in order to work with this card.
I'm not familiar with this code writing, but I'd really appreciate if someone could give me a clue on where to start, or if anyone has done something similiar before.I'm looking forward to work with this card.
Thanks in advance,Mauricio
___
--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] Re: PCMCIA card support

2006-07-12 Thread Mauricio Mantilla
Well, the thing is that I already have the THOR-2 card, so I'm looking for a way to work with itThanks, anyway

___
--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] Re: PCMCIA card support

2006-07-12 Thread Mauricio Mantilla
Well, the thing is that I already have the THOR-2 card, so I'm looking for a way to work with itThanks, anyway
___
--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