Re: [OpenSIPS-Users] Connecting pbx to Opensips

2012-06-04 Thread SamyGo
Its not a problem with OpenSIPS, obviously. Try setting up inbound/outbound
trunk with your FreePBX and when you define that try using sip settings
which don't harm the fromuser, CID of the call.


On Sun, Jun 3, 2012 at 11:42 AM, Schneur Rosenberg rosenberg11...@gmail.com
 wrote:

 I'm using OpenSIPS to load balance multiple Asterisk servers, all
 phones are registered to OpenSIPS, and Asterisk shares the subscriber
 table, every INVITE gets sent to asterisk and when Asterisk sees the
 invite it recognizes the user and sends call accordingly, (call plan,
 caller id etc).

 Everything worked fine until I tried connecting a FreePbx system as a
 client, problem is that the FreePbx sends the invite to OpenSIPS with
 the internal username and therefore Asterisk and OpenSIPS have no idea
 what to do with it, for example, I set up on my OpenSIPS/Asterisk
 system a user freepbx1 so that OpenSIPS can authenticate it, on the
 FreePbx there are 50 users  100-150, FreePbx sends the INVITE as from
 101@freepbx.

 When connecting the FreePbx directly to Asterisk it works fine, how
 can I fix this?

 ___
 Users mailing list
 Users@lists.opensips.org
 http://lists.opensips.org/cgi-bin/mailman/listinfo/users

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Connecting pbx to Opensips

2012-06-04 Thread Ahmed Munir
Hi Schneur,

In my opinion, you are missing to configure inbound route in OpenSIPs.

Date: Sun, 3 Jun 2012 09:42:53 +0300
 From: Schneur Rosenberg rosenberg11...@gmail.com
 Subject: [OpenSIPS-Users] Connecting pbx to Opensips
 To: OpenSIPS users mailling list users@lists.opensips.org
 Message-ID:
canvjr0v-c6kj_crshwvpooz52pbgjxu6qtx7mhqt3oza-kx...@mail.gmail.com
 
 Content-Type: text/plain; charset=ISO-8859-1

 I'm using OpenSIPS to load balance multiple Asterisk servers, all
 phones are registered to OpenSIPS, and Asterisk shares the subscriber
 table, every INVITE gets sent to asterisk and when Asterisk sees the
 invite it recognizes the user and sends call accordingly, (call plan,
 caller id etc).

 Everything worked fine until I tried connecting a FreePbx system as a
 client, problem is that the FreePbx sends the invite to OpenSIPS with
 the internal username and therefore Asterisk and OpenSIPS have no idea
 what to do with it, for example, I set up on my OpenSIPS/Asterisk
 system a user freepbx1 so that OpenSIPS can authenticate it, on the
 FreePbx there are 50 users  100-150, FreePbx sends the INVITE as from
 101@freepbx.

 When connecting the FreePbx directly to Asterisk it works fine, how
 can I fix this?



-- 
Regards,

Ahmed Munir Chohan
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Connecting pbx to Opensips

2012-06-03 Thread Schneur Rosenberg
I'm using OpenSIPS to load balance multiple Asterisk servers, all
phones are registered to OpenSIPS, and Asterisk shares the subscriber
table, every INVITE gets sent to asterisk and when Asterisk sees the
invite it recognizes the user and sends call accordingly, (call plan,
caller id etc).

Everything worked fine until I tried connecting a FreePbx system as a
client, problem is that the FreePbx sends the invite to OpenSIPS with
the internal username and therefore Asterisk and OpenSIPS have no idea
what to do with it, for example, I set up on my OpenSIPS/Asterisk
system a user freepbx1 so that OpenSIPS can authenticate it, on the
FreePbx there are 50 users  100-150, FreePbx sends the INVITE as from
101@freepbx.

When connecting the FreePbx directly to Asterisk it works fine, how
can I fix this?

___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users