<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">hello i had configured a Dial plan in which i am using application time base i.e<br><br>1 - if call comes to PSTN line from 8pm evening till morning 8am the call should automatically forward to guard exten i.e exten 211, and if guard dosent receive call in 30 secs message should be saved in voicemail.<br><br>2 - if call comes in working hours than it should be received by ext 112 n from there using transfer (tT)application call is tranfered to desired extensions.<br><br><span style="font-weight: bold;">now i want when i call from my mobile to pstn line my mobile no should be displayed in softphone</span><br><br><br>#######################################################################<br><br><br>vi extensions.conf<br><br><br><br>[from-zaptel]<br>exten => s,1,Wait(2)<br>exten =>
s,n,GotoIfTime(20:00-7:59|mon-sun|*|*?closed,s,1)<br>exten => s,n,Dial(SIP/112,5,tT)<br>exten => s,n,Goto(mainmenu,s,1)<br><br><br>[my-phones]<br>exten => 112,1,Dial(SIP/112,5,T)<br>exten => 113,1,Dial(SIP/113)<br>exten => 114,1,Dial(SIP/114)<br><br>[mainmenu]<br>exten => s,1,Answer<br><span style="font-weight: bold;">exten => s,n,Noop(CALLERID(name))</span><br>exten => s,n,SetMusicOnHold(default)<br>exten => s,n,Set(TIMEOUT(digit)=5)<br>exten => s,n,Set(TIMEOUT(response)=10)<br>exten => s,n,Background(enter-ext-of-person)<br>exten => s,n,WaitExten(5)<br>exten => _11[2-4],1,Goto(my-phones,${EXTEN},1)<br>exten => i,1,Playback(pbx-invalid)<br>exten => t,1,Playback(vm-goodbye)<br><br><br>[closed]<br>exten => s,1,Dial(SIP/211,30)<br>exten => s,n,VoiceMail(211,u)<br>exten => 2999,1,VoiceMailMain(${CALLERID(num)},s) ; by 2999 voicemail can be
heard.<br><br>#########################################################################<br><br><br><br>;autogenerated by /usr/sbin/wancfg_dahdi do not hand edit<br>;autogenrated on 2010-03-18<br>;Dahdi Channels Configurations<br>;For detailed Dahdi options, view /etc/asterisk/chan_dahdi.conf.bak<br><br>[trunkgroups]<br><br>[channels]<br>context=default<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=yes<br>echocancelwhenbridged=yes<br>relaxdtmf=yes<br>rxgain=0.0<br>txgain=0.0<br>group=1<br>callgroup=1<br>pickupgroup=1<br>immediate=no<br><br><br>;Sangoma AU100 [slot:0 bus: span:1] <wanpipe1><br>context=from-zaptel<br>group=0<br>echocancel=yes<br>signalling = fxs_ks<br>channel => 1<br><br>context=from-zaptel<br>group=0<br>echocancel=yes<br>signalling = fxs_ks<br>channel =>
2<br><br>########################################################################<br><br>any help n support will be highly appreciated.<br>thx<br></td></tr></table><br>
<!--1--><hr size=1></hr>
Your Mail works best with the New Yahoo Optimized IE8. <a href="http://in.rd.yahoo.com/tagline_ie8_new/*http://downloads.yahoo.com/in/internetexplorer/" target="_blank">Get it NOW!</a>.