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.<div><br><br><div class="gmail_quote">
On Sun, Jun 3, 2012 at 11:42 AM, Schneur Rosenberg <span dir="ltr"><<a href="mailto:rosenberg11219@gmail.com" target="_blank">rosenberg11219@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm using OpenSIPS to load balance multiple Asterisk servers, all<br>
phones are registered to OpenSIPS, and Asterisk shares the subscriber<br>
table, every INVITE gets sent to asterisk and when Asterisk sees the<br>
invite it recognizes the user and sends call accordingly, (call plan,<br>
caller id etc).<br>
<br>
Everything worked fine until I tried connecting a FreePbx system as a<br>
client, problem is that the FreePbx sends the invite to OpenSIPS with<br>
the internal username and therefore Asterisk and OpenSIPS have no idea<br>
what to do with it, for example, I set up on my OpenSIPS/Asterisk<br>
system a user freepbx1 so that OpenSIPS can authenticate it, on the<br>
FreePbx there are 50 users 100-150, FreePbx sends the INVITE as from<br>
101@freepbx.<br>
<br>
When connecting the FreePbx directly to Asterisk it works fine, how<br>
can I fix this?<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div>