Re: [OpenSIPS-Users] [New] Probing for drouting module

2010-02-19 Thread Andrew Pogrebennyk
Bogdan, On 20.02.2010 00:41, Bogdan-Andrei Iancu wrote: > It will be as soon as it will prove its stability in trunk... > > So tester are welcome :) OK cool. > Regards, > Bogdan > > PS: Andrew, have you tried the CANCEL patch? Not yet - will do this on Monday! Thank you. -- Sincerely, And

Re: [OpenSIPS-Users] Core Dump

2010-02-19 Thread opensipslist
Hello Bogdan, An ven., févr 19, 2010, Bogdan-Andrei Iancu schrieb: >opensipsl...@encambio.com wrote: >> An jeu., févr 18, 2010, Nathaniel L Keeling schrieb: >>> I have compiled opensips 1.6.1 on Solaris Sparc 10. I was able to >>> compile successfully by adding the parameter "-mcpu=ultrasparc" to

Re: [OpenSIPS-Users] removing non-numerical from the 'From: ' header

2010-02-19 Thread Iñaki Baz Castillo
El Viernes, 19 de Febrero de 2010, Dmitri G. escribió: > My problem is that I don't know what regexp should I use for this (to strip > out the non-numeric) Check any tutorial in internet about regular expressions, there are a lot ;) -- Iñaki Baz Castillo

Re: [OpenSIPS-Users] removing non-numerical from the 'From: ' header

2010-02-19 Thread Dmitri G.
2010/2/19 Iñaki Baz Castillo > El Viernes, 19 de Febrero de 2010, Dmitri G. escribió: > > Hi Bogdan, > > > > Thank you for your reply! dan I use regexps with uac_replace_from? > > My goal is to remove the non-numeric values, so From: <47adr...@his_ipwill > > become > > From: <4...@his_ip, From: <

Re: [OpenSIPS-Users] [New] Probing for drouting module

2010-02-19 Thread Bogdan-Andrei Iancu
It will be as soon as it will prove its stability in trunk... So tester are welcome :) Regards, Bogdan PS: Andrew, have you tried the CANCEL patch? Andrew Pogrebennyk wrote: > Bogdan-Andrei Iancu wrote: > >> and the mysql format is in scripts/mysql/drouting-create.sql >> > > That's good

Re: [OpenSIPS-Users] [New] Probing for drouting module

2010-02-19 Thread Andrew Pogrebennyk
Bogdan-Andrei Iancu wrote: > and the mysql format is in scripts/mysql/drouting-create.sql That's good news! Is there any chance of backporting this to 1.6 branch? -- Sincerely, Andrew Pogrebennyk ___ Users mailing list Users@lists.opensips.org http://

Re: [OpenSIPS-Users] Opensips VoIP account

2010-02-19 Thread Jorge Juan
Thanks for your attention. On this page [1] you can find some information from sipbroker.com on how to configure dialing rules and Asterisk servers to use their prefix service. Also note that you can use sipbroker prefixes just by calling: *nn...@sipbroker.com, where is the registrar sip

Re: [OpenSIPS-Users] Problem with initilizing Perl module

2010-02-19 Thread Bogdan-Andrei Iancu
Hi Stina, PERL module is not by default compiled as it depends on some additional libs (like perl-dev). To compile the module, remove it from the "exclude_module" list in Makefile. Regards, Bogdan Stina Szemere wrote: > Hello, > > I have a problem... I want to use the perl module in opensips

Re: [OpenSIPS-Users] Aliases to multiple users

2010-02-19 Thread Bogdan-Andrei Iancu
Ok, here it is what you should be doing: - after the DBaliases lookup, move all the branches (iterate with index) into an AVP (AVP can have multiple vals) $avp(i:1) , and remove branches (see http://www.opensips.org/Resources/DocsCoreVar16#toc13) - do lookup(location) for the RURI (the first ac

Re: [OpenSIPS-Users] Opensips VoIP account

2010-02-19 Thread Bogdan-Andrei Iancu
Hi Jorge, Makes sense what you say - I will into how to import the prefix into opensips.org service. Thanks and regards, Bogdan Jorge Juan wrote: >>> * Can I make call using sipbroker.com prefixes like with ekiga.net or >>> iptel.org? >>> >>> >> the opensips.org service has the prefix b

Re: [OpenSIPS-Users] [New] Probing for drouting module

2010-02-19 Thread Bogdan-Andrei Iancu
and the mysql format is in scripts/mysql/drouting-create.sql Regards, Bogdan Andrei Dragus wrote: > The schema is in trunk/db/schema/dr_gateways.xml. > The table creation scripts are in trunk/scripts. > It is also in the docs with an example in section 1.1.5. > > David J. wrote: > >> Where is

Re: [OpenSIPS-Users] Setting opensips for maximum performance

2010-02-19 Thread Bogdan-Andrei Iancu
Hi Jan, You need to see where the bottleneck is. If it is not the CPU, it must be some I/O blocking opensips. For example the DB may be too slow blocking opesips processes -> no process to read traffic from network -> traffic discarded, package lost. So, you should first look with netstat at t

Re: [OpenSIPS-Users] removing non-numerical from the 'From: ' header

2010-02-19 Thread Iñaki Baz Castillo
El Viernes, 19 de Febrero de 2010, Dmitri G. escribió: > Hi Bogdan, > > Thank you for your reply! dan I use regexps with uac_replace_from? > My goal is to remove the non-numeric values, so From: <47adr...@his_ip will > become > From: <4...@his_ip, From: <123gheorgh...@his_ip will become From: > <1

Re: [OpenSIPS-Users] removing non-numerical from the 'From: ' header

2010-02-19 Thread Dmitri G.
Hi Bogdan, Thank you for your reply! dan I use regexps with uac_replace_from? My goal is to remove the non-numeric values, so From: <47adr...@his_ip will become From: <4...@his_ip, From: <123gheorgh...@his_ip will become From: <12...@his_ip so you think it will work like this? Dmitry 2010/2/19

Re: [OpenSIPS-Users] [New] Probing for drouting module

2010-02-19 Thread Andrei Dragus
The schema is in trunk/db/schema/dr_gateways.xml. The table creation scripts are in trunk/scripts. It is also in the docs with an example in section 1.1.5. David J. wrote: > Where is the new schema? > Is it in the docs? > > > > Andrei Dragus wrote: > >> Right now you need to update your table.

Re: [OpenSIPS-Users] [New] Probing for drouting module

2010-02-19 Thread David J.
Where is the new schema? Is it in the docs? Andrei Dragus wrote: > Right now you need to update your table. > I will add a change so it is possible to work with the previous version > of the database, but the default behavior will be not to ping the > gateways and in order to change this you w

Re: [OpenSIPS-Users] removing non-numerical from the 'From: ' header

2010-02-19 Thread Bogdan-Andrei Iancu
Hi Dimitri, try the uac_replace_from() from the uac module: http://www.opensips.org/html/docs/modules/1.6.x/uac.html#id228582 Regards, Bogdan Dmitri G. wrote: > Hi List, > > I have tried with textops to remove some suspicious things from the > From: field, but without any luck. Unfortunatel

Re: [OpenSIPS-Users] [New] Probing for drouting module

2010-02-19 Thread Andrei Dragus
Right now you need to update your table. I will add a change so it is possible to work with the previous version of the database, but the default behavior will be not to ping the gateways and in order to change this you will have to update your tables David J. wrote: > Sounds good, Do we need to

Re: [OpenSIPS-Users] Core Dump

2010-02-19 Thread Bogdan-Andrei Iancu
Hi Brian, opensipsl...@encambio.com wrote: > Hello Nathaniel, > > An jeu., févr 18, 2010, Nathaniel L Keeling schrieb: > >> I have compiled opensips 1.6.1 on Solaris Sparc 10. I was able to >> compile successfully by adding the parameter "-mcpu=ultrasparc" to >> the "DEFS" compile time options

Re: [OpenSIPS-Users] Core Dump

2010-02-19 Thread Bogdan-Andrei Iancu
Hi Nathaniel, Normally there should be no need to add any params, as opensips makefile should detect the correct OS and arch. So, without the mcpu you added, what is the problem? does not compile? or ? The crash may be related to the forcing of a different CPU type - if the compiler added some

[OpenSIPS-Users] Problem with initilizing Perl module

2010-02-19 Thread Stina Szemere
Hello, I have a problem... I want to use the perl module in opensips (Ubuntu-server 8.04). When installing opensips I did not explixitly state anything about Perl. I used the original Makefile when installing. I can find the module perl.so in the /usr/local/src/opensips-1.6.1-tls/modules/perl/

Re: [OpenSIPS-Users] [New] Probing for drouting module

2010-02-19 Thread David J.
Sounds good, Do we need to update the DB Schema or if the column is missing it fails gracefully? Thanks. Andrei Dragus wrote: > Hi all, > > A new feature has been added to the drouting module that allows the > probing of gateways in case they become unreachable. > > Typical usages:

[OpenSIPS-Users] [New] Probing for drouting module

2010-02-19 Thread Andrei Dragus
Hi all, A new feature has been added to the drouting module that allows the probing of gateways in case they become unreachable. Typical usages: - if a gateway becomes unreachable it is automatically marked as disabled and no messages are forwarded to it. - when it comes bac

Re: [OpenSIPS-Users] Core Dump

2010-02-19 Thread opensipslist
Hello Nathaniel, An jeu., févr 18, 2010, Nathaniel L Keeling schrieb: >I have compiled opensips 1.6.1 on Solaris Sparc 10. I was able to >compile successfully by adding the parameter "-mcpu=ultrasparc" to >the "DEFS" compile time options in Makefile.defs, but when I >execute opensips, it will die

Re: [OpenSIPS-Users] Quick Regex Question.

2010-02-19 Thread opensipslist
Hello Alan, An ven., févr 19, 2010, Alan Frisch schrieb: >What I am trying to do is prefix a value if the inbound number >comes in with an E164 format. I tried the following, but it seems >to throw OpenSIPS. > >if(uri =~ "^sip:[2-9][0-9]+@") { >whatever >} > There's no problem with that. It i