Armin, thanks for your response

My problem now is that having the configuration on capi.conf as shown in my original post I am not able to receive incoming neither make outgoing calls.

When making an outgoing call I get the following debug and verbose output from asterisk,

-- Goto (macro-dialout-trunk,s,24)
-- Executing Dial("SIP/123-da67", "CAPI/g1/0299546476:b,30,r") in new stack
      > data = g1/0299546476:b,30,r
      > capi request group = 2
 == ISDN1: Call CAPI/ISDN1/0299546476:b,30,r-9   (pres=0x00, ton=0x00)
   -- Called g1/0299546476:b,30,r
   -- ISDN1: received CONNECT_CONF PLCI = 0x101
 == ISDN1: Interface cleanup PLCI=0x101
 == No one is available to answer at this time
   -- Executing Goto("SIP/123-da67", "s-NOANSWER|1") in new stack
   -- Goto (macro-dialout-trunk,s-NOANSWER,1)

In extensions_additional.conf i've got,

exten => _1.,1,Macro(dialout-trunk,12,${EXTEN:1},)

And in capi.conf i added msn=0299546476.

i don't know why it goes to the a message saying "all lines are congested now", when the server is connected to the ISDN line (onramp2) with prime number as shown in the output. Can you let me know what you understand from the output and what you think I'm not doing correct?


For the incoming calls since I have 'incomingmsn=*' then I should get chan_capi signalling incoming calls to Asterisk, I included context=from trunk in capi.conf which should route the call to an internal extension, but when I ring the msn 0299546476, I can't hear anything except a tone dropping the call.


Armin,  I will appreciate if you can put me in the right direction?

Cheers

PolAus

From: Armin Schindler <[EMAIL PROTECTED]>
To: Esteban Guana-Jarrin <[EMAIL PROTECTED]>
CC: asterisk-users@lists.digium.com
Subject: Re: [Asterisk-Users] Incoming calls via CAPI and AVM Fritz Card
Date: Wed, 26 Oct 2005 11:39:05 +0200 (CEST)

On Wed, 26 Oct 2005, Esteban Guana-Jarrin wrote:
> Can anyone please provide some help. I have installed an AVM fritz card on an > asterisk box ([EMAIL PROTECTED] version 1.5). I have installed the card driver and > chan_capi-cm-0.6. According to the installations guide I can now see that the
> CAPI channel in asterisk is up,
>
> *CLI> capi info
> Contr1: 2 B channels total, 2 B channels free.
>
> I set up a trunk and the dialstring includes the following,
>
> CAPI/g1/0299546476:b${EXTEN},30,r
>
> My capi.conf is,
>
> [general]
> nationalprefix=0
> internationalprefix=00
> rxgain=0.8
> txgain=0.8
> ;ulaw=yes        ;set this, if you live in u-law world instead of a-law
>
> ; interface sections ...
>
> [ISDN1] ;this example interface gets name 'ISDN1' and may be any
>                 ;name not starting with 'g' or 'contr'.
> ;ntmode=yes      ;if isdn card operates in nt mode, set this to yes
> isdnmode=msn ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
>                 ;when using NT-mode, ptp should be set in any case
> incomingmsn=* ;allow incoming calls to this list of MSNs/DIDs, * == any
> ; controller=0    ;ISDN4BSD default
> ; controller=7    ;ISDN4BSD USB default
> controller=1     ;capi controller number to use
> group=1          ;dialout group
> ;prefix=0        ;set a prefix to calling number on incoming calls
> softdtmf=on ;enable/disable software dtmf detection, recommended for AVM
> cards
> relaxdtmf=on ;in addition to softdtmf, you can use relaxed dtmf detection
> accountcode=     ;Asterisk accountcode to use in CDRs
> context=from-trunk
> ;context=capi-in  ;context for incoming calls
> holdtype=hold ;when Asterisk puts the call on hold, ISDN HOLD will be used.
> If
> ;set to 'local' (default value), no hold is done and Asterisk
> may
>                 ;play MOH.
> ;immediate=yes ;immediate start of pbx with extension 's' if no digits were
>                 ;received on incoming call (no destination number yet)
> ; echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression
> ; echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
>                 ;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
> echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for
> older eicon drivers)
> ; echotail=64     ;echo cancel tail setting
> ; bridge=yes      ;native bridging (CAPI line interconnect) if available
> ; callgroup=1     ;Asterisk call group
> ; deflect=1234567 ;deflect incoming calls to 1234567 if all B channels are
> busy
> devices=2        ;number of concurrent calls on this controller
> ;(2 makes sense for single BRI, 30 for PRI)
>
> I can't see that a number is assigned to msn, but I read somewhere on this
> list that for this latest version of chan_capi this is not required.

With 'incomingmsn=*' chan_capi will signal all incoming calls to Asterisk.
Rules in extensions.conf then decide what to do with the calls.
For outgoing calls, you need to set the correct MSN as callerid.

> I connected the asterisk box to the ISDN line, which belongs to a Hunt group > with number as shown in the dialstring and when ringing that number from an > external line I do not get any tone and asterisk does not log any indications
> of incoming calls via the CAPI channel
>
> Can anyone please shed some light on what do I need to do in order to be able
> to receive calls via this setup.

What exactly is your problem?

Armin

> Thanks in advance,
>
> PolAUs
>
> _________________________________________________________________
> SEEK: Over 80,000 jobs across all industries at Australia's #1 job site.
> http://ninemsn.seek.com.au?hotmail
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> 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
>
>

_________________________________________________________________
SEEK: Over 80,000 jobs across all industries at Australia's #1 job site. http://ninemsn.seek.com.au?hotmail

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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

Reply via email to