Re: [asterisk-users] chan_capi audio weirdness

2012-02-19 Thread Arik Raffael Funke

Hi Armin,

On 18/02/2012 19:28, Arik Raffael Funke wrote:

in NT mode, the B-channel is not activated automatically. You have to
signal
the TE side that early-B3 data is available. Then the TE side can
activate
the B-channel. If the NT-side is chan_capi, use
exten = _X.,n,capicommand(progress)



I tried what you suggested - but without any luck. To make sure I did
not misunderstand you, I now have:
exten = _X.,1,capicommand(progress)
exten = _X.,n,Dial(CAPI/capi_intern/12345/b)


To help identification of the problem, my console prints the following 
after capicommand(progress):


[Feb 19 10:45:08] WARNING[3483]: chan_capi.c:4972 show_capi_conf_error: 
ISDN_INTERN#02: conf_error 0x2001 PLCI=0x103 
Command=SELECT_B_PROTOCOL_CONF,0x8495
ISDN_INTERN#02: CAPI INFO 0x2001: Message not supported in 
current state


Regards,
Arik


--
_
-- 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] chan_capi audio weirdness

2012-02-18 Thread Arik Raffael Funke

Hello Armin,

On 15/02/2012 22:53, Armin Schindler wrote:

I hear no progress indication. EVEN when using the r-option of the dial
command. It works however with
 exten =  _X.,1,Answer
 exten =  _X.,n,Dial(CAPI/contr1/12345)


in NT mode, the B-channel is not activated automatically. You have to signal
the TE side that early-B3 data is available. Then the TE side can activate
the B-channel. If the NT-side is chan_capi, use
  exten =  _X.,n,capicommand(progress)
without Answer before Dial().
Also, when using Dial() with chan_capi, you should use /b or /B option
in Dial() to get early-B3 from that other side too.
See README of chan_capi package for more details.


Thank you for your help. I did look at the chan_capi README, but I am 
afraid I do not know enough about the capi protocol to make sense of 
everything.


I tried what you suggested - but without any luck. To make sure I did 
not misunderstand you, I now have:

 exten =  _X.,1,capicommand(progress)
 exten =  _X.,n,Dial(CAPI/capi_intern/12345/b)

Used to call either from intern-intern or alternatively intern-extern. 
In neither case do I get progress indication (i.e. ringing tones) as I 
did when answering the channel before dialing.


Could it be that my hardware is simply behaving unexpectedly? After all, 
it's not really a traditional capi card but an embedded device. Or am I 
still doing something wrong?


Many thanks,
Arik


--
_
-- 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] chan_capi audio weirdness

2012-02-15 Thread Armin Schindler
Hello Arik,

On 02/14/2012 12:49 PM, Arik Raffael Funke wrote:
 Hi,
 
 I am trying to run asterisk on an AVM Fritz!Box Fon 7270 embedded DSL router.
 This works quite well after getting rid of the preinstalled phone server but I
 am encountering some unexpected behaviour.
 
 Background: I am using two CAPI controllers provided by the hardware
 - one in MSN mode for dialling out and
 - one in NT-mode, (DID) for the internal S0-Bus
 
 The problem is, I get no audio whatsoever until a channel is answered.
 Some of the symptoms of this are:
 - If I have an s-extension for the internal S0-Bus
 exten = s,1,Playtones(dial)
 I cannot hear the dialtone. It works however with:
 exten = s,1,Answer
 exten = s,n,Playtones(dial)
 
 - Similarly if I dial from internal to external with the extension:
 exten = _X.,1,Dial(CAPI/contr1/12345)
 I hear no progress indication. EVEN when using the r-option of the dial
 command. It works however with
 exten = _X.,1,Answer
 exten = _X.,n,Dial(CAPI/contr1/12345)

in NT mode, the B-channel is not activated automatically. You have to signal
the TE side that early-B3 data is available. Then the TE side can activate
the B-channel. If the NT-side is chan_capi, use
 exten = _X.,n,capicommand(progress)
without Answer before Dial().
Also, when using Dial() with chan_capi, you should use /b or /B option
in Dial() to get early-B3 from that other side too.
See README of chan_capi package for more details.

Armin

--
_
-- 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] chan_capi audio weirdness

2012-02-14 Thread Arik Raffael Funke

Hi,

I am trying to run asterisk on an AVM Fritz!Box Fon 7270 embedded DSL 
router. This works quite well after getting rid of the preinstalled 
phone server but I am encountering some unexpected behaviour.


Background: I am using two CAPI controllers provided by the hardware
- one in MSN mode for dialling out and
- one in NT-mode, (DID) for the internal S0-Bus

The problem is, I get no audio whatsoever until a channel is answered.
Some of the symptoms of this are:
- If I have an s-extension for the internal S0-Bus
exten = s,1,Playtones(dial)
I cannot hear the dialtone. It works however with:
exten = s,1,Answer
exten = s,n,Playtones(dial)

- Similarly if I dial from internal to external with the extension:
exten = _X.,1,Dial(CAPI/contr1/12345)
I hear no progress indication. EVEN when using the r-option of the dial 
command. It works however with

exten = _X.,1,Answer
exten = _X.,n,Dial(CAPI/contr1/12345)


Has anybody seen this before?

Many thanks,
Arik


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