<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2668" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I set up a context to allow me to call in to my *
server (via Teliax in this case using IAX2) from my cellphone, and let me do a
number of things, including dial other extensions, AND dial outbound again so
callers could see my proper work CallerID when I use this service. Is
there a way to be able to transfer calls to other extensions of my asterisk
server FROM the cell phone/ This isn't a Zap channel, so I'm a bit lost,
but did specify the 'T' option in dial. Here's my context. Is this
possible to do??</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[aa_chris_disa]<BR>exten =>
s,1,Read(DIALNUM,custom/enter-num-then-pound,21)<BR>exten =>
s,2,Playback(connecting)<BR>exten => s,3,GotoIf($[${LEN(${DIALNUM})} < 5
]?4:8) ; IF SHORTED THAN 5, its internal so dial internal<BR>exten =>
s,4,SetCallerID("Chris Mobile" <205>)<BR>exten => s,5,Dial(<A
href="mailto:Local/${DIALNUM}@unlimited/n">Local/${DIALNUM}@unlimited/n</A>)
;DIAL INTERNAL EXTENSION<BR>exten => s,6,Playback(call-terminated)<BR>exten
=> s,7,Goto(aa_chris_start,s,1)<BR>exten =>
s,8,Gotoif($[${LEN(${DIALNUM})} = 7]?s,9:s,14) ;IF 7 DIGITS DIALED, ITS LOCAL,
PREPEND THE AREA CODE<BR>exten => s,9,SetCIDNum(9999999999)<BR>exten =>
s,10,Dial(${IPTRUNK}/360${DIALNUM},,T)<BR>exten => s,11,Dial(<A
href="mailto:SIP/360${DIALNUM}@telasip-gw,,T">SIP/360${DIALNUM}@telasip-gw,,T</A>)<BR>exten
=> s,12,Playback(all-circuits-busy-now)<BR>exten =>
s,13,Goto(aa_chris_start,s,1)<BR>exten => s,14,SetCIDNum(9999999999) ;NUMBER
ISNT 7, OR LESS THAN 5 SO AREA CODE WAS ADDED<BR>exten =>
s,15,Dial(${IPTRUNK}/${DIALNUM},,T)<BR>exten => s,16,Dial(<A
href="mailto:SIP/${DIALNUM}@telasip-gw,,T">SIP/${DIALNUM}@telasip-gw,,T</A>)<BR>exten
=> s,17,Playback(all-circuits-busy-now)<BR>exten =>
s,18,Goto(aa_chris_start,s,1)<BR>exten =>
i,1,Goto(aa_chris_start,s,1)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Chris Coulthurst</FONT></DIV>
<DIV><FONT face=Arial size=2><A
href="mailto:chris@shuksan.com">chris@shuksan.com</A></FONT></DIV>
<DIV> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Asterisk-Users mailing
list<BR>Asterisk-Users@lists.digium.com<BR>http://lists.digium.com/mailman/listinfo/asterisk-users<BR>To
UNSUBSCRIBE or update options visit:<BR>
http://lists.digium.com/mailman/listinfo/asterisk-users</BODY></HTML>