Hi,
 
But Jan, i m bit surprised that y SIP Phone directly contacts other domain, no packet comes on the sip.abc.com, but to make a call from xxxx@sip.abc.com to xxxx@sip.xyz.com SIP client(xxxx@sip.abc.com) directly contacts sip.xyz.com to get address of user xxxx@sip.xyz.com, is this due to protocol design? or any abnormality?
 
As the logic of if(uri==myself)
{}
else{}
would match only when packets will come to ser. Isnt it?
 
JF

Jan Janak <jan@iptel.org> wrote:
Hello,

yes, it is possible. The default config file contains condition
if (uri==myself) {
do something
};

t_relay();

What does that mean: If the Request-URI of a message contains a domain
that belons to the server, the server does some processing like
registration/unregistration etc..

If the Request-URI contains a domain that doesn't belong to the server
then the server will simply forward it there, without any special
processing.

So your setup should work providing that you have correct DNS records.

Jan.

On 04-10 00:19, John Foster wrote:
> Hi all,
>
> Here is a scenario, i m working on, If anyone can comment on it.
>
> Scenario:
> I have two SIP domains, abc.com and xvz.com
> sip.abc.com is running ser and has registered users with xxxx@abc.com
> similarly sip.xyz.com is serving users xxxx@xyz.com
> sip.abc.com and sip.xyz.com can be resolved through standard dns servers as SRV hosts for their respective domains.
> There is no explicitly defined routing procedure on ser.conf for other domain, in both SIP servers machines.
>
> Is it possible for xxxx@abc.com to register with sip.abc.com and place a call to user xxxx@xyz.com.
> While trying, i m getting no packet on sip.abc.com not sip.xyz.com for the subject call.
>
>
> Any comment?
>
> JF
>
>
> ---------------------------------
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> _______________________________________________
> Serusers mailing list
> serusers@lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers


Do you Yahoo!?
The New Yahoo! Shopping - with improved product search