Hi Andrey,<br><br>It still doesn't work even I have follow your advice below. I have try Kapil's advice which I should use prefix to call my secondary ser server but it still failed too.<br>Hopefully you/anyone have another advice for my problem ?
<br><br><div><span class="gmail_quote">2006/8/1, Andrey Kouprianov <<a href="mailto:andrey.kouprianov@gmail.com">andrey.kouprianov@gmail.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>1. In your "domain" table (i.e. MySQL) in both SER's you'd have to add<br>domain entries.<br> E.g. # serctl domain add <a href="http://you.domain.name.net">you.domain.name.net</a><br><br>2. Then into" trusted" tables add entries as follows:
<br><br> a. For 192.168.100 --> Login to MySQL, and insert entries into<br>SER's trusted table:<br>mysql> insert into trusted values ('<a href="http://192.168.200.200">192.168.200.200</a>', 'any', '^sip:.*$');<br>
<br> b. And vice versa.<br><br>3. After that you need to modify ur ser.cfg whenever INVITE method is<br>encountered:<br>E.g.<br><br>...<br>if(!allow_trusted() && !is_uri_host_local() ) {<br> if (!proxy_authorize("
<a href="http://you.domain.name.net">you.domain.name.net</a>","subscriber")) {<br> proxy_challenge("<a href="http://you.domain.name.net">you.domain.name.net</a>","0");<br> break;
<br> }<br> else if (!check_from()) {<br> xlog("L_WARN", "[%Tf]:%rm: possible uri spoofing attempt!;<br>IP=%is; from=%fu; to=%tu\n");<br> sl_send_reply("403", "Forbidden");
<br> break;<br> };<br><br> consume_credentials();<br>};<br>....<br><br>Before saving make sure these modules are properly loaded: uri_db.so,<br>domain.so, permissions.so and xlog.so.<br><br>4. Then restart your restart your SER
<br><br>Hope that works.<br><br> Andrey.<br><br><br>On 8/1/06, Asep Saifudin <<a href="mailto:aseps2000@gmail.com">aseps2000@gmail.com</a>> wrote:<br>> Andrey,<br>><br>> I have try to put in my ser.cfg like this below but still doesnt work.
<br>> in my first SER Server :<br>><br>> if (!proxy_authorize("<a href="http://192.168.200.200">192.168.200.200</a>", "subscriber")) {<br>> proxy_challenge("<a href="http://192.168.200.200">
192.168.200.200</a>", "0");<br>> break;<br>> };<br>><br>> and in my secondary SER server :<br>><br>> if (!proxy_authorize(" <a href="http://192.168.100.100">192.168.100.100</a>
", "subscriber")) {<br>> proxy_challenge("<a href="http://192.168.100.100">192.168.100.100</a>", "0");<br>> break;<br>> };<br>><br>> Really need further advice from you or anyone who have implement for call
<br>> between 2 SER Server ?<br>><br>> Thanks,<br>> Asep<br>><br>> 2006/8/1, Asep Saifudin <<a href="mailto:aseps2000@gmail.com">aseps2000@gmail.com</a>>:<br>> ><br>> > can you give me step by step what should I do for this ? or sample for
<br>> this scheme ?<br>> > And should I add my first SER server domain in my secondary SER server<br>> domain table (in MySQL server) or how because I still dont undestand with<br>> your explanation ?<br>> >
<br>> ><br>> ><br>> > 2006/8/1, Andrey Kouprianov <<a href="mailto:andrey.kouprianov@gmail.com">andrey.kouprianov@gmail.com</a> >:<br>> ><br>> > > Make your ser.cfg on receiving side configured so that it does NOT
<br>> > > authorize incoming calls from different domains. Otherwise, the caller<br>> > > will always be rejected.<br>> > ><br>> > > On 8/1/06, Asep Saifudin < <a href="mailto:aseps2000@gmail.com">
aseps2000@gmail.com</a>> wrote:<br>> > > > Hi,<br>> > > ><br>> > > > I have two running SER Server but I stil got problem to make call from<br>> my<br>> > > > first SER server to my secondary SER server.
<br>> > > ><br>> > > > My first SER server info :<br>> > > > 1. IP address = <a href="http://192.168.100.100">192.168.100.100</a><br>> > > > 2. sample subscriber number is 10999
<br>> > > ><br>> > > > My second SER Server info :<br>> > > > 1. IP address = <a href="http://192.168.200.200">192.168.200.200</a><br>> > > > 2. sample subscriber number is 20099
<br>> > > ><br>> > > > My question is :<br>> > > > How suberiber 10099 can call to subscriber 20099 ?<br>> > > > What additional config should I put in each ser.cfg ? or<br>
> > > > should I use gatekeeper/softswitch ?<br>> > > ><br>> > > > Thanks<br>> > > ><br>> > > > _______________________________________________<br>> > > > Serusers mailing list
<br>> > > > <a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br>> > > > <a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers
</a><br>> > > ><br>> > > ><br>> > > ><br>> > > _______________________________________________<br>> > > Serusers mailing list<br>> > > <a href="mailto:Serusers@lists.iptel.org">
Serusers@lists.iptel.org</a><br>> > > <a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br>> > ><br>> ><br>> ><br>> ><br>>
<br>><br>_______________________________________________<br>Serusers mailing list<br><a href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers">
http://lists.iptel.org/mailman/listinfo/serusers</a><br></blockquote></div><br>