Re: Minimum implementation of Asterisk for Google Voice? June 24, 2012 11:11AM |
Registered: 12 years ago Posts: 92 |
[general] static=yes writeprotect=no clearglobalvars=no [globals] CONSOLE=Console/dsp ; Console interface for demo IAXINFO=guest ; IAXtel username/password TRUNK=Zap/G2 ; Trunk interface TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0) [default] exten => s,1,Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})}) exten => s,n,Dial(SIP/101,10) exten => s,n, Hangup exten => 101, 1, Dial(SIP/101, 10) exten => 102, 1, Dial(SIP/102, 10) [google-in] exten => rottstein@gmail.com, 1, GotoIf(${DB_EXISTS(gv_dialout/channel)}?bridged) exten => rottstein@gmail.com, n, NoOp(Callerid ${CALLERID(name)}) exten => rottstein@gmail.com, n, Set(CALLERID(num)=${SHIFT(CALLERID(name),@)}) exten => rottstein@gmail.com, n, Set(CALLERID(name)=${DB(cidname/${CALLERID(num)})}) exten => rottstein@gmail.com, n, Dial(SIP/101, 180, D(:1)) exten => rottstein@gmail.com, n(bridged),Bridge(${DB_DELETE(gv_dialout/channel)}, p) [outbound] include => seven-digit include => local-devices include => tollfree include => talk-gmail-outbound include => talk-numeric-outbound include => dial-uri [local-devices] exten => _1, 1, Dial(SIP/101,10) exten => 101, 1, Dial(SIP/101,10) exten => _2, 1, Dial(SIP/102,10) exten => 102, 1, Dial(SIP/102,10) [tollfree] exten => _411, 1, Dial(SIP/18004664411@proxy.ideasip.com,60) exten => _1800NXXXXXX,1,Dial(SIP/${EXTEN}@proxy.ideasip.com,60) exten => _1888NXXXXXX,1,Dial(SIP/${EXTEN}@proxy.ideasip.com,60) exten => _1877NXXXXXX,1,Dial(SIP/${EXTEN}@proxy.ideasip.com,60) exten => _1866NXXXXXX,1,Dial(SIP/${EXTEN}@proxy.ideasip.com,60) [seven-digit] exten => _NXXXXXX,1,Set(CALLERID(dnid)=1512${CALLERID(dnid)}) exten => _NXXXXXX,n,Goto(1512${EXTEN},1) exten => _NXXNXXXXXX,1,Set(CALLERID(dnid)=1${CALLERID(dnid)}) exten => _NXXNXXXXXX,n,Goto(1${EXTEN},1) [talk-gmail-outbound] exten => _[a-z].@gmail.com,1,Dial(Gtalk/rottstein/${EXTEN}@gmail.com) exten => _[A-Z].@gmail.com,1,Dial(Gtalk/rottstein/${EXTEN}@gmail.com) [talk-numeric-outbound] exten => _1NXXNXXXXXX,1,Dial(Gtalk/rottstein/${EXTEN}@voice.google.com) exten => _+1NXXNXXXXXX,1,Dial(Gtalk/rottstein/${EXTEN}@voice.google.com) [gv-agi-outbound] exten => _1NXXNXXXXXX,1,AGI(google-voice-dialout.agi) exten => _+1NXXNXXXXXX,1,AGI(google-voice-dialout.agi) [dial-uri] exten => _[a-z].,1,Dial(SIP/${EXTEN}@${SIPDOMAIN},120,tr) exten => _[A-Z].,1,Dial(SIP/${EXTEN}@${SIPDOMAIN},120,tr) exten => _X.,1,Dial(SIP/${EXTEN}@${SIPDOMAIN},120,tr)
[general] context=default ; Default context for incoming calls allowoverlap=no ; Disable overlap dialing support. (Default is yes) bindport=5060 ; UDP Port to bind to (SIP standard port is 5060) bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) tcpenable=yes ; Enable server for incoming TCP connections (default is no) tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces) srvlookup=yes ; Enable DNS SRV lookups on outbound calls [Default](!) type=friend host=dynamic context=outbound outgoinglimit=1 incominglimit=1 canreinvite=no disallow=all allow=g722 allow=alaw allow=ulaw allow=gsm [101](default) username=Desk secret=redacted callerid="Charlie Black <101>" mailbox=101 [102](default) username=Dad-mobile secret=redacted callerid="Charlie Black <mobile>" mailbox=102
Re: Minimum implementation of Asterisk for Google Voice? June 24, 2012 11:14AM |
Registered: 12 years ago Posts: 92 |
Re: Minimum implementation of Asterisk for Google Voice? June 24, 2012 12:52PM |
Registered: 13 years ago Posts: 261 |
[general] context=default ; Default context for incoming calls allowoverlap=no ; Disable overlap dialing support. (Default is yes) bindport=8024 ; UDP Port to bind to (SIP standard port is 5060) bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all) externhost=www2.blahblah.org ; my DynDNS name externrefresh=60 localnet=192.168.1.0/255.255.255.0 ;tcpenable=yes ; Enable server for incoming TCP connections (default is no) ;tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces) srvlookup=yes ; Enable DNS SRV lookups on outbound calls [101] ; main SIP phone @ Home username=101 secret=asterisk101 type=friend callerid="PG Home <101>" host=dynamic context=peter.gunn-outbound outgoinglimit=1 incominglimit=1 canreinvite=no [102] ; PG's HTC EVO username=102 secret=asterisk102 type=friend callerid="PG cell <102>" host=dynamic context=peter.gunn-outbound outgoinglimit=1 incominglimit=1 nat=yes canreinvite=no ;videosupport=yes disallow=all allow=g722 allow=alaw allow=ulaw allow=gsm ;allow=h261 ;allow=h263 ;allow=h263p ;allow=h264 ;allow=mpeg4
Re: Minimum implementation of Asterisk for Google Voice? June 25, 2012 09:19PM |
Registered: 12 years ago Posts: 92 |
Re: Minimum implementation of Asterisk for Google Voice? June 25, 2012 09:52PM |
Registered: 13 years ago Posts: 261 |
Re: Minimum implementation of Asterisk for Google Voice? June 26, 2012 06:44AM |
Registered: 12 years ago Posts: 92 |
Re: Minimum implementation of Asterisk for Google Voice? June 26, 2012 09:11PM |
Registered: 12 years ago Posts: 92 |
Re: Minimum implementation of Asterisk for Google Voice? June 26, 2012 09:30PM |
Registered: 13 years ago Posts: 261 |
ed
Re: Minimum implementation of Asterisk for Google Voice? July 14, 2012 07:29AM |
Re: Minimum implementation of Asterisk for Google Voice? July 14, 2012 03:46PM |
Registered: 12 years ago Posts: 92 |
Re: Minimum implementation of Asterisk for Google Voice? July 14, 2012 04:16PM |
Registered: 13 years ago Posts: 261 |
ed
Re: Minimum implementation of Asterisk for Google Voice? July 17, 2012 12:29PM |
Re: Minimum implementation of Asterisk for Google Voice? July 28, 2012 08:37PM |
Registered: 14 years ago Posts: 406 |
Re: Minimum implementation of Asterisk for Google Voice? July 28, 2012 09:34PM |
Registered: 12 years ago Posts: 92 |
Re: Minimum implementation of Asterisk for Google Voice? April 26, 2013 09:27AM |
Registered: 13 years ago Posts: 264 |
Re: Minimum implementation of Asterisk for Google Voice? April 27, 2013 12:17AM |
Registered: 14 years ago Posts: 406 |
Re: Minimum implementation of Asterisk for Google Voice? April 27, 2013 12:19AM |
Registered: 14 years ago Posts: 406 |
Re: Minimum implementation of Asterisk for Google Voice? April 28, 2013 04:06PM |
Registered: 13 years ago Posts: 261 |
Re: Minimum implementation of Asterisk for Google Voice? December 17, 2013 11:16PM |
Registered: 13 years ago Posts: 264 |
STuPiDiCuS
Re: Minimum implementation of Asterisk for Google Voice? January 03, 2014 12:48AM |
Re: Minimum implementation of Asterisk for Google Voice? January 05, 2014 10:21PM |
Registered: 14 years ago Posts: 406 |
Re: Minimum implementation of Asterisk for Google Voice? January 07, 2014 05:29PM |
Registered: 13 years ago Posts: 264 |
Re: Minimum implementation of Asterisk for Google Voice? January 09, 2014 11:58PM |
Registered: 14 years ago Posts: 406 |
Re: Minimum implementation of Asterisk for Google Voice? February 02, 2014 11:50PM |
Registered: 14 years ago Posts: 406 |
Re: Minimum implementation of Asterisk for Google Voice? February 07, 2014 05:01PM |
Registered: 14 years ago Posts: 406 |
Re: Minimum implementation of Asterisk for Google Voice? May 18, 2014 10:53PM |
Registered: 13 years ago Posts: 264 |
Re: Minimum implementation of Asterisk for Google Voice? May 19, 2014 06:31AM |
Registered: 13 years ago Posts: 261 |
Re: Minimum implementation of Asterisk for Google Voice? July 04, 2014 10:01PM |
Registered: 14 years ago Posts: 406 |
Re: Minimum implementation of Asterisk for Google Voice? July 18, 2014 09:17PM |
Registered: 13 years ago Posts: 261 |
Re: Minimum implementation of Asterisk for Google Voice? July 21, 2014 12:42PM |
Registered: 13 years ago Posts: 264 |