<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Max,<br>
<br>
I have mentioned below dialplan for Outgoing Call from Asterisk.<br>
<br>
------------------------------------------------------------------------------------------<br>
extensions.conf<br>
<br>
[default]<br>
exten => 901,1,Answer()<br>
;exten =>901,2,set(CDR(userfield)='Kerala-IDEA')<br>
exten => 901,2,Macro(outbound)<br>
<br>
[macro-outbound]<br>
exten => s,1,Background(ivr_menu/mainmenu/PORTAL)<br>
;exten => s,n,noop(phonepress=${CALLINGPRES})<br>
exten => s,n,Dial(ZAP/g1/9925152778|60)<br>
exten => t,1,Hangup()<br>
exten => h,1,Hangup()<br>
<br>
------------------------------------------------------------------------------------------<br>
zapata.conf<br>
<br>
[trunkgroups]<br>
[channels]<br>
switchtype=national<br>
signalling=pri_cpe ;=====to work as extention<br>
rxwink=300 ;===== Atlas seems to use long (250ms) winks<br>
flash=200<br>
usecallerid=yes<br>
hidecallerid=no<br>
callwaiting=yes<br>
usecallingpres=yes<br>
callwaitingcallerid=yes<br>
threewaycalling=yes<br>
transfer=yes<br>
canpark=yes<br>
cancallforward=yes<br>
callreturn=yes<br>
echocancel=no<br>
echocancelwhenbridged=no<br>
busydetect = yes<br>
callprogress = yes<br>
rxgain=0.0<br>
txgain=0.0<br>
group=1<br>
channel=>1-15,17-31<br>
callgroup=1<br>
pickupgroup=1<br>
immediate=no<br>
<br>
group=2<br>
switchtype=euroisdn<br>
signalling=pri_cpe;=====pri_net<br>
channel=>32-46,48-62<br>
<br>
;===== Used for distinctive ring support for x100p.<br>
;===== You can see the dringX patterns is to set any one of the
dringXcontext fields<br>
;===== and they will be printed on the console when an inbound call
comes in.<br>
;=====<br>
dring1=95,0,0<br>
dring1context=internal1<br>
dring2=100,95,0<br>
dring2context=internal2<br>
<br>
;===== If no pattern is matched here is where we go.<br>
context=default<br>
;context=outbound<br>
channel => 32<br>
<br>
------------------------------------------------------------------------------------------<br>
zaptel.conf<br>
<br>
loadzone = us<br>
defaultzone=us<br>
<br>
span=1,1,0,ccs,hdb3<br>
bchan=1-15,17-31<br>
dchan=16<br>
<br>
span=2,2,0,ccs,hdb3<br>
bchan=32-46,48-62<br>
dchan=47<br>
<br>
Hear span 1 is connect with pri which is for outgoing and span 2 is
connect with Samsung OpenServ 500 PBX for PSTN Agent.<br>
<br>
With Regards,<br>
Hiren Mistry.<br>
<br>
<br>
Max Alex wrote:
<blockquote
cite="mid:c8ba87ad0809182208i2aea6c8dk9cf5c345259be5de@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Hiren,<br>
can you please pass me the whole dial plan of the testing?<br>
<br clear="all">
Thanks,<br>
Max Alex<br>
Voip Developer<br>
<br>
<br>
<br>
<div class="gmail_quote">On Thu, Sep 18, 2008 at 5:11 PM, Hiren
Mistry <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:hiren.mistry@mobilefundas.com">hiren.mistry@mobilefundas.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear
All,<br>
<br>
Pl. any one can give me help. B'coz I have to implicitly work for
Outgoing call from PSTN Agent. I have also may to call out side the
office from exten => s,n,Dial(Zap/4/1111111,60) on testing purpose.
But, how to dial number via PSTN agent's phone like zero or nine
dialing. I mean how to get dialtone before the dial and how to enter
call number from PSTN agent's phone.<br>
<br>
-- <br>
With Regards,<br>
<font color="#888888">Hiren Mistry<br>
<br>
</font></blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
With Regards,
Hiren Mistry
</pre>
</body>
</html>