<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>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 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 <a href='http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html>