Asterisk at Home with MFC/R2 (Step by Step Guide)
Escrito por Jose Leitao el Tuesday, 25 de October del 2005 a las 7:32 pm
Hi everybody! My name is José P. Leitão, I’m Brazilian and I would like to share with everybody our successfully experience installing MFC/R2 using Asterisk at Home 2.0 beta 4.
Let me start tell you what hardware we used:
Server RJ
* MotherBoard Intel modelo D865 Perl
* Processador Pentium IV 3.0 Ghz HT
* 1 Gb RAM;
* HD 40 Gb IDE;
* NIC 3/COM 10/100
* Digium Board TE205P ( 2 E1/T1 )
* Digium Board TDM400 ( 1 FXS and 1 FXO );
* CD-ROM
Server SP
* Mother board Intel D865GVHZ
* Pentium IV 2.4 Ghz
* 1 Gb RAM;
* HD 40 Gb IDE
* NIC and Video on-board
* Digium Board TE110P ( 1 E1/T1 )
* CD-ROM
Well, if you need details about these hardware, please check their website:
And softwares:
* Asterisk @ Home 2.0 beta 4
* Some files from CentOS 4.1 look for mirror at www.centos.org
* Unicall and others libs
* IMPORTANT: A new patch file for Makefile, use this one.
Preparation
For the propose of this article both machines are in the same place, and both have access to internet (just to help to install some software, but it’s ok if you can install them manually).
Download the ISO installation of Asterisk at home 2.0 beta 4, and burn a CD.
The next step will erase everything in your Hard Disk, so make sure that it’s what you want to do!!
Boot the computer using the CD, press enter, and the installer will:
# Format your hard disk
# Install CentOS 4.1 and some others software
The installer will reboot your computer, so remove the CD from the drive.
When the machine start, it will compile and install Asterisk 1.2, and some other software like AMP (Asterisk Management Portal), after that it will reboot again.
Login as root, password is ‘password’. Please change the password using the command “passwd”.
Using the command “setup” brings to you a nice GUI to help to setup keyboard, Timezone and network. And you can decide which daemons must start at boot time.
Edit the files /etc/sysconfig/network and /etc/hosts, and change the name of your machine as you prefer.
If you need, for some reason, a static route to reach another network you can put it in /etc/sysconfig/static-routes file:
any net 192.168.2.0 netmask 255.255.255.0 gw 192.168.0.3
Reboot the machine!
Ok now the funny part: install the MFC/R2 support!
Login as root (did you change the password??)
Make sure the zaptel modules are loaded and your Digium board was detected, run zttol to make sure that everything is correct, please take a look at your /etc/zaptel.conf file and certify that your span and cas channels are correctly declared. As example:
# Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1" span=1,1,0,cas,hdb3 cas=1-15:1101 dchan=16 cas=17-31:1101 # Span 2: TE2/0/2 "T2XXP (PCI) Card 0 Span 2" span=2,0,0,cas,hdb3 cas=32-46:1101 dchan=47 cas=48-62:1101 # Global data loadzone = br defaultzone = br
Next step: make sure that spandsp libs are in correct place:
cd /usr/src/spandsp-0.0.2 make clean ./configure --prefix=/usr make make install
Install libxml2dev RPM
Download and install libxm2-devel-2.6-16-6.i386.rpm using:
rpm -ivh libxm2-devel-2.6-16-6.i386.rpm
Install gcc-c++ , if your machine can access internet, just use:
yum install gcc-c++
In this case yum will take care to resolve all dependencies (download an install necessary software). If not, you must download and install in this order:
libstdc++-devel-3.4.4-2.i386.rpm
gcc-c++-3.4.4-2.i386.rpm
Create a directory to download and install necessary software:
mkdir /usr/src/mfcr2
copy to this directory the following files:
chan_unicall.c libmfrc2-0.0.3.tar.gz libsupertone-0.0.2.tar.gz libunicall-0.0.3.tar.gz unicall.conf.sample novo_patch.patch
Cd to /usr/src/mfcr2 and untar-gzip the 3 compressed files:
cd /usr/src/mfcr2 tar xvzf libmfcr2-0.0.3.tar.gz tar xvzf libsupertone-0.0.2.tar.gz tar xvzf libunicall-0.0.3.tar.gz cd /usr/src/mfcr2/libunicall-0.0.3 ./configure --prefix=/usr make make install cd /usr/src/mfcr2/libsupertone-0.0.2 ./configure --prefix=/usr make make install cd /usr/src/mfcr2/libmfcr2-0.0.3 ./configure --prefix=/usr make make install
copy novo_patch.patch and chan_unicall.c to /usr/src/asterisk/channels
cd /usr/src/mfcr2 cp novo_patch.patch chan_unicall.c /usr/src/asterisk/channels cd /usr/src/asterisk/channels patch Makefile < novo_patch.patch cd /usr/src/asterisk
stop asterisk:
amportal stop make clean make
check if the file /usr/src/asterisk/channels/chan_unicall.so was created, if it’s ok, we’re almost there!!
make install
copy the unicall.conf sample to /etc/asterisk/ directory:
cp /usr/src/mfcr2/unicall.conf.sample /etc/asterisk/unicall.conf
edit this file to reflect group number, country, number the digits to expect, number the digits to dial and number of channels according your needs.
Start Asterisk:
amportal start
or,
asterisk -vvvvvvvvgc
and look for errors
If no errors, go to Asterisk CLI interface and enter:
CLI> UC show channels
At this time you should see all your Unicall channels that could be in idle state or blocked.
Now you can access your AMP interface, and create a Unicall Trunk
Open your favorite browser and point it to http://Your_Server_IP/admin
User is: maint Password is: password
click setup
click trunk
click Add custom Trunk
Just fill the box ‘Custom dial String’ with:
UNICALL/g1/$OUTNUM$
(replace the group number according the number that you use in /etc/asterisk/unicall.conf)
Click in submit botton. After that click on ‘red top message’ to update your configuration.
Now create an outbounding routing and add the unicall trunk to this routing, update your configuration.
That is!
Categoria: Uncategorized
- Añadir este post a
- Del.icio.us -
- Meneame -
- Digg
Pingback de Desert Zarzamora » Asterisk@Home con E1’s MFC/R2 en México
Realizado el Wednesday, 26 de October del 2005 a las 3:01 pm
[...] Por lo pronto agradezco a Félix por su paciencia y por prestarnos el enlace E1 para jugar un ratito. Lectura Recomendada: Asterisk at Home with MFC/R2 (Step by Step Guide) [...]
Pingback de Desert Zarzamora » Asterisk y la E1 MFC/R2 en Mexico (R2 Modificada de Telmex)
Realizado el Wednesday, 26 de October del 2005 a las 3:03 pm
[...] Actualización, José Leitao escribio una guia muy detallada: Asterisk at Home with MFC/R2 (Step by Step Guide) [...]
Comentario de Alfredo
Realizado el Monday, 7 de November del 2005 a las 12:00 am
I running asterisk@home 1.5 and I follow all this configuration to get the E1 R2 working. It’s working and im so happy BUT, After I reboot the server the E1 doesn’t work anymore.
I got a busy tone in incomming calls.
Can you tell me what can I do about it? Is there any pre configured files in asterisk@home that breaks my config?
Regards
Comentario de leitao
Realizado el Wednesday, 9 de November del 2005 a las 5:16 pm
Hi Alfredo, first of all, make sure that zaptel drivers are loaded, then run ‘zttol’ and check if you have a red alarm, or an “unconfigured channel” in this case check /etc/zaptel.conf file.
If for some reason you upgraded the kernel, go to /usr/src/zapata and run:
make && make install
If I can help, please send an e-mail to me:
jose (dot) leitao (at) oi (dot) com (dot) br
Regards
JL
Comentario de Miguel Naveda
Realizado el Saturday, 26 de November del 2005 a las 12:10 am
Es bueno encontrar un articulo asi. Pronto instalare un Asterisk con R2 pero con Avantel, si es lo mismo que con Telmex sera facil gracias a este articulo y publicare el resultado. Todo seria mas sencillo con ISDN o PRI.
Comentario de moyses
Realizado el Wednesday, 7 de December del 2005 a las 7:39 pm
Qué tal a todos!
Seguí esta guía pero con distintas versiones:
Asterisk@Home 2.1
unicall-0.0.3pre8 (por que la versión 5 no está disponible)
y el parche de José
Todo va bien hasta llegar el momento de aplicar el parche, se recibe el siguiente mensaje:
patching file Makefile
Hunk #1 FAILED at 69.
Hunk #2 FAILED at 150.
Hunk #3 FAILED at 174.
3 out of 3 hunks FAILED — saving rejects to file Makefile.rej
Traté de realizar la modificación que menciona Ariel al Makefile pero al parecer con esta versión de Asterisk no coinciden las líneas que menciona con la nueva versión.
Alguna sugerencia para solucionar esto??
Gracias de antemano
Trackback de Desert Zarzamora
Realizado el Saturday, 10 de December del 2005 a las 12:45 pm
New Patch for Asterisk 1.2 Beta and/or At Home 2.1
Jose Leitao has made avaiable a new Patch for Asterisk 1.2 final and/or Asterisk@Home 2.1. This is for unicall and E1 MFC/R2.
More info in previous posts
…
Comentario de Desert Zarzamora
Realizado el Saturday, 10 de December del 2005 a las 12:50 pm
Comentario de Yacine
Realizado el Friday, 23 de December del 2005 a las 2:06 pm
i’m using asterisk at home v 2.2 and whene applying the patch patch_1.2.patch i’m getting succesful patching but whene making “make clean” at /usr/src/asterisk i got error on Makefile line 198
Comentario de Yacine
Realizado el Saturday, 24 de December del 2005 a las 7:37 am
i’m getting exactely this error
Makefile:198: *** missing separator. Stop.
can someone help please
Comentario de Manuel Cabrera Caballero
Realizado el Monday, 26 de December del 2005 a las 3:51 pm
Hi Yacine,
Edit Makefile and remove blank space before $(CC) and insert any TAB key.
Comentario de Yacine
Realizado el Tuesday, 27 de December del 2005 a las 8:54 am
Thnaks Manuel, i have unicall installed and working with asterisk now. well i’m in Algeria and we also use R2 protocol, is set up unical.conf to that:
———————————–
protocolvariant=dz,20,9
protocolend=cpe
group = 1
channel => 1-15
;skip time slot 16
channel => 17-31
———————————–
but i always get this error:
Unicall/3 protocol error. Cause 32771
is my config right ?
Comentario de Manuel Cabrera Caballero
Realizado el Monday, 9 de January del 2006 a las 11:29 am
Hi Yacine,
Verify your protocolvariant. My unicall.conf (working) in colombia is:
[channels]
usecallerid=yes
hidecallerid=no
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
musiconhold=default
protocolclass=mfcr2
; protocolvariant=co-land,30,1,16
protocolvariant=co-land,30,7,16
protocolend=cpe
group = 1
loglevel = 255
context= e1-incoming
channel => 1-15
channel => 17-31
;skip time slot 16
Comentario de Darlon
Realizado el Wednesday, 18 de January del 2006 a las 12:01 pm
I also take the error that Yacine has.
Unicall/1 protocol error. Cause 32771
Any body know what is the error?
Thank you
Comentario de Darlon
Realizado el Wednesday, 18 de January del 2006 a las 3:02 pm
Estou tendo o mesmo problema : Erro 32771.
Alguém no Brasil está usando o serviço da Brasil Telecom?
Como está seu unicall.conf? Qual valor de protocolvariant?
Muito obrigado
Comentario de Julius Agrinya
Realizado el Saturday, 18 de March del 2006 a las 2:21 pm
I am in Nigeria and am trying to setup with asterisk@home-2.7 and am using a digium TE110P card, I cannt make calls out of the network as when ever I connect to my PSTN, I have an error light on my E1 Modem, indicating that there is not connection between the E1 card on my system and the Modem at my service provider end.
Comentario de Allan kardec
Realizado el Friday, 31 de March del 2006 a las 8:35 am
Darlon estou usando a placa TE110P e está funcionando muito bem.
protocolvariant=br,20,4
Comentario de Juan Cuervo
Realizado el Tuesday, 4 de April del 2006 a las 7:00 am
Alguien podría darme un ejemplo de cómo configurar el zaptel.conf para Colombia? tengo una configuración muy parecida a la que he visto en esta página, pero no he podido recibir llamadas aun. Cuando estoy marcando hacia mi equipo recibo un tono de congestión incluso antes de terminar de marcar y además puedo ver en mi consola alarmas y errores de protocolo. Inlcuso cuando no estamos intentando cursar llamadas. Alguna idea de qué puede estar fallando ?
Comentario de Rudy
Realizado el Sunday, 25 de June del 2006 a las 8:34 pm
Hi all, I’ve installed Asterisk 1.2.9. Then I’ve installed r2 support files: libunicall, libsupertone, libmfcr2. But when I tried to patch asterisk got following errors:
patching file patch_1.2.patch
Hunk #1 FAILED at xx.
Hunk #2 FAILED at xx
Hunk #3 FAILED at xx
3 out of 3 hunks FAILED
I think maybe I need new patch version. Is there someone who patched asterisk version 1.2.9 successfully?
Comentario de Gustavo Ramirez
Realizado el Wednesday, 5 de July del 2006 a las 7:43 pm
No he podido. Necesito ayuda, todo sale bien, hasta que el Asterisk quiere cargar el modulo chan_unicall.so, me marca Asterisk died with code 1. Si deshabilito el modulo si funciona.
Ya estoy desesperado, nomas no encuentro la solucion.
Iluminenme! mi mail es gram77@hotmail.com
Comentario de angelo
Realizado el Sunday, 20 de August del 2006 a las 9:20 pm
Hi,
I’m geting this error when routing a call to E1R2:
Aug 21 11:10:26 WARNING[607] chan_unicall.c: Unicall/17 event Dialing
Aug 21 11:10:28 WARNING[607] chan_unicall.c: MFC/R2 UniCall/17 seize_ack_wait_expired
Aug 21 11:10:28 WARNING[607] chan_unicall.c: MFC/R2 UniCall/17 R2 prot. err. [1/ 40/Seize /Idle ] cause 32776
Aug 21 11:10:28 WARNING[607] chan_unicall.c: MFC/R2 UniCall/17 1001 -> [1/ 1/Idle /Idle ]
Aug 21 11:10:28 WARNING[607] chan_unicall.c: MFC/R2 UniCall/17 Received request to delete non-existant schedule id 0
Aug 21 11:10:28 WARNING[607] chan_unicall.c: Unicall/17 event Protocol failure
Aug 21 11:10:28 VERBOSE[607] logger.c: — Unicall/17 protocol error. Cause 32776
Aug 21 11:10:28 WARNING[607] chan_unicall.c: MFC/R2 UniCall/17 Channel echo cancel
Aug 21 11:10:28 DEBUG[607] chan_unicall.c: disabled echo cancellation on channel 17
Aug 21 11:10:28 WARNING[607] app_dial.c: Unable to forward voice
Aug 21 11:10:28 WARNING[607] app_dial.c: Unable to forward voice
Aug 21 11:10:28 WARNING[607] app_dial.c: Unable to forward voice
Any idea what’s the problem?
Thanks.
Comentario de Desert Zarzamora
Realizado el Tuesday, 22 de August del 2006 a las 6:41 pm
bad codec maybe
Comentario de Antonio Noriega
Realizado el Thursday, 31 de August del 2006 a las 8:40 am
Tengo un problema aqui en Brasil.
Todo funciona bien pero solamente en las llamadas locales la central telefonica manda un pulso de medicion de tiempa para tarifacion de 4 en 4 minutos e este está causando a Asterisk a esconectat la llamada. al parecer es una desconeccion que toma menos de 1 milisegundo pero es detectada e causa que la llamada se pierda. como poderia hacer para que Asterisk ignore este caso?
les agradesco mucho.
Comentario de andres lievano
Realizado el Friday, 15 de September del 2006 a las 8:40 am
estoy tratando de hcer trabajar una te110p con mfcr2 en trixbox pero no encuentro la carpeta channels y no se donde estan los source
Comentario de caplinux
Realizado el Friday, 20 de October del 2006 a las 7:28 pm
Hola
tengo problemas cuando intento sacar llamadas este es el log que me arroja el asterisk.
Muchas gracia por la ayuda
El archivo unicall.conf esta
[channels]
usecallerid=yes
hidecallerid=no
;restrictcid=no
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
callreturn=yes
echocancel=yes
echocancelwhenbridged=yes
echotraining=yes
relaxdtmf=yes
rxgain=0.0
txgain=0.0
group=1
callgroup=1
pickupgroup=1
immediate=no
;amaflags=default
musiconhold=default
callerid=
protocolclass=mfcr2
protocolvariant=co-land,20,20
loglevel = 255
protocolend=cpe
group = 1
context= e1-incoming
channel => 1-15
channel => 17-31
;skip time slot 16
— Executing Dial(”SIP/1001-425f”, “Unicall/1/6202020″) in new stack
Oct 20 20:09:58 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Call control(1)
Oct 20 20:09:58 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Make call
Oct 20 20:09:58 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 Making a new call with CRN 32769
Oct 20 20:09:58 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 0001 -> [1/ 1/Idle /Idle ]
— Called 1/6202020
Oct 20 20:09:58 WARNING[31547]: chan_unicall.c:2644 handle_uc_event: Unicall/1 event Dialing
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /Idle ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /Category ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /Category ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:09:59 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:10:00 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:10:00 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:10:00 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:10:00 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /DNIS ]
Oct 20 20:10:00 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /End of DNIS ]
Oct 20 20:10:00 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /End of DNIS ]
Oct 20 20:10:00 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 40/Group I /End of DNIS ]
Oct 20 20:10:00 WARNING[31547]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1 [2/ 800/Clear fwd B /End of DNIS ]
— Hungup ‘UniCall/1-1′
== Everyone is busy/congested at this time (1:0/1/0)
— Executing Congestion(”SIP/1001-425f”, “”) in new stack
== Spawn extension (local, 06202020, 2) exited non-zero on ‘SIP/1001-425f’
Oct 20 20:10:00 WARNING[31506]: chan_unicall.c:627 unicall_report: MFC/R2 UniCall/1
Comentario de Carlos
Realizado el Wednesday, 25 de October del 2006 a las 6:31 pm
Hola Jose mi nombre es Carlos, te escribo desde Mexico, yo trabajo en TELMEX y durante algun tiempo mi actividad fue precisamente la entrega y puesta en servicio de troncales digitales asociadas a numeros DID’s, esto con conmutadores de diferentes marcas como son Lucent con su modelo MERIDIAN y otros mas, y efectivamente casi simpre habia problemas de configuracion, pero fijate que en la empresa tenemos un equipo simulador que tiene la funcion de hacer la veces de la central telefonica o del conmutador, esto nos permite realizar las pruebas necesarias y encontrar cual es el problema, pero en el caso que planteas no me queda claro que es asterisk, es un conmutador? si es asi de que marca, y veo que mandas lineas de programacion parecidas a c y c , esto es asi?, o es el lenguaje de programacion del conmutador,las lineas que mandas de los difentes estados de los bits ABCD son correctos, sos los valores que toman las troncales en un proceso de una llamada, todos estos estados se pueden visualizar y manipular con el equipo de prueba que te menciono, dicho equipo se llama PA-41 y lo fabrica WANDELL&WALTERMAN, pero creo que recientemente se fusiono con otra empresa y ahora se llama ACTERNA, tambien me llama la atencion que dices eres Brazileño, y como hiciste pruebas en Mexico?, tambien te puedo comentar que el sistema de señalizacion MFCR2 modificado, no es otra cosa mas que el envio de digitos en codigo 2 de 5 es decir se disponen de 5 frecuencias cuyos valores no tengo a la mano y con la convinacion de 2 de ellas se envian digitos hacia adelante y se reciben señales de mando hacia atras, como pueden ser la confirmacion de lo recibido, cambio de tipo de señales, el estado del abonado etc, este tipo de frecuencias eran utilizados cuando la comunicacion entre centrales era analogica, ahora que las comunicaciones son digitales la señalizacion se mantiene como tal, solo que ahora las frecuencias son enviadas cambiando los estados en los bits ABCD, en fin, te escribo esto porque me llamo la atencio del tema que tratas y porque estoy desarrollando este tema como tesis para mi titulacion de ingeniero en sistemas.
me dio gusto comunicarme contigo y quedo al pendiente de tus comentarios, y ojala me puedas comentar que es asterisk
saludos cordiales
Comentario de suman
Realizado el Tuesday, 31 de October del 2006 a las 5:15 am
hi,
is their any one can help me?
I have a digium TE110P card and i want to insatall it and then work with MFC/R2..can u tell me the step by step procedure to do that..i am using debian as my operating system..
thanks
suman
Comentario de Oberdan Linjardi
Realizado el Monday, 6 de November del 2006 a las 7:03 am
Bom dia, possuo um link MFC/R2 da BRASIL TELECOM e estou com um sério problema de ECO na maioria das chamadas INTERURBANAS, ja testei de tudo que estava ao meu alcance alguém teria alguma idéia de como posso resolver este problema?
Obrigado.
Comentario de Angel
Realizado el Tuesday, 14 de November del 2006 a las 6:26 pm
Hi Mr. Jose,
Thank you very much for sharing you successful configuration. I just followed you step by step config but unfortunately, I don’t have /usr/src/asterisk directory.
Is this mean that I have to create this directory?
What other files residing in this directory as well as in the /usr/src/asterisk/channels directory? I might intalled them in different directory.
Thanks
Angel
Comentario de PAULO
Realizado el Wednesday, 6 de December del 2006 a las 4:12 am
oi josé,
instalei um e110p com r2 e não consigo configurar,
seria posível mandor um número telefônico de contato?
desde já, antecipo agradecimentos.
Comentario de Latre
Realizado el Wednesday, 20 de December del 2006 a las 10:14 pm
Carlos de telmex que tal, soy de Mexico y me gustaria ponerme en contact contigo para poder ver algunos detalles de asterisk, y si este es un conmutador basado en software libre.
no se si sigas monitoreando el sitio saludos.
Comentario de victor
Realizado el Wednesday, 3 de January del 2007 a las 7:30 am
HOla, crea que sí Carlos (que trabajó en Telmex), nos comenta más sobre el señalizacion MFCR2, el tipo de pruebas que realizaba y sus experiencias en general, podríamos experimentar más con las funciones de Asterisk.
Espero se siga comunicando.
Saludos!
Comentario de Sandeep
Realizado el Monday, 26 de February del 2007 a las 11:51 am
Hello,
I try to use same instruction with trixbox 2.0 , downloaded source code of asterisk from there source RPM’s. After recompile of asterisk, its giving me error.
Is this instruction is compitable with trixbox 2.0 , is there any one who tried trixbox 2.0 MFC/R2
Thanks
Sandeep
Comentario de JJ
Realizado el Saturday, 17 de March del 2007 a las 3:14 pm
Hi
As Angel, I am trying to make Asterisk work with MFC/R2 in mexico, but I still can not get it work.
The E1 card is detected but I have no idea on how to make it work with the Telmex E1 line
Comentario de JJ
Realizado el Wednesday, 28 de March del 2007 a las 9:43 am
Hi all
Now the compilation and all is ok but asterisk is not comming online. there is no error…..sometimes it show an error in unicall.so
Comentario de Daniel Acosta
Realizado el Tuesday, 17 de April del 2007 a las 2:24 pm
Hola, Manuel Cabrera Caballero, Estoy en colombia y quisiera saber si te ha funcionado la señalizacion MFCR2 con versiones recientes del Asterisk, me gustaria ponerme en contacto contigo mi correo:dannito@hotmail.com para saber si tienes mas informacion sobre el E1 y la señalizacion.
Comentario de Jorge
Realizado el Monday, 21 de May del 2007 a las 9:17 am
Hola
Muchas gracias por la ayuda.
Soy de Bolivia y acabo de probar, un trixbox 2.2 y unicall, luego de algo de trabajo todo compilo OK, entiendo que debería funcionar pero tengo un error similar al reportado aqui:
Unicall/1 protocol error. Cause 32772
La central es una Alcatel, y les paso las trazas de la central
Traza de llamada desde la central hacia el equipo Asterisk (SALIENTE):
DN Llamante: 22786700
DN Llamado: 2787120
MEDIDAS - REGISTRO DE LLAMADAS
TRAZA DE SENALIZACION RESULTADO FINAL
———————————————————–
NRO EQ ENLACE = H’105 1
GRUPO DE ENLACES = SEGUENCOMA-O NRO SEC ENLACE = 16
TIPO DE TSIG = DIG-ARG-TP1-OTG
DIRECCION = SALIENTE
TIPO DE RSIG = R2 NRO EQ REGISTRO = H’116 31
FECHA COMIENZO = 2007/ 5/ 19 HORA COMIENZO = 13H 44M 13S
MOTIVO DE SALIDA = LIBERACION FORZOSA
SENAL DE REGIST DIRECCION HORA COMIENZO HORA TERMINACION
—————- ——— ————— —————-
REG-I-2 ENVIADO 0H 0M 0S 2 0H 0M 0S 3
REG-A-1 RECIBIDO 0H 0M 0S 3 0H 0M 0S 3
REG-I-7 ENVIADO 0H 0M 0S 3 0H 0M 0S 4
REG-A-1 RECIBIDO 0H 0M 0S 4 0H 0M 0S 5
REG-I-8 ENVIADO 0H 0M 0S 5 0H 0M 0S 5
REG-A-1 RECIBIDO 0H 0M 0S 5 0H 0M 0S 6
REG-I-7 ENVIADO 0H 0M 0S 6 0H 0M 0S 7
REG-A-1 RECIBIDO 0H 0M 0S 7 0H 0M 0S 7
REG-I-1 ENVIADO 0H 0M 0S 7 0H 0M 0S 8
REG-A-1 RECIBIDO 0H 0M 0S 8 0H 0M 0S 9
REG-I-2 ENVIADO 0H 0M 0S 9 0H 0M 0S 9
REG-A-1 RECIBIDO 0H 0M 0S 9 0H 0M 1S 0
REG-I-10 ENVIADO 0H 0M 1S 0 0H 0M 1S 1
REG-A-5 RECIBIDO 0H 0M 1S 1 0H 0M 1S 1
REG-II-3 ENVIADO 0H 0M 1S 1 0H 0M 1S 2
REG-A-5 RECIBIDO 0H 0M 1S 2 0H 0M 1S 3
REG-I-2 ENVIADO 0H 0M 1S 3 0H 0M 1S 3
REG-A-5 RECIBIDO 0H 0M 1S 3 0H 0M 1S 4
REG-I-2 ENVIADO 0H 0M 1S 4 0H 0M 1S 5
REG-A-5 RECIBIDO 0H 0M 1S 5 0H 0M 1S 5
REG-I-7 ENVIADO 0H 0M 1S 5 0H 0M 1S 6
REG-A-5 RECIBIDO 0H 0M 1S 6 0H 0M 1S 7
REG-I-8 ENVIADO 0H 0M 1S 7 0H 0M 1S 7
REG-A-5 RECIBIDO 0H 0M 1S 7 0H 0M 1S 8
REG-I-6 ENVIADO 0H 0M 1S 8 0H 0M 1S 9
REG-A-5 RECIBIDO 0H 0M 1S 9 0H 0M 2S 0
REG-I-7 ENVIADO 0H 0M 2S 0 0H 0M 2S 0
REG-A-5 RECIBIDO 0H 0M 2S 0 0H 0M 2S 1
REG-I-10 ENVIADO 0H 0M 2S 1 0H 0M 2S 1
REG-A-5 RECIBIDO 0H 0M 2S 1 0H 0M 2S 2
REG-I-10 ENVIADO 0H 0M 2S 2 0H 0M 2S 3
REG-A-5 RECIBIDO 0H 0M 2S 3 0H 0M 2S 4
REG-I-15 ENVIADO 0H 0M 2S 4 0H 0M 4S 5
SENAL DE LINEA DIRECCION HORA BITS
—————- ——— ————— —-
SEIZURE-FW ENVIADO 0H 0M 0S 1 0001
SEIZURE-ACK-BW RECIBIDO 0H 0M 0S 2 1101
RELEASE-BW RECIBIDO 0H 0M 2S 4 1001
RELEASE-BW ENVIADO 0H 0M 7S 1 1001
INFORME NO SOLICITADO N. = 04368
Las señales que faltan despues de recibida la I-15, son las siguientes:
REG-A-3 RECIBIDO
REG-II-3 ENVIADO
REG-A-6 RECIBIDO
porfa cualquier ayuda a mi correo jorge@verastegui.net o mejor en este blog
Gracias
Comentario de eyasterisk
Realizado el Tuesday, 26 de June del 2007 a las 7:13 pm
Any idea about protocol varient used in saudi arabia??
Any body succeed installing it in saudhi??
Comentario de eyasterisk
Realizado el Wednesday, 27 de June del 2007 a las 2:47 am
We are using Tormentocard and configured with unicall for R2mfc.The channels are loaded,UC show channels gives the following output
Channel Extension Context Status Language MusicOnHold
1 from-pstn Idle
2 from-pstn Idle
3 from-pstn Idle
4 from-pstn Idle
5 from-pstn Idle
6 from-pstn Idle
7 from-pstn Idle
8 from-pstn Idle
9 from-pstn Idle
10 from-pstn Idle
11 from-pstn Idle
12 from-pstn Idle
13 from-pstn Idle
14 from-pstn Idle
15 from-pstn Idle
17 from-pstn Idle
18 from-pstn Idle
19 from-pstn Idle
20 from-pstn Idle
21 from-pstn Idle
22 from-pstn Idle
23 from-pstn Idle
24 from-pstn Idle
25 from-pstn Idle
26 from-pstn Idle
27 from-pstn Idle
28 from-pstn Idle
29 from-pstn Idle
30 from-pstn Idle
31 from-pstn Idle
But we are receiving a BUSY message while making an incoming call and outgoing calls are not even reaching the server.
suspect the issue is with unicall.conf.
Any idea about the issue
Comentario de eyasterisk
Realizado el Saturday, 30 de June del 2007 a las 8:04 am
Here is our testcall output
Chan 1: — Dialing on channel 0
Chan 1: — Dialing on channel 0
Chan 3: — Far end unblocked! ![]()
Chan 3: — Far end unblocked! ![]()
Chan 3: — Local end unblocked! ![]()
Chan 3: — Local end unblocked! ![]()
Chan 3: Initiating call
Chan 3: — Dialing on channel 0
Chan 3: — Dialing on channel 0
Chan 4: — Far end unblocked! ![]()
Chan 4: — Far end unblocked! ![]()
Chan 4: — Local end unblocked! ![]()
Chan 4: — Local end unblocked! ![]()
Chan 4: Initiating call
Chan 4: — Dialing on channel 0
Chan 4: — Dialing on channel 0
Chan 5: — Far end unblocked! ![]()
Chan 5: — Far end unblocked! ![]()
Chan 5: — Local end unblocked! ![]()
Chan 5: — Local end unblocked! ![]()
Chan 5: Initiating call
Chan 5: — Dialing on channel 0
Chan 5: — Dialing on channel 0
Chan 6: — Far end unblocked! ![]()
Chan 6: — Far end unblocked! ![]()
Chan 6: — Local end unblocked! ![]()
Chan 6: — Local end unblocked! ![]()
Chan 6: Initiating call
Chan 6: — Dialing on channel 0
Chan 6: — Dialing on channel 0
Chan 7: — Far end unblocked! ![]()
Chan 7: — Far end unblocked! ![]()
Chan 7: — Local end unblocked! ![]()
Chan 7: — Local end unblocked! ![]()
Chan 7: Initiating call
Chan 7: — Dialing on channel 0
Chan 7: — Dialing on channel 0
Chan 8: — Far end unblocked! ![]()
Chan 8: — Far end unblocked! ![]()
Chan 8: — Local end unblocked! ![]()
Chan 8: — Local end unblocked! ![]()
Chan 8: Initiating call
Chan 8: — Dialing on channel 0
Chan 8: — Dialing on channel 0
Chan 9: — Far end unblocked! ![]()
Chan 9: — Far end unblocked! ![]()
Chan 9: — Local end unblocked! ![]()
Chan 9: — Local end unblocked! ![]()
Chan 9: Initiating call
Chan 9: — Dialing on channel 0
Chan 9: — Dialing on channel 0
Chan 2: — Far end unblocked! ![]()
Chan 2: — Far end unblocked! ![]()
Chan 2: — Local end unblocked! ![]()
Chan 2: — Local end unblocked! ![]()
Chan 2: Initiating call
Chan 2: — Dialing on channel 0
Chan 2: — Dialing on channel 0
Chan 10: — Far end unblocked! ![]()
Chan 10: — Far end unblocked! ![]()
Chan 10: — Local end unblocked! ![]()
Chan 10: — Local end unblocked! ![]()
Chan 10: Initiating call
Chan 10: — Dialing on channel 0
Chan 10: — Dialing on channel 0
Chan 1: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 1: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 3: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 3: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 4: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 4: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 5: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 5: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 6: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 6: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 7: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 7: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 8: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 8: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 9: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 9: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 2: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 2: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 10: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Chan 10: — Protocol failure on channel 0, cause (32776) Seize ack timed out
Any one can help me?
Comentario de Veneraldo
Realizado el Thursday, 4 de October del 2007 a las 7:32 am
I think for the config :
# Span 1: TE2/0/1 “T2XXP (PCI) Card 0 Span 1″
span=1,1,0,cas,hdb3
cas=1-15:1101
dchan=16
cas=17-31:110
dchan=16 should be removed as this is not an ISDN connection but only CAS.
Comentario de Durante
Realizado el Wednesday, 24 de October del 2007 a las 6:30 pm
Alguien ha instalado trixbox y R2MFC con tarjetas sangoma?
Someone have installed trixbox and R2MFC with sangoma cards?