<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am assuming the problem you are trying to solve
is no audio. Are both the phone and asterisk on public ip
address?</FONT></DIV>
<DIV> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=bill@cosi.com href="mailto:bill@cosi.com">Bill Michaelson</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=asterisk-users@lists.digium.com
href="mailto:asterisk-users@lists.digium.com">asterisk-users@lists.digium.com</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 09, 2004 5:26
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Asterisk-Users]
asterisk-grandstream call</DIV>
<DIV><BR></DIV>Arg.. my posting was mangled by text-wrapping.
Sorry.<BR><BR>Here again...<BR>sip.conf:<BR><PRE><TT>[general]</TT></PRE><PRE><TT>port = 5060 ; Port to bind to</TT></PRE><PRE><TT>bindaddr = 0.0.0.0 ; Address to bind to</TT></PRE><PRE><TT>context = default ; Default for incoming calls</TT></PRE><PRE><TT>[248379]</TT></PRE><PRE><TT>username=billdesk</TT></PRE><PRE><TT>type=friend</TT></PRE><PRE><TT>host=dynamic</TT></PRE><PRE><TT>canreinvite=no</TT></PRE><PRE><TT>mailbox=1234</TT></PRE><PRE><TT>context=demo
</TT></PRE><PRE></PRE>extensions.conf:<BR><BR><PRE><FONT face="Courier New, Courier, monospace">
</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[general]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">static=yes</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">writeprotect=no</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[globals]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">CONSOLE=Console/dsp ; Console interface for demo</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">IAXINFO=guest ; IAXtel username/password</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">TRUNK=Zap/g2 ; Trunk interface</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">TRUNKMSD=1 ; MSD digits to strip (usually 1 or 0)</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[iaxtel700]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _91700NXXXXXX,1,Dial(IAX2/${<A class=moz-txt-link-abbreviated href="mailto:IAXINFO}@iaxtel.com/${EXTEN:1">IAXINFO}@iaxtel.com/${EXTEN:1</A>}@iaxtel)</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[iaxprovider]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[trunkint]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _9011.,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _9011.,2,Congestion</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[trunkld]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _91NXXNXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _91NXXNXXXXXX,2,Congestion</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[trunklocal]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _9NXXXXXX,2,Congestion</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[trunktollfree]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _91800NXXXXXX,2,Congestion</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _91888NXXXXXX,2,Congestion</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _91877NXXXXXX,2,Congestion</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}})</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => _91866NXXXXXX,2,Congestion</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[international]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">ignorepat => 9</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">include => longdistance</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">include => trunkint</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[longdistance]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">ignorepat => 9</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">include => local</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">include => trunkld</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[local]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">ignorepat => 9</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">include => default</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">include => parkedcalls</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">include => trunklocal</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">include => iaxtel700</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">include => trunktollfree</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">include => iaxprovider</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[macro-stdexten];</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => s,1,Dial(${ARG2},20) ; Ring the interface, 20 seconds maxi\</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">mum</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => s,2,Voicemail(u${ARG1}) ; If unavailable, send to voicemail w\</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">/ unavail announce</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => s,3,Goto(default,s,1) ; If they press #, return to start</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => s,102,Voicemail(b${ARG1}) ; If busy, send to voicemail w/ bu\</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">sy announce</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => s,103,Goto(default,s,1) ; If they press #, return to start</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[demo]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => s,1,Wait,1 ; Wait a second, just for fun</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => s,2,Answer ; Answer the line</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => s,3,DigitTimeout,5 ; Set Digit Timeout to 5 seconds</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => s,4,ResponseTimeout,10 ; Set Response Timeout to 10 seconds</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => s,5,BackGround(demo-congrats) ; Play a congratulatory message</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => s,6,BackGround(demo-instruct) ; Play some instructions</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 2,1,BackGround(demo-moreinfo) ; Give some more information.</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 2,2,Goto(s,6)</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 3,1,SetLanguage(fr) ; Set language to french</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 3,2,Goto(s,5) ; Start with the congratulations</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 1000,1,Goto(default,s,1)</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 1234,1,Playback(transfer,skip) ; "Please hold while..."</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace"> ; (but skip if channel is not up)</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 1234,2,Macro(stdexten,1234,${CONSOLE})</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 1235,1,Voicemail(u1234) ; Right to voicemail</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 1236,1,Dial(Console/dsp) ; Ring forever</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 1236,2,Voicemail(u1234) ; Unless busy</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => #,1,Playback(demo-thanks) ; "Thanks for trying the demo"</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => #,2,Hangup ; Hang them up.</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => t,1,Goto(#,1) ; If they take too long, give up</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => i,1,Playback(invalid) ; "That's not valid, try again"</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 500,1,Playback(demo-abouttotry); Let them know what's going on</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 500,2,Dial(<A class=moz-txt-link-abbreviated href="mailto:IAX2/guest@misery.digium.com/s@default">IAX2/guest@misery.digium.com/s@default</A>) ; Call the Asterisk\</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace"> demo</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 500,3,Playback(demo-nogo) ; Couldn't connect to the demo site</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 500,4,Goto(s,6) ; Return to the start over message.</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 600,1,Playback(demo-echotest) ; Let them know what's going on</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 600,2,Echo ; Do the echo test</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 600,3,Playback(demo-echodone) ; Let them know it's over</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 600,4,Goto(s,6) ; Start over</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 8500,1,VoicemailMain</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">exten => 8500,2,Goto(s,6)</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">[default]</FONT></PRE><PRE><FONT face="Courier New, Courier, monospace">include => demo</FONT></PRE><BR><BR></BLOCKQUOTE></BODY></HTML>