<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><BR>hey i just added&nbsp;it in&nbsp;ocntext spa, now it picks upt he phone, but when i try&nbsp;accessing extension 110 it gives me tht last error&nbsp;and then the line hangs up after a few seconds..<BR>
&nbsp;<BR>
<BR>&nbsp; == Connect attempt from '127.0.0.1' unable to authenticate<BR>&nbsp;&nbsp;&nbsp; -- Executing [100@spa:1] Goto("SIP/101-b5f65f20", "<FONT face="">sipura-line|100|1</FONT>") in new stack<BR>&nbsp;&nbsp;&nbsp; -- Goto (sipura-line,100,1)<BR>&nbsp;&nbsp;&nbsp; -- Executing [100@sipura-line:1] Answer("SIP/101-b5f65f20", "") in new stack<BR>&nbsp;&nbsp;&nbsp; -- Executing [100@sipura-line:2] WaitExten("SIP/101-b5f65f20", "10") in new stack<BR>[May 26 19:53:26] WARNING[27678]: pbx.c:2494 __ast_pbx_run: Invalid extension '11', but no rule 'i' in context 'sipura-line'<BR><BR><BR><BR>
<BLOCKQUOTE>
<HR id=EC_stopSpelling>
From: roberto.milani@sbcglobal.net<BR>To: asterisk-users@lists.digium.com<BR>Date: Mon, 26 May 2008 09:23:54 -0700<BR>Subject: Re: [asterisk-users] sipura 3102 dial plan : (S0&lt;:100&gt;) not being answered on asterisk!<BR><BR>Why do you expect anything different? 
<DIV>
<BLOCKQUOTE><SPAN class=EC_Apple-style-span style="FONT-SIZE: 13px; COLOR: rgb(0,0,0); FONT-FAMILY: Tahoma">Exten =&gt; _1XX,1,Dial(SIP/${EXTEN})<BR></SPAN></BLOCKQUOTE><BR></DIV>
<DIV>Dial means Dial</DIV>
<DIV>and it is Dialing.</DIV>
<DIV><BR></DIV>
<DIV>
<BLOCKQUOTE><SPAN class=EC_Apple-style-span style="FONT-SIZE: 13px; COLOR: rgb(0,0,0); FONT-FAMILY: Tahoma">Exten =&gt; _1XX,1,Dial(SIP/${EXTEN})<BR></SPAN></BLOCKQUOTE><BR></DIV>
<DIV>in spa context might be changed into</DIV>
<DIV><BR></DIV><SPAN class=EC_Apple-style-span style="FONT-SIZE: 13px; FONT-FAMILY: Tahoma">exten =&gt; _1XX,1,GoTo(sipura-line,${EXTEN},1)</SPAN> 
<DIV><FONT class=EC_Apple-style-span face=Tahoma size=3><SPAN class=EC_Apple-style-span style="FONT-SIZE: 13px"><BR></SPAN></FONT></DIV>
<DIV><FONT class=EC_Apple-style-span face=Tahoma size=3><SPAN class=EC_Apple-style-span style="FONT-SIZE: 13px">Ciao</SPAN></FONT></DIV>
<DIV><FONT class=EC_Apple-style-span face=Tahoma size=3><SPAN class=EC_Apple-style-span style="FONT-SIZE: 13px">Roberto<BR></SPAN></FONT>
<DIV><BR>
<DIV>
<DIV>On May 26, 2008, at 8:34 AM, RoLaNd RoLaNd wrote:</DIV><BR class=EC_Apple-interchange-newline>
<BLOCKQUOTE><SPAN class=EC_Apple-style-span style="WORD-SPACING: 0px; FONT: 12px Helvetica; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: separate">
<DIV class=EC_hmmessage style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">sip.conf:<BR><BR><BR>[100]<BR><BR>secret=1234<BR>allow=all<BR>host=dynamic<BR>type=friend<BR>context=sipura-line<BR><BR>[101]<BR><BR>secret=1234<BR>allow=all<BR>host=dynamic<BR>type=friend<BR>context=spa<BR><BR>[103]<BR><BR>secret=1234<BR>allow=all<BR>host=dynamic<BR>type=friend<BR>context=spa<BR><BR><BR><BR><BR><BR>extensions.conf:<BR><BR><BR>[sipura-line]<BR>exten =&gt; 100,1,Answer() ; Answer inbound calls<BR>exten =&gt; 100,2,Playback(silence/1)<BR>exten =&gt; 100,3,Background(/etc/asterisk/simzy.wav) ; input an extension<BR>exten =&gt; 100,n,WaitExten(5) ; Adjust wait, default 5 sec<BR>exten =&gt; 100,n,Goto(internal,${EXTEN},1) ; Goto the correct extension<BR>exten =&gt; 100,n,Hangup() ; End the call<BR><BR>[spa]<BR>Exten =&gt; _1XX,1,Dial(SIP/${EXTEN})<BR>exten =&gt; _0.,1,Dial(SIP/101/${EXTEN:1})<BR><BR><BR>&nbsp; sip debug:<BR><BR><BR>== Connect attempt from '127.0.0.1' unable to authenticate<BR>&nbsp;&nbsp;&nbsp; -- Executing [100@spa:1] Dial("SIP/101-b5f65a78", "SIP/100") in new stack<BR>&nbsp;&nbsp;&nbsp; -- Called 100p*CLI&gt;<BR>&nbsp;&nbsp;&nbsp; -- SIP/100-08234f40 is ringing<BR><BR><BR><BR>and on sipura 3102, ive set in the dial plan that PSTN to VOIP is directed to:<SPAN class=EC_Apple-converted-space>&nbsp;</SPAN><SPAN style="FONT-WEIGHT: bold">(S0&lt;:100&gt;)<BR><BR><BR>the phone keeps on ringing, on 100 i could see it ringing in the CLI as u see above, but it doesnt get picked up to run the audio msg ive set in the extensions.conf<BR></SPAN><BR>
<HR>
Explore the seven wonders of the world<SPAN class=EC_Apple-converted-space>&nbsp;</SPAN><A href="http://search.msn.com/results.aspx?q=7+wonders+world&amp;mkt=en-US&amp;form=QBRE" target=_blank>Learn more!</A><SPAN class=EC_Apple-converted-space>&nbsp;</SPAN>_______________________________________________<BR>-- Bandwidth and Colocation Provided by<SPAN class=EC_Apple-converted-space>&nbsp;</SPAN><A href="http://www.api-digital.com/" target=_blank>http://www.api-digital.com</A><SPAN class=EC_Apple-converted-space>&nbsp;</SPAN>--<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR>&nbsp;&nbsp;<A href="http://lists.digium.com/mailman/listinfo/asterisk-users" target=_blank>http://lists.digium.com/mailman/listinfo/asterisk-users</A></DIV></SPAN></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>