<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Hello all,<br><br>im having trouble directing incoming calls to specific extensions after the WAITEXTEN rule has been executed.<br>for example when i call in and asterisk picks up, i hear the msg.. if try to call 105 for example, it just takers 10.. and sometimes even just "1"<br>&nbsp;please see the following error as well as my sip.conf and extensions.conf<br><br><br><span style="font-weight: bold;">CLI sip debugging ERROR: </span><br><br><br>&nbsp;&nbsp; -- Executing [120@spa:1] Goto("SIP/101-b5f65a78", "sipura-line|120|1") in new stack<br>&nbsp;&nbsp;&nbsp; -- Goto (sipura-line,120,1)<br>&nbsp;&nbsp;&nbsp; -- Executing [120@sipura-line:1] Answer("SIP/101-b5f65a78", "") in new stack<br>&nbsp;&nbsp;&nbsp; -- Executing [120@sipura-line:2] Playback("SIP/101-b5f65a78", "silence/1") in new stack<br>&nbsp;&nbsp;&nbsp; -- &lt;SIP/101-b5f65a78&gt; Playing 'silence/1' (language 'en')<br>&nbsp;&nbsp;&nbsp; -- Executing [120@sipura-line:3] BackGround("SIP/101-b5f65a78", "simzy") in new stack<br>&nbsp;&nbsp;&nbsp; -- &lt;SIP/101-b5f65a78&gt; Playing 'simzy' (language 'en')<br>&nbsp;&nbsp;&nbsp; -- Executing [120@sipura-line:4] WaitExten("SIP/101-b5f65a78", "5") in new stack<br>[May 28 14:41:25] WARNING[13091]: pbx.c:2494 __ast_pbx_run: Invalid extension '10', but no rule 'i' in context 'sipura-line'<br><br><span style="font-weight: bold;">sip.conf <br><br></span>[100]<br><br>secret=1234<br>allow=all<br>host=dynamic<br>type=friend<br>context=sipura-line<br><br><br>[101]<br><br>secret=1234<br>allow=all<br>host=dynamic<br>type=friend<br>context=spa<br><br><br>[102]<br><br>secret=1234<br>allow=all<br>host=dynamic<br>type=friend<br>context=spa<br><br><br>[103]<br><br>secret=1234<br>allow=all<br>host=dynamic<br>type=friend<br>context=spa<br><br>[120]<br><br>secret=1234<br>allow=all<br>host=dynamic<br>type=friend<br>context=sipura-line<br><br><br>[105]<br><br>secret=1234<br>allow=all<br>host=dynamic<br>type=friend<br>context=sipura-line<br><br><span style="font-weight: bold;">extensions.conf:</span><br><br><br>[sipura-line]<br><br>exten =&gt; 120,1,Answer() ; Answer inbound calls<br>exten =&gt; 120,2,Playback(silence/1)<br>exten =&gt; 120,3,Background(simzy) ; input an extension<br>exten =&gt; 120,n,WaitExten(5) ; Adjust wait, default 5 sec<br>exten =&gt; 120,n,Goto(spa,${EXTEN}@192.168.0.111:5061,1) ; Goto the correct extension<br>exten =&gt; 120,n,Hangup() ; End the call<br><br>[spa]<br><br>exten =&gt;_120,1,GoTo(sipura-line,${EXTEN},1)<br>Exten =&gt; _1XX,1,Dial(SIP/${EXTEN})<br>exten =&gt; _0.,1,Dial(SIP/101/${EXTEN:1})<br>exten =&gt; _1X.,1,Dial(SIP/${EXTEN}@192.168.0.111:5061)<br><span style="font-weight: bold;"><br></span><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>