<p>I have configured my asterisk (free pbx) with unicall that same as Moises post. the only diference with all examples showed is that I have conected 2 MFC/R2 lines to my box. The first MFC/R2 line works perfectly actually my client is working with those 30 channels. But the second one, and here is my issue, does not get sync with teco. Telcom from Argentina uses 32 chanels for each MFC/R2 where that channel 0 and the channel 16 are used for data. and te rest of them for voice. Channel 0 is used for Sync. Teco tells me that on the second MFC/R2 on channel 0 they receive an "ais" ( All 1's). Actually I have the second span with yellow alarm,<br>
</p><p>I have been playing with configuration for a long time. Actaully I started to think that channel 32, could be the 0 channel on second MFC/R2 line, but i setted that with no luck.</p><p>Blow I am sharing my config files, you will see that some lines are comented, they show thet diffrent things I have triend with no luck at all.</p>
<p>Hope you can give me some ideas to troubleshoot. If there is missing information let me know.<br></p><br><span style="font-family: courier new,monospace;">zaptel.conf</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"># MFC/R2 normalmente no usa CRC4</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">span=1,1,0,cas,hdb3</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"># span=2,0,0,cas,hdb3</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">span=2,2,0,cas,hdb3</span><br><span style="font-family: courier new,monospace;">#</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cas=1-15:1101</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">dchan=16</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cas=17-31:1101</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">#</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cas=32-46:1101</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">dchan=47</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"># cas=33-46:1101</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"># dchan=32,47</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">cas=48-62:1101</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">#</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">loadzone=ar</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">defaultzone=ar</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">#########################################</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">unicall.conf</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[Channels]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">language=en</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">usecallerid=yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">echocancel=yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">rxgain=0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">txgain=0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">callgroup=0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">pickupgroup=0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">amaflags=default</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">accountcode=avantel</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">musiconhold=default</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">context=default</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">group=1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">loglevel=255</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">protocolclass=mfcr2</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">protocolvariant=ar,10,4</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">immediate=no</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">; channel => 2-15</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">channel => 1-15</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">channel => 17-31</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">group=2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">loglevel=255</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">protocolclass=mfcr2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">protocolvariant=ar,10,4</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">channel => 32-46</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">;channel => 33-47</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">channel => 48-62</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">;channel => 49-62</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">#########################################</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">zapata.conf</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[trunkgroups]</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[channels]</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">language=en</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">context=default</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">rxwink=300</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">usecallerid=yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">hidecallerid=no</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">callwaiting=yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">usecallingpres=yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">callwaitingcallerid=yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">threewaycalling=yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">transfer=yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">cancallforward=yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">callreturn=yes</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">echocancel=yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">echocancelwhenbridged=no</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">echotraining=yes</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">rxgain=0.0</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">txgain=0.0</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">group=1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">callgroup=1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">pickupgroup=1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">immediate=no</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">signalling=fxs_ks</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">faxdetect=both</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">; pridialplan=unknown</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">; Include genzaptelconf configs</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">; #include zapata-auto.conf</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">#########################################</span><br><br>
<p>I believe that is not neccesary to have zapata.conf configured since unicall.conf will override any config written on zapata.conf, right?</p><p><br></p><p>--</p><p>Mariano Lecuona<br></p>