[Asterisk-Users] red alarm when modprobe wcte11xp

2006-01-05 Thread Phuong Nguyen
Hi all,

I have an TE11 card and I installed the zaptel driver from digium.
The zaptel.conf look like:
span=1,1,0,esf,b8sz,yellow
bchan=1-23
dchan=24

when I tried modprobe -v wcte11xp without any error message
and then ztttol
I received the error Red alarm

What would be the problem?
Thanks in advance for any suggesttion.

-- 
DSL-Aktion wegen großer Nachfrage bis 28.2.2006 verlängert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
___
--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 get received digits from console channel

2005-12-20 Thread Phuong Nguyen
Hi,

I need to develop a project in which the user can phone a number, say
something and the voice will be output to a speaker, if the user want to
select other actions, he could just press a number on the keypad, e.g.:
press 1.
I did it with the following:

1. make a incoming context, looks like:

[incoming]
exten = s,1,Answer()
exten = s,2,Background(/var/lib/asterisk/tgsounds/greeting)
exten = 1,1,Dial(console/dsp,10,G(loop^s^1))

[loop]
exten = s,1,Background(/var/lib/asterisk/tgsounds/waiting)
exten = s,2,Goto(loop,s,1)
exten = 2,1,Goto (othercontext,s,1)


After the Dial(console/dsp) command, the user speak and his voice is output
to the speaker as desired. However, it seems that the channel (Zap/4) with
the connected telephone line, did not go to the loop context.
Therefore, all the keypad input from the calling phone are just printed out
to the console like Console received digits 2.
What I actually want to do is that; when the user press 2, I will shutdown
the console (so if the user speak to the phone, his sound will not output to
the speaker) and just go to another context (say: playing a music file). The
input are received by Asterisk as shown above, but I don't know how to get
this digits and redirect the Zap channel to other context (at that moment is
still connected with the console ).
Thanks in advance for any suggestion.

Regards,

Phil




-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++
___
--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] Play MP3 during Record

2005-06-10 Thread Phuong Nguyen
Hallo,

You are nearly right. We are working with some artists and they have many
funny ideas with Asterisk. Regarding my question, the fact is that we can do
this technically with any PC: you play a music file with RealPlayer and at
the same time another music file with Winamp...So theoretically, it is
possible to do so with asterisk.

Regards,



 El jue, 09-06-2005 a las 00:48, Phuong Nguyen escribió:
  1. Play a low background music when the user record his/her voice
 
 You Want a Karaoke? lol
 
 Regards,
 
 -- 
 Ing CIP Alejandro Celi Mariátegui 
 [EMAIL PROTECTED]
 

-- 
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden  testen ++ http://www.gmx.net/de/go/promail ++
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] Play MP3 during Record

2005-06-08 Thread Phuong Nguyen
Hi all,

Does Asterisk support multi thread? I mean:

Is it possible to do one of the 2 following scenarios:
1. Play a low background music when the user record his/her voice
2. If the first scenario is not possible, can we play two music stream at
the same time? i.e: using MP3Player to play a music file and at the same
time play the recorded voice of the user.

Thanks in advance for any suggestions.

Regards,

Phuong

-- 
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden  testen ++ http://www.gmx.net/de/go/promail ++
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[Asterisk-Users] MP3Player could not play remote stream

2005-06-03 Thread Phuong Nguyen
Hi all,

I could use MP3Player to play local sound (e.g: /usr/sound/abc.mp3) but I
could not use it to run a remote stream, if I use mpg123 in command line, I
can hear the audio ( /usr/bin/mpg123 http://...), but the same remote mp3
file could not be replay with asterisk.

I would appreciate with any suggestion.

Phuong

Here are the log message:


  -- Starting simple switch on 'Zap/3-1'
Jun  2 16:28:46 NOTICE[3129]: chan_zap.c:5374 ss_thread: Got event 2
(Ring/Answered)...
-- Executing Answer(Zap/3-1, ) in new stack
-- Executing MP3Player(Zap/3-1, http://localhost:8000/;) in
new stack
Jun  2 16:28:57 NOTICE[3129]: app_mp3.c:91 timed_read: Poll timed
out/errored
out with 0
-- Executing Goto(Zap/3-1, mainmenu|s|1) in new stack
-- Goto (mainmenu,s,1)
-- Executing Answer(Zap/3-1, ) in new stack
-- Executing MP3Player(Zap/3-1, http://localhost:8000/;) in
new stack


extension.conf: (URL is point to a stream server and it works with command
line mpg123!)
exten = s,2,MP3Player(http://localhost:8000/)



-- 
Geschenkt: 3 Monate GMX ProMail gratis + 3 Ausgaben stern gratis
++ Jetzt anmelden  testen ++ http://www.gmx.net/de/go/promail ++
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users