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