Dear all<br> <br> I want to achive forwading call from SER to Asterisk system i have read about it on voip-info real-time integration of SER & asterisk but its base on mysql <br> <br> i dont have mysql database server i just want to use asterisk as PSTN media means all SIP register on SER and "0XXXXXXXXXXX" number goes thorugh asterisk <br> <br> Ser and asterisk runing on defferent machine.<br> <br> I have put this code in my ser.cfg.sample file..<br> <br> <span style="font-family: monospace;">[globals] </span><br> <span style="font-family: monospace;"> SERADDRESS=XXX.XXX.XXX.XXX:5060 </span><br> <br> <span style="font-family: monospace;"> [context] </span><br> <span style="font-family: monospace;"> exten => <yourexten>,1,Dial(SIP/${EXTEN}@${SERADDRESS},20,r) </span><br> <br> In ser.cfg: <br> <br>
<span style="font-family: monospace;"> if (method == "INVITE") { </span><br> <span style="font-family: monospace;"> if (uri =~ "sip:1[0-9]{10}@*"){ </span><br> <span style="font-family: monospace;"> log(1, "Forwarding to Asterisk\n"); </span><br> <span style="font-family: monospace;"> rewritehostport("XXX.XXX.XXX.XXX:5060"); </span><br> <span style="font-family: monospace;"> t_relay(); </span><br> <span style="font-family: monospace;"> break; </span><br> <span style="font-family: monospace;"> } </span><br> <span style="font-family: monospace;"> } <br> <br> But it is not working u got error "User not Found" i dont know way this happending...<br> </span><BR><BR><span style="font-family: arial black; color: rgb(0, 0,
0);">$ cat ~/satish/url.txt </span><br style="font-family: arial black; color: rgb(0, 0, 0);"><br style="font-family: arial black; color: rgb(0, 0, 0);"><span style="font-family: arial black; color: rgb(0, 0, 0);">http://www.linuxbug.org<br>_____________________________________________________________________________________________________<br></span><p> 
<!--5--><hr size=1></hr> Get the freedom to save as many mails as you wish. <a href="http://in.rd.yahoo.com/tagline_mail_5/*http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/">Click here to know how.</a>