[general] static=yes writeprotect=no [globals] OPENAUTO=yes CLOSEDAUTO=yes OPERATOR= ;TRUNK=Zap/g1 ; FXO interface TRUNKMSD=1 ; MSD digits to strip ;TRUNK=IAX2/user:password@iax2.fwdnet.net exten => _9.,1,Dial(SIP/${EXTEN:1}@mysipprovider-out,30,r) DIALOUT=9 INTERNATIONAL-PREFIX=010 OPEN-MENU=tl-main-menu-open CLOSED-MENU=tl-main-menu-closed RINGTIME=15 [from-mysipprovider] ;exten => s,1,Answer ; 1234 is the contact extension, default contact extension is "s" ;exten => 200,2,Dial(SIP/200,25,Ttr) ; incoming calls are redirected to SIP telephone with number 111 ;exten => s,3,Hangup exten => 200,1, Dial(200,10,t) [from-inside] exten => _9.,1,Dial(SIP/${EXTEN:1}@mysipprovider-out,30,r) exten => 555,1,Goto(from-outside,s,1) ; local extensions are in extensions.include file include => local-extensions ; outbound numbers are in outbound.include file include => outgoing ;parked calls include => parkedcalls ; test number exten => 444,1,Goto(from-outside-autoattendant-open|s|1) exten => t,1,Hangup exten => h,1,Hangup exten => #,1,Hangup exten => i,1,Playback(invalid) exten => i,2,Hangup [default] include => local-extensions exten => s,1,Playback(vm-goodbye)