Brekeke Forum Index » Brekeke PBX Forum

Post new topic   Reply to topic
two domains with the same server
Author Message
amr_elsawi
Brekeke Talented


Joined: 19 Nov 2006
Posts: 54
Location: Kuwait

PostPosted: Sun Oct 21, 2007 3:24 am    Post subject: two domains with the same server Reply with quote

Dear All

We have a problem, and we can describe it as follows:

1- we have an OnDo PBX.

2- we have a two domain names : sip.a.com, and sip.b.com, which directed to the same IP address.

3- some users registered to the system with sip.a.com, and other registered with sip.b.com.

3- any user with sip.a.com can not call any user with sip.b.com.

4- when I try to make a capure of the packet for a call from sip.a.com to sip.b.com, I found that the registration sent to the sip.b.com with xx@sip.a.com.

So please advice us about a solution of this problem.

Note: when I try the same situation on a SIP server only without PBX, I found that the call go from sip.a.com to sip.b.com normally with no problem.


Thank you
Best REgards
Amr

_________________
Amr
Back to top
View user's profile Send e-mail Yahoo Messenger MSN Messenger
peng
Brekeke Guru


Joined: 20 Jul 2005
Posts: 110

PostPosted: Mon Oct 22, 2007 1:00 pm    Post subject: Reply with quote

what sipphones are you using?
Back to top
View user's profile
amr_elsawi
Brekeke Talented


Joined: 19 Nov 2006
Posts: 54
Location: Kuwait

PostPosted: Tue Oct 23, 2007 5:45 am    Post subject: Reply with quote

we are using :

- Linksys PAP2T (ATA Box)
- Koncept KTA2110
- Duxoft soft phone


Does it's related to the UA device.

_________________
Amr
Back to top
View user's profile Send e-mail Yahoo Messenger MSN Messenger
peng
Brekeke Guru


Joined: 20 Jul 2005
Posts: 110

PostPosted: Wed Oct 24, 2007 11:18 am    Post subject: Reply with quote

> Does it's related to the UA device.

I think the callee ua is rejecting a call that has different domain.
All of your phones do not work?
Back to top
View user's profile
amr_elsawi
Brekeke Talented


Joined: 19 Nov 2006
Posts: 54
Location: Kuwait

PostPosted: Sat Oct 27, 2007 2:40 am    Post subject: Reply with quote

all soft and hard phones do the same.

but when I make multidomain = no in the sip server configuration, the two domains can reach each other and works as a one system.

Thank you for your support to me.

_________________
Amr
Back to top
View user's profile Send e-mail Yahoo Messenger MSN Messenger
peng
Brekeke Guru


Joined: 20 Jul 2005
Posts: 110

PostPosted: Mon Oct 29, 2007 2:09 pm    Post subject: Reply with quote

> but when I make multidomain = no in the sip server configuration, the two domains can reach each other and works as a one system.

oh, That is how it works. If you use multi-domain, you can have the same user name under different domain. They are different entryies
so you have to specify the callee domain when you call, or otherwise
you have to use dialplan.
Back to top
View user's profile
amr_elsawi
Brekeke Talented


Joined: 19 Nov 2006
Posts: 54
Location: Kuwait

PostPosted: Wed Oct 31, 2007 12:26 am    Post subject: Reply with quote

Dear Peng

can you send me the suitable dial plan for this situation??

Thank you
Amr

_________________
Amr
Back to top
View user's profile Send e-mail Yahoo Messenger MSN Messenger
peng
Brekeke Guru


Joined: 20 Jul 2005
Posts: 110

PostPosted: Fri Nov 02, 2007 10:12 pm    Post subject: Reply with quote


Matching Patterns
$request = ^INVITE
To = sip:(1..)@
$regaddr("%1") = (.+)


deploy pattens

To=sip:%1@dommain1.com
$target=%2


good luck.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke PBX Forum All times are GMT - 7 Hours
Page 1 of 1