Hi All, First of all, i'm a noob in the sip environment, network and even more in opensips so please excuse my lack of accuracy/knowledge. Here is my goal, in a test purpose (yes it can be weird), i have the following installation:
SIP client (1000, registered on OpenSips 1) ------- OpenSips 1 (192.168.1.1) ----------- Opensips 2 (192.168.1.2) -------SIP client (2000, registered on OpenSips 2) The goal is for sip_client with account 1000 to be able to call sip_client with account 2000.It should be easy to do but i can't manage to configure it. Each OpenSips can be managed by Opensips-cp. >From what i read, i saw the following step to do: -In the IP Auth tab, add the other sip server ip address in order to be trusted. =>Both of sip server should be allowed to talk to each other. Is it enough for linking the two sip servers? -Make a dialplan. Use a prefix, create a dialplan which regex for identifying the prefix in the sip uri and add the ip address of the other sip server. =>Let's choose 66 prefix for the Opensips 2 area. In dialing 661000 from sip client 2000, we can have something like that for the dialplan: matching regex: ^661000[0-9].* Matching flags 0 Substitution regex (66100[0-9])@.*(;.*) Replacement expression sip:\[email protected] -Make a dynamic routing. Give the other sip server ip address and strip the prefix. In that case: Address: 192.168.1.1 Strip 2 PRI Prefix #66 Same thing in the opposite way on the other sip server. Someone could explain to me where i am wrong and/or maybe redirect me to a tutorial for dummies (wasn't able to find anything i understand in googling...maybe lake of good keyword....) ? Thank you in advance. Kevin
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
