Re: [SR-Users] Conditional uacreg

2011-11-05 Thread Daniel-Constantin Mierla



On 11/4/11 9:45 PM, Alex Balashov wrote:

P.S.

I have tried dropping them conditionally in the tm:local-request event 
route and onsend_route.  It doesn't work when the request is 
endogenously generated.
dropping in tm:local-request is not possible, afaik (being considered 
that the decision was made by sender code), although should be added 
being sometimes useful, imo.


Not sure what is the reason for onsend_route, does it get there and drop 
does not work? Or it does not get there?


Maybe the best would be to add an event_route specific for uacreg, just 
before sending the request to tm for building and sending the sip 
register, providing in a PV the details of that registration. That will 
save some processing and memory to build the local transaction.


Cheers,
Daniel


On 11/04/2011 04:44 PM, Alex Balashov wrote:


Is there some way by which credentials can be loaded into the uacreg
table, but not all of them used at once?

The problem I have is a need to make these registrations active and
inactive periodically, whereas the registration facility that the uac
module provides is fully managed/largely unattended.

Using $uac_req(...) is not an option because I need to capture the
failure replies (which is not supported in TM) in order to do digest
challenge authentication.






--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Directory missing compiling dbtext module

2011-11-05 Thread Daniel-Constantin Mierla

Hello,

I am not sure the dbtext module from modules_s is actually maintained. 
You should use the one from modules_k/ which is named db_text -- it 
should be the same, but coming from the kamailio branch and there were 
people using it lately.


Also, maybe db_sqlite is another option for your need, it is also in 
modules_k/ folder. Note that some modules from modules_s may not work, 
if they require DB API v2, modules_k uses DB API v1.


Cheers,
Daniel

On 11/4/11 12:43 PM, Pedro Antonio Vico Solano wrote:

Hello,

I have an issue compiling dbtext modude (SER flavour) on SIP-Router 
3.1.2. Seems that /db directory is missing.


CC (/opt/eldk/usr/bin/ppc_82xx-gcc) [M dbtext.so]   dbt_api.o
In file included from dbt_api.c:42:
dbt_res.h:41:28: ../../db/db_op.h: No such file or directory
In file included from dbt_res.h:44,
 from dbt_api.c:42:
dbt_lib.h:42:29: ../../db/db_val.h: No such file or directory
In file included from dbt_res.h:44,
 from dbt_api.c:42:
dbt_lib.h:73: error: parse error before dbt_val_t

I use the tarball _ser-3.1.2_src_2011-03-31_2fe4d6.tar.gz_ 
http://sip-router.org/tarballs/sr/3.1/ser-3.1.2_src_2011-03-31_2fe4d6.tar.gzbut 
cannot find it on GIT either.


Can anyone help me?

BR,
Pedro
ADVERTENCIA

Este mensaje y/o sus anexos, pueden contener información personal y 
confidencial cuyo uso, reproducción o distribución no autorizados 
están legalmente prohibidos. Por lo tanto, si Vd. no fuera su 
destinatario y, erróneamente, lo hubiera recibido, le rogamos que 
informe al remitente y lo borre de inmediato.


En cumplimiento de la Ley Orgánica 15/1999, de Protección de Datos de 
Carácter Personal le informamos de que su dirección de correo 
electrónico, así como sus datos personales y de empresa pasarán a 
formar parte de nuestro fichero de Gestión, y serán tratados con la 
única finalidad de mantenimiento de la relación adquirida con usted. 
Los datos personales que existen en nuestro poder están protegidos por 
nuestra Política de Seguridad, y no serán compartidos con ninguna otra 
empresa. Usted puede ejercitar los derechos de acceso, rectificación, 
cancelación y oposición dirigiéndose por escrito a la dirección arriba 
indicada.


This e-mail and its attachments may include confidential personal 
information which may be protected by any legal rules and cannot be 
used, copied, distributed or disclosed to any person without 
authorisation. If you are not the intended recipient and have received 
this e-mail by mistake, please advise the sender and erase it.


In compliance with the Spanish Organic Act 15/1999 on Personal Data 
Protection, we hereby inform you that your email address, as well as 
your personal and business information, will be included in our 
Management files and used solely for purposes corresponding to our 
commercial relationship. All personal data in our possession is 
protected by our Data Safety Policy and thus shall not be released to 
any other third party whatsoever. You may exercise your right to 
access, rectify, cancel and contest by writing to the address provided 
above.



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
http://linkedin.com/in/miconda -- http://twitter.com/miconda

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Directory missing compiling dbtext module

2011-11-05 Thread Ovidiu Sas
If modules_s/dbtext is no longer maintained, then it should be dropped
and db_text from modules_k should be moved to modules.

Regards,
Ovidiu Sas

On Sat, Nov 5, 2011 at 7:18 AM, Daniel-Constantin Mierla
mico...@gmail.com wrote:
 Hello,

 I am not sure the dbtext module from modules_s is actually maintained. You
 should use the one from modules_k/ which is named db_text -- it should be
 the same, but coming from the kamailio branch and there were people using it
 lately.

 Also, maybe db_sqlite is another option for your need, it is also in
 modules_k/ folder. Note that some modules from modules_s may not work, if
 they require DB API v2, modules_k uses DB API v1.

 Cheers,
 Daniel

 On 11/4/11 12:43 PM, Pedro Antonio Vico Solano wrote:

 Hello,

 I have an issue compiling dbtext modude (SER flavour) on SIP-Router 3.1.2.
 Seems that /db directory is missing.

 CC (/opt/eldk/usr/bin/ppc_82xx-gcc) [M dbtext.so]               dbt_api.o
 In file included from dbt_api.c:42:
 dbt_res.h:41:28: ../../db/db_op.h: No such file or directory
 In file included from dbt_res.h:44,
                  from dbt_api.c:42:
 dbt_lib.h:42:29: ../../db/db_val.h: No such file or directory
 In file included from dbt_res.h:44,
                  from dbt_api.c:42:
 dbt_lib.h:73: error: parse error before dbt_val_t

 I use the tarball ser-3.1.2_src_2011-03-31_2fe4d6.tar.gz but cannot find it
 on GIT either.

 Can anyone help me?

 BR,
 Pedro
 ADVERTENCIA

 Este mensaje y/o sus anexos, pueden contener información personal y
 confidencial cuyo uso, reproducción o distribución no autorizados están
 legalmente prohibidos. Por lo tanto, si Vd. no fuera su destinatario y,
 erróneamente, lo hubiera recibido, le rogamos que informe al remitente y lo
 borre de inmediato.

 En cumplimiento de la Ley Orgánica 15/1999, de Protección de Datos de
 Carácter Personal le informamos de que su dirección de correo electrónico,
 así como sus datos personales y de empresa pasarán a formar parte de nuestro
 fichero de Gestión, y serán tratados con la única finalidad de mantenimiento
 de la relación adquirida con usted. Los datos personales que existen en
 nuestro poder están protegidos por nuestra Política de Seguridad, y no serán
 compartidos con ninguna otra empresa. Usted puede ejercitar los derechos de
 acceso, rectificación, cancelación y oposición dirigiéndose por escrito a la
 dirección arriba indicada.

 This e-mail and its attachments may include confidential personal
 information which may be protected by any legal rules and cannot be used,
 copied, distributed or disclosed to any person without authorisation. If you
 are not the intended recipient and have received this e-mail by mistake,
 please advise the sender and erase it.

 In compliance with the Spanish Organic Act 15/1999 on Personal Data
 Protection, we hereby inform you that your email address, as well as your
 personal and business information, will be included in our Management files
 and used solely for purposes corresponding to our commercial relationship.
 All personal data in our possession is protected by our Data Safety Policy
 and thus shall not be released to any other third party whatsoever. You may
 exercise your right to access, rectify, cancel and contest by writing to the
 address provided above.

 ___
 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
 sr-users@lists.sip-router.org
 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

 --
 Daniel-Constantin Mierla -- http://www.asipto.com
 Kamailio Advanced Training, Dec 5-8, Berlin: http://asipto.com/u/kat
 http://linkedin.com/in/miconda -- http://twitter.com/miconda

 ___
 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
 sr-users@lists.sip-router.org
 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users