Re: [SR-Users] lcr from_uri not matching

2012-02-29 Thread Ben WIlliams
,NULL,1,1,NULL,NULL,NULL,1,NULL); INSERT INTO `lcr_rule` VALUES (1,1,'8','.*',1,1); INSERT INTO `lcr_rule_target` VALUES (1,1,1,2,1,1); Thanks Ben On Wed, Feb 29, 2012 at 3:20 PM, Juha Heinanen wrote: > Ben WIlliams writes: > >> Its 3.2.2 from >> http://downlo

Re: [SR-Users] lcr from_uri not matching

2012-02-27 Thread Ben WIlliams
Its 3.2.2 from http://download.opensuse.org/repositories/home:/kamailio:/telephony/CentOS_CentOS-6/ On Tue, Feb 28, 2012 at 3:37 PM, Juha Heinanen wrote: > Ben WIlliams writes: > >> Thanks for checking. It was the only rule I had and it was working but >> only when from_uri w

Re: [SR-Users] lcr from_uri not matching

2012-02-27 Thread Ben WIlliams
Thanks for checking. It was the only rule I had and it was working but only when from_uri was null. On Tue, Feb 28, 2012 at 2:59 PM, Juha Heinanen wrote: > Ben WIlliams writes: > >> Has anyone experienced this problem where lcr only works when from_uri >> is null. When I c

[SR-Users] lcr from_uri not matching

2012-02-26 Thread Ben WIlliams
Has anyone experienced this problem where lcr only works when from_uri is null. When I change it to .* the match fails. Thanks Ben ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip

Re: [SR-Users] How to do request URI rewrites using database tables

2012-02-26 Thread Ben WIlliams
Javier Gallart wrote: > Hello Ben > > dialplan module should help > you: http://kamailio.org/docs/modules/3.2.x/modules/dialplan.html > > Regards > > > Javi >> >> -- >> >> Message: 5 >> Date: Fri, 17 Feb 2012 12

Re: [SR-Users] How to do request URI rewrites using database tables?

2012-02-16 Thread Ben WIlliams
I've managed to get dbaliases and lcr to do most of this. But the lcr prefix does not allow regular expressions. Is there any other module that allows you to store in the database a regular expression rewrite rule? On Thu, Feb 16, 2012 at 1:21 PM, Ben WIlliams wrote: > Hi, can someon

[SR-Users] How to do request URI rewrites using database tables?

2012-02-15 Thread Ben WIlliams
Hi, can someone please recommend the most appropriate modules to rewrite R-URIs based on a database lookup table? I've read the documentation for lcr and carrierroute but not sure if they can do this. In most cases it will be a simple R-URI rewrite but I also need to rewrite based on From user. i

Re: [SR-Users] Hashed Passwords

2012-01-08 Thread Ben WIlliams
Is it possible to make Siremis store passwords in plaintext? I've just converted to hashed passwords as well and kamctlrc has STORE_PLAINTEXT_PW=0 but Siremis is still storing passwords in plaintext. On Wed, Jan 4, 2012 at 12:28 AM, Ali Jawad wrote: > Did trigger an email to fast this time, for p

Re: [SR-Users] dialog module - set_dlg_profile won't work

2012-01-05 Thread Ben WIlliams
retrieve these values in subsequent requests (e.g. > Re-INVITES or BYE-Messages). > > That's why the dialog_vars table is empty (and in your example it should be). > > Carsten > > 2012/1/5 Ben WIlliams : >> Hi, >> can anyone see why this code wouldn't work? In

[SR-Users] dialog module - set_dlg_profile won't work

2012-01-04 Thread Ben WIlliams
Hi, can anyone see why this code wouldn't work? In the log is shows this message after set_dlg_profile called - dialog [dlg_hash.c:523]: no dialog callid='...' found Dialogs are being saved to dialog table ok but nothing is in dialog_vars table. modparam("dialog", "dlg_flag", DLGFLAG) modparam("d

Re: [SR-Users] source port used for forwarded requests

2011-12-15 Thread Ben WIlliams
On Fri, Dec 16, 2011 at 12:26 PM, Alex Balashov wrote: > On 12/15/2011 06:25 PM, Ben WIlliams wrote: > >> Hi, >> My Kamailio server listens on multiple IPs - say IP1, IP2. If a >> request arrives on one IP, Kamailio uses the same IP as the source >> address when for

[SR-Users] source port used for forwarded requests

2011-12-15 Thread Ben WIlliams
Hi, My Kamailio server listens on multiple IPs - say IP1, IP2. If a request arrives on one IP, Kamailio uses the same IP as the source address when forwarding, which is good. But is there any way a UA could generate a request to IP1 that gets forwarded by Kamailio with source address IP2 ? The reas

[SR-Users] myself variable

2011-12-05 Thread Ben WIlliams
Hi, I am an absolute beginniner learning SIP and Kamailio to setup Kamailio as the Internet proxy for our Asterisk PBX. My question is how to list the contents of the myself variable from the command line? My Kamailio server displays a list of Aliases on startup. Are these the contents of the mysel