<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
my problem now was with asterisk connecting to the provider..not
asterisk to PBX..<br>
<br>
asterisk to PBX is flawless....<br>
<br>
anyway, was using what u suggested sometime ago, later found out i can
collapse into one, then use it from then..<br>
<br>
Michael L. Young wrote:
<blockquote cite="mid04f501c73f78$c67ffb10$5002a8c0@acsacc.com"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">&lt;snip&gt;
zaptel.conf
-------------------------------------------
loadzone=uk
defaultzone=uk


span=1,1,1,ccs,hdb3,crc4,yellow
span=2,0,1,ccs,hdb3,crc4,yellow

bchan=1-15,32-46
dchan=16,47
bchan=17-31,48-62
-------------------------------------------
where span 1 is to the provider and span 2 is to the PBX
    </pre>
  </blockquote>
  <pre wrap=""><!---->
Not sure if this matters but it sure makes it easier to read:
 
        span=1,1,1,ccs,hdb3,crc4,yellow        |
        bchan=1-15,17-31                                | To provider
        dchan=16                                        |

        span=2,0,1,ccs,hdb3,crc4,yellow        |
        bchan=32-46,48-62                                | To PBX
        dchan=47                                        |

&gt;From a programmer's point of view, I would be parsing the config file
looking for span and then the bchan and dchan for that span to follow.  Then
when another span is detected check for the bchan, dchan, fxoks, etc. to
follow.  I don't know if that is the case or not with zaptel drivers.

  </pre>
  <blockquote type="cite">
    <pre wrap="">zapata.conf
---------------------------------------------
context=from-pstn
switchtype=dms100
signalling=pri_cpe
callerid=asreceived
group=1
callgroup=1
pickupgroup=1
rxgain=0.0
txgain=0.0
channel=&gt;1-15,17-31
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I would assume that you have an entry declaring a different context and
group for your PBX, i.e.:
        context=from-pbx
        switchtype=dms100
        signalling=pri_net
        group=2
        callgroup=2
        pickupgroup=2
        rxgain=0.0
        txgain=0.0
        channel=&gt;32-46,48-62

Hope this points you in the right direction.

Michael

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

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>


  </pre>
</blockquote>
<br>
</body>
</html>