Re: [asterisk-users] app_jack and calling with pc only

2008-08-28 Thread Russell Bryant
Julien Claassen wrote:
The question: Can I (mis)use my asterisk CLI interface to make and recieve 
 calls coming in/going out via the ISDN-card, while using my soundcard I/Os 
 under JACK as a phone?

Yes, you can.  You actually have two options for doing this.  One is 
using app_jack and the other is using chan_console.  chan_console uses 
libportaudio, which supports jack as an audio backend.

To initiate a SIP call from the Asterisk CLI and connect it to app_jack, 
you would use a command similar to the following:

*CLI originate SIP/[EMAIL PROTECTED] application Jack i(outputport)o(inputport)

Using chan_console, you have various call control CLI commands available:

*CLI console dial extension
*CLI console hangup

While using app_jack will give you more control over how you connect to 
Jack from the Asterisk CLI, using chan_console will give you more of a 
normal phone experience, as it will play tones to the audio interface 
that you normally hear when using a phone.

Why I'm doing this and not use another app:
 1. I'm blind, I LOVE my console/commandline
 2. I tried linphone with SIP, didn't work. JACK crashed and the firewall is 
 in 
 the way.
 3. The others don't have JACK and I need my JACK running (soundcard too big 
 for the simple ALSA stuff and I'm a musician often in need of JACK's services.
So asterisk seems to offer all I need. I know it's meant as a SERVER, but 
 with all this horse-power: Is a simple client so far of the track?

If you have any suggestions that would make app_jack or chan_console 
easier for you to use, then please let me know.  Feel free to contact me 
directly.

-- 
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] app_jack and calling with pc only

2008-08-28 Thread Julien Claassen
Hello Russell!
   Thanks a lot for your answer. A few more questions:
1. If I want to dial over my ISDN card it would be:
CLI originate misdn/029213399096 ...
   Right?
2. The input and output ports do they mark the ports to connect to like:
CLI originate sip/[EMAIL PROTECTED] system:capture_1 system:playback_1
   Or do they makr the asterisk port names? Do I have to use the syntax 
o(port)i(port) or just the port names?
   I'm sorry if this is stupid, but I didn't find any documentation for the 
JACK parts at all.
   Kindest regards and thanks again
   Julien


Music was my first love and it will be my last (John Miles)

 FIND MY WEB-PROJECT AT: 
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
=== AND MY PERSONAL PAGES AT: ===
http://www.juliencoder.de

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


[asterisk-users] app_jack and calling with pc only

2008-08-26 Thread Julien Claassen
Hello everyone!
   Sorry, if the whole task is silly, I'm new to this.
   I have my newly installed asterisk (1.6.0-beta9) and my AVM Fritz a1 card. I 
have a simple German isdn line and I have a microphone, headphones and a 
running JACKd (JACK Aduio Connection Kit).
   The question: Can I (mis)use my asterisk CLI interface to make and recieve 
calls coming in/going out via the ISDN-card, while using my soundcard I/Os 
under JACK as a phone?
   Why I'm doing this and not use another app:
1. I'm blind, I LOVE my console/commandline
2. I tried linphone with SIP, didn't work. JACK crashed and the firewall is in 
the way.
3. The others don't have JACK and I need my JACK running (soundcard too big 
for the simple ALSA stuff and I'm a musician often in need of JACK's services.
   So asterisk seems to offer all I need. I know it's meant as a SERVER, but 
with all this horse-power: Is a simple client so far of the track?
   Kindest regards
  Julien


Music was my first love and it will be my last (John Miles)

 FIND MY WEB-PROJECT AT: 
http://ltsb.sourceforge.net
the Linux TextBased Studio guide
=== AND MY PERSONAL PAGES AT: ===
http://www.juliencoder.de

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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