[Asterisk-Users] MFC&R2 Venezuela with libunicall

Jorge Mendoza mendoza at tcc.com.pe
Mon May 23 09:52:56 MST 2005


R2 use MF for signalling.

Jorge mendoza

Panitaxx wrote:
> I have a setup for a 30 incoming channels with telcel. The incoming is
> R2, they told me the outgoing is MF not R2. If the other channels are
> fxo, you should change your zaptel.conf so  you can use zapata.conf
> and comment out those channels on unicall.conf.
> 
> ia
> 
> On 5/20/05, Andres Maduro <andres at iconos.com.ve> wrote:
> 
>>Hi,
>>
>>I am trying to configure * 1.0.7 box with a Digium Wildcard TE110P T1/E1 and libunicall latest code.
>>
>>All libs compiled successfully and the E1 have a green light!
>>
>>I am able to receive a call (or at least) testcall shows some information when an incoming call is received so the drivers and basic configuration is working.
>>
>>My * box has 2 cards, one TDM400B (2 fxs and 2 fxo) and one TE110P E1/T1.  I have loaded in the followin order the kernel modules:
>>
>>1. zaptel
>>2. wcte11xp
>>3. wcfxs
>>
>>The E1 is configured as this: the first 15 channels are for incoming calls using MFC/R2 Venezuela protocol, the last 15 channels are configured as a normal analog line, you pick up the channel and hear dial tone, you then only need to send dtmf to place a call (how I configure this channels ??), I guess with fxo loop start in the E1 channel ??
>>
>>The problem I have is that I can't bring up asterisk, when I try, I receive the following error on the logs about being unable to load chan_zap:
>>
>>May 20 12:01:05 ERROR[13693]: Signalling requested is FXO Kewlstart but line is in R2 Signalling signalling
>>May 20 12:01:05 ERROR[13693]: Unable to register channel '1'
>>May 20 12:01:05 WARNING[13693]: chan_zap.so: load_module failed, returning -1
>>May 20 12:01:05 WARNING[13693]: Loading module chan_zap.so failed!
>>
>>I am including zaptel.conf, zapata.conf and unicall.conf to see if you can help me.
>>
>>zttool shows both cards in an OK status.
>>
>>---------------------- zaptel.conf start ------------------------------
>># Span 1: WCT1/0 "Digium Wildcard TE110P T1/E1 Card 0"
>>span=1,1,0,cas,hdb3
>>cas=1-15:1101
>>cas=17-31:1101
>>
>>
>># Span 2: WCTDM/0 "Wildcard TDM400P REV E/F Board 1"
>>fxoks=32
>>fxoks=33
>>fxsks=34
>>fxsks=35
>>
>># Global data
>>
>>loadzone        = us
>>defaultzone     = us
>>
>>----------------------- zaptel.conf end -------------------------------
>>
>>----------------------- zapata.conf start -------------------------------
>>;
>>; Zapata telephony interface
>>;
>>; Configuration file
>>
>>[trunkgroups]
>>
>>[channels]
>>
>>language=en
>>context=from-pstn
>>rxwink=300              ; Atlas seems to use long (250ms) winks
>>;
>>; Whether or not to do distinctive ring detection on FXO lines
>>;
>>;usedistinctiveringdetection=yes
>>
>>usecallerid=yes
>>hidecallerid=no
>>callwaiting=yes
>>usecallingpres=yes
>>callwaitingcallerid=yes
>>threewaycalling=yes
>>transfer=yes
>>cancallforward=yes
>>callreturn=yes
>>echocancel=yes
>>echocancelwhenbridged=no
>>echotraining=800
>>rxgain=0.0
>>txgain=0.0
>>group=0
>>callgroup=1
>>pickupgroup=1
>>immediate=no
>>
>>;faxdetect=both
>>faxdetect=incoming
>>;faxdetect=outgoing
>>;faxdetect=no
>>
>>;Include AMP configs
>>#include zapata_additional.conf
>>
>>;Include genzaptelconf configs
>>#include zapata-auto.conf
>>
>>; (extensiones)
>>signalling = fxo_ls
>>channel => 32-33
>>signalling = fxs_ls
>>channel => 34-35
>>
>>
>>----------------------- zapata.conf end -------------------------------
>>
>>----------------------- unicall.conf start -------------------------------
>>;
>>; Unicall telephony channel driver
>>;
>>; Sample configuration file
>>;
>>[channels]
>>;
>>; Default language
>>;
>>;language=en
>>;
>>; Default context
>>;
>>context=default
>>;
>>; Whether or not to use caller ID
>>;
>>usecallerid=yes
>>;
>>; Whether or not to hide outgoing caller ID
>>;
>>hidecallerid=no
>>;
>>; Whether or not restrict outgoing caller ID (will be sent as ANI only, not available for the user)
>>; Mostly use with FXS ports
>>;
>>;restrictcid=no
>>;
>>; Support Caller*ID on Call Waiting
>>;
>>callwaitingcallerid=yes
>>;
>>; Support three-way calling
>>;
>>threewaycalling=yes
>>;
>>; Support flash-hook call transfer (requires three way calling)
>>;
>>transfer=yes
>>;
>>; Support call forward variable
>>;
>>cancallforward=yes
>>;
>>; Whether or not to support Call Return (*69)
>>;
>>callreturn=yes
>>;
>>; Enable echo cancellation
>>; Use either "yes", "no", or a power of two from 32 to 256 if you wish
>>; to actually set the number of taps of cancellation.
>>;
>>echocancel=yes
>>;
>>; Generally, it is not necessary (and in fact undesirable) to echo cancel
>>; when the circuit path is entirely TDM.  You may, however, reverse this
>>; behavior by enabling the echo cancel during pure TDM bridging below.
>>;
>>echocancelwhenbridged=yes
>>;
>>; In some cases, the echo canceller doesn't train quickly enough and there
>>; is echo at the beginning of the call.  Enabling echo training will cause
>>; asterisk to briefly mute the channel, send an impulse, and use the impulse
>>; response to pre-train the echo canceller so it can start out with a much
>>; closer idea of the actual echo.  Value may be "yes", "no", or a number of
>>; milliseconds to delay before training (default = 400)
>>;
>>;echotraining=yes
>>;echotraining=800
>>;
>>; If you are having trouble with DTMF detection, you can relax the
>>; DTMF detection parameters.  Relaxing them may make the DTMF detector
>>; more likely to have "talkoff" where DTMF is detected when it
>>; shouldn't be.
>>;
>>;relaxdtmf=yes
>>;
>>; You may also set the default receive and transmit gains (in dB)
>>;
>>rxgain=0.0
>>txgain=0.0
>>;
>>; Logical groups can be assigned to allow outgoing rollover.  Groups
>>; range from 0 to 31, and multiple groups can be specified.
>>;
>>group=1
>>;
>>; Ring groups (a.k.a. call groups) and pickup groups.  If a phone is ringing
>>; and it is a member of a group which is one of your pickup groups, then
>>; you can answer it by picking up and dialing *8#.  For simple offices, just
>>; make these both the same
>>;
>>callgroup=1
>>pickupgroup=1
>>;
>>; Specify whether the channel should be answered immediately or
>>; if the simple switch should provide dialtone, read digits, etc.
>>;
>>immediate=no
>>;
>>; CallerID can be set to "asreceived" or a specific number
>>; if you want to override it.  Note that "asreceived" only
>>; applies to trunk interfaces.
>>;
>>;callerid=2564286000
>>;
>>; AMA flags affects the recording of Call Detail Records.  If specified
>>; it may be 'default', 'omit', 'billing', or 'documentation'.
>>;
>>;amaflags=default
>>;
>>; Channels may be associated with an account code to ease
>>; billing
>>;
>>;accountcode=lss0101
>>;
>>; For fax detection, uncomment one of the following lines.  The default is *OFF*
>>;
>>;faxdetect=both
>>;faxdetect=incoming
>>;faxdetect=outgoing
>>;faxdetect=no
>>;
>>; Select which class of music to use for music on hold.  If not specified
>>; then the default will be used.
>>;
>>;musiconhold=default
>>;
>>; The outgoing ports on the E1 are not MFC/R2!!!, they have dial tone and expect DTMF dialing, does this work ?
>>protocolclass=fx
>>protocolvariant=ls,hk
>>protocolend=co
>>group = 3
>>channel => 17-31
>>
>>loglevel=255
>>; The first 15 channels are signaled using MFC/R2 Venezuela
>>protocolclass=mfcr2
>>protocolvariant=cl,20,7
>>protocolend=co
>>group = 1
>>channel => 1-15
>>
>>----------------------- unicall.conf end -------------------------------
>>
>>Any help is greatly appreciated.
>>
>>Regards.
>>         Andres Maduro
>>
>>
>>_______________________________________________
>>Asterisk-Users mailing list
>>Asterisk-Users at 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 mailing list
> Asterisk-Users at 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




More information about the asterisk-users mailing list