<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 it in ocntext spa, now it picks upt he phone, but when i try accessing extension 110 it gives me tht last error and then the line hangs up after a few seconds..<BR>
<BR>
<BR> == Connect attempt from '127.0.0.1' unable to authenticate<BR> -- Executing [100@spa:1] Goto("SIP/101-b5f65f20", "<FONT face="">sipura-line|100|1</FONT>") in new stack<BR> -- Goto (sipura-line,100,1)<BR> -- Executing [100@sipura-line:1] Answer("SIP/101-b5f65f20", "") in new stack<BR> -- 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<:100>) 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 => _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 => _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 => _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 => 100,1,Answer() ; Answer inbound calls<BR>exten => 100,2,Playback(silence/1)<BR>exten => 100,3,Background(/etc/asterisk/simzy.wav) ; input an extension<BR>exten => 100,n,WaitExten(5) ; Adjust wait, default 5 sec<BR>exten => 100,n,Goto(internal,${EXTEN},1) ; Goto the correct extension<BR>exten => 100,n,Hangup() ; End the call<BR><BR>[spa]<BR>Exten => _1XX,1,Dial(SIP/${EXTEN})<BR>exten => _0.,1,Dial(SIP/101/${EXTEN:1})<BR><BR><BR> sip debug:<BR><BR><BR>== Connect attempt from '127.0.0.1' unable to authenticate<BR> -- Executing [100@spa:1] Dial("SIP/101-b5f65a78", "SIP/100") in new stack<BR> -- Called 100p*CLI><BR> -- 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> </SPAN><SPAN style="FONT-WEIGHT: bold">(S0<:100>)<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> </SPAN><A href="http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE" target=_blank>Learn more!</A><SPAN class=EC_Apple-converted-space> </SPAN>_______________________________________________<BR>-- Bandwidth and Colocation Provided by<SPAN class=EC_Apple-converted-space> </SPAN><A href="http://www.api-digital.com/" target=_blank>http://www.api-digital.com</A><SPAN class=EC_Apple-converted-space> </SPAN>--<BR><BR>asterisk-users mailing list<BR>To UNSUBSCRIBE or update options visit:<BR> <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>