[asterisk-biz] about E1 trunk - there's a 0 added

Mitul Limbani mitul at enterux.com
Wed Jan 2 07:48:01 CST 2008


Hello,

Please use a non-html mode to send mail, look at the mail and tell me 
if it made any sense to you in a non-html compliant mail reader :(

In any case, i think there are two possiblities :

a) your telco is pre-setting 0 for all the mobile calls dialing from 
their own PBX
or
b) pridialplan setting in /etc/asterisk/zapata.conf
set it to national or local n restart asterisk.

Thanks & Regards,
Mitul Limbani,
Founder & CEO,
Enterux Solutions,
The Enterprise Linux Company (TM),
www.enterux.com

Quoting sunxiujun26 at sohu.com:

> <p>hello 
> everyone,</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;When 
> i &nbsp;&nbsp;use&nbsp; E1&nbsp; trunk, i have&nbsp;this 
> &nbsp;problem:</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; There 
> is always&nbsp; a &quot;0&quot; at the head of the number i 
> dialed.&nbsp; that is ,&nbsp; if&nbsp; i dial&nbsp;the&nbsp;number 
> &quot;98765432</p><p>&quot;, the other side (Operators) will 
> receive&nbsp;&nbsp;&quot;098765432&quot;. The send out number is 
> right(&quot;98765432</p><p>&quot;),&nbsp;&nbsp; and&nbsp; i also have 
> another server(not asterisk pbx)&nbsp;&nbsp;&nbsp;,&nbsp; it can make 
> calls normally&nbsp;with the same E1 
> trunk.&nbsp;&nbsp;&nbsp;</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
> &nbsp;&nbsp;today ,i have made a test.&nbsp; i connect two 
> asterisk_pbx's E1 with&nbsp; Coaxial,and they worked well. 
> the&nbsp;received number is the same as the one i dialed. 
> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Does anyone 
> know what's wrong?&nbsp; i&nbsp;am cra
> zy with it....... </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
> Thank you for advance!&nbsp;</p><p>Following&nbsp;is the config files 
> on my 
> asterisk_pbx<strong>&nbsp;</strong></p><p><strong>zaptel.conf:</strong></p><p><br />span=1,0,1,ccs,hdb3,crc4<br />bchan=1-15,17-31<br />dchan=16</p><p><br />span=2,2,1,ccs,hdb3,crc4<br />bchan=32-46,48-62<br />dchan=47</p><p>loadzone&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = us<br />defaultzone&nbsp;&nbsp;&nbsp;&nbsp; = us</p><p><strong>zapata.conf:</strong>&nbsp;&nbsp;</p><p>[trunkgroups]</p><p>[channels]<br />language=no<br />context=from-zaptel<br />rxwink=300 ; Atlas seems to use long (250ms) winks</p><p>switchtype=euroisdn<br />overlapdial=yes<br />signalling=pri_cpe<br />busydetect=no<br />callprogress=yes<br />usecallerid=yes<br />hidecallerid=no<br />callwaiting=yes<br />usecallingpres=yes<br />callwaitingcallerid=yes<br />threewaycalling=yes<br />transfer=yes<br />cancallforward=yes<br />callreturn=yes<br 
> />echocancel=no<b
> r />jitterbuffers=20<br />echocancelwhenbridged=yes<br 
> />echotraining=300<br />rxgain=0.0<br />txgain=0.0<br />group=1<br 
> />callgroup=1<br />pickupgroup=1<br />immediate=no</p><p>context = 
> from-zaptel<br />faxdetect=incoming</p><p>group = 1<br 
> />signalling=pri_cpe<br />channel =&gt; 1-15<br />channel =&gt; 
> 17-31</p><p>group = 2<br />signalling=pri_cpe<br />channel =&gt; 
> 32-46</p><p>channel =&gt; 48-62</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
> </p>





More information about the asterisk-biz mailing list