Re: [OpenSIPS-Users] BDB cannot register multiple phones for an AOR?

2012-05-31 Thread Rick van Rein
Hello,

Bogdan was mistaken:

 Just for the record of the list, Rick provide a patch for this,
 patch is on SVN , so this should not be a worry anymore.

This is another issue, and it looks like a real one.

I _suspect_ that the BDB library should've been opened and then have
set_flag (DB_DUP) applied to it.  I can test that if you like, and
supply a patch if it works, but it'd be helpful to know if this is
indeed the idea behind the BDB wrapper.  I don't want to break things
by making false assumptions about the code's intentions.  My tests
would currently be limited to registrations only.


Thanks,
 -Rick

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


[OpenSIPS-Users] integrating Opensips with OpenIMS on ubuntu 11.10 (x64)

2012-05-31 Thread Jihed Said
hi,
after installing successfully OpenSips i want to use it with OpenIMS core,
is there any tutorial wich shows how to do that??

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


[OpenSIPS-Users] SIP/XMPP gateway for Presence and MSRP chat sessions

2012-05-31 Thread Adrian Georgescu
Hello,

SylkServer SIP/XMPP gateway application is now available for testing. 

SylkServer can now act as a transparent gateway between SIP and XMPP protocols. 
This functionality can be used by a SIP service provider to bridge out to XMPP 
domains or to receive incoming requests from XMPP domains for its local SIP 
users. In a similar fashion, a XMPP service provider can use the gateway to 
bridge out to SIP domains and handle incoming requestes from SIP domains to the 
XMPP users it serves.

More information about this beta release is available here:

http://sylkserver.ag-projects.com/news/7

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


[OpenSIPS-Users] SNMP MIB for OpenSIPS

2012-05-31 Thread Ahmed Munir
Hi all,

I would like to know which SNMP MIB(s) for OpenSIP can be used for checking
current number of active calls, channels available  and connection attempts?

Further added, after configuring OpenSIPs with SNMP, which shell command
shall I used to verify my requirements? Please advice at earliest as I
haven't worked on SNMP.

-- 
Regards,

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


[OpenSIPS-Users] Dispatcher module with multiple groups

2012-05-31 Thread Diego Barberio
Hi All,

 

I'm using dispatcher module to forward incoming INVITEs to two destination
groups.

I have a set of 8 telephone numbers, if the call goes or comes from any of
that numbers I have to send the call to a group otherwise to the other.
Right now I'm doing this to select the group:

 

if($rU=~ '^*40109615*' || $rU=~ '^*40109541*' || $rU=~ '^*40285849*' ||
$rU=~ '^*40284592*' || $rU=~ '^*40117817*' || $rU=~ '^*40117830*' || $rU=~
'^*40489340*' || $rU=~ '^*40489455*' || $fU= ~ '^*40109615*' || $fU=~
'^*40109541*' || $fU=~ '^*40285849*' || $fU=~ '^*40284592*' || $fU=~
'^*40117817*' || $fU=~ '^*40117830*' || $fU=~ '^*40489340*' || $fU=~
'^*40489455*' ){

ds_select_dst(2, 4);

}else{

   ds_select_dst(1, 4);

}

 

Is there any better way to do this, I mean something like:

if(is_in_file($fU, 'numbers.txt') || is_in_file($rU, 'numbers.txt'))

 

Of course any option will be welcome, however it would be very nice if
there's an option which allows me to modify the numbers list without
restarting opensips.

 

Thanks a lot

Diego

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


Re: [OpenSIPS-Users] Dispatcher module with multiple groups

2012-05-31 Thread Jamuel Starkey
Have you tried the dialplan module?  We route TN's to various backend media 
servers based on a regexp match and then use the avp that you get upon a match 
from dp_translate to identify the media server to route to.

Then we can update the dialplan rules and use dp_reload without penalty to 
activate any changes.

modparam(dialplan, attrs_pvar, $avp(dest))
#Initial value for dialplan group
$avp(dpid)=0;

dp_translate($avp(dpid),$ruri.user/$ruri.user);
if ($avp(dest)==NULL) {
xlog(L_INFO, $ruri.user not found.);
sl_send_reply(404, Not Found);
exit;
}

Then do_something based on  $avp(dest) being set based on the match from 
dp_translate maybe even call your ds_select_dst based on $avp(dest) being one 
value or another (assuming you set the $avp(dest) to MATCH in your dialplan 
rules table:

if ($avp(dest)==MATCH) {
ds_select_dst(2, 4);
}
else
{
 ds_select_dst(1, 4);
}

Hope that helps . . .

Cheers,

JPS
On May 31, 2012, at 11:59 AM, Diego Barberio wrote:

Hi All,

I’m using dispatcher module to forward incoming INVITEs to two destination 
groups.
I have a set of 8 telephone numbers, if the call goes or comes from any of that 
numbers I have to send the call to a group otherwise to the other. Right now 
I’m doing this to select the group:

if($rU=~ '^*40109615*' || $rU=~ '^*40109541*' || $rU=~ '^*40285849*' || $rU=~ 
'^*40284592*' || $rU=~ '^*40117817*' || $rU=~ '^*40117830*' || $rU=~ 
'^*40489340*' || $rU=~ '^*40489455*' || $fU= ~ '^*40109615*' || $fU=~ 
'^*40109541*' || $fU=~ '^*40285849*' || $fU=~ '^*40284592*' || $fU=~ 
'^*40117817*' || $fU=~ '^*40117830*' || $fU=~ '^*40489340*' || $fU=~ 
'^*40489455*' ){
ds_select_dst(2, 4);
}else{
   ds_select_dst(1, 4);
}

Is there any better way to do this, I mean something like:
if(is_in_file($fU, ‘numbers.txt’) || is_in_file($rU, ‘numbers.txt’))

Of course any option will be welcome, however it would be very nice if there’s 
an option which allows me to modify the numbers list without restarting 
opensips.

Thanks a lot
Diego
ATT1.c

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