Alexei Kozhushkov | 17 Apr 07:31 2014
Picon

Re: regexroute

Hi!

echo from regexroute.conf not going to rmanager.
should it be configured somehow?

Please let me know if regexroute.yate is a module and where can I find it?
I have ubuntu 12.04 with  yate 5.2.1-ubuntu1-sico3~precise.

Thank you!
Alexei

On 17/04/2014 01:13, M.B. Secondary wrote:
<!-- /* Font Definitions */ <at> font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} <at> font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} <at> font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman","serif"; color:black;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} pre {mso-style-priority:99; mso-style-link:"HTML Preformatted Char"; margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New"; color:black;} p.MsoAcetate, li.MsoAcetate, div.MsoAcetate {mso-style-priority:99; mso-style-link:"Balloon Text Char"; margin:0cm; margin-bottom:.0001pt; font-size:8.0pt; font-family:"Tahoma","sans-serif"; color:black;} span.HTMLPreformattedChar {mso-style-name:"HTML Preformatted Char"; mso-style-priority:99; mso-style-link:"HTML Preformatted"; font-family:Consolas; color:black;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:"Calibri","sans-serif"; color:#1F497D;} span.BalloonTextChar {mso-style-name:"Balloon Text Char"; mso-style-priority:99; mso-style-link:"Balloon Text"; font-family:"Tahoma","sans-serif"; color:black;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} <at> page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.WordSection1 {page:WordSection1;} -->

I’m sorry – I do not know where to look for the echo output – I haven’t used this function before.

Maybe the output can be seen via Telnetting to YATE and talking to it in the appropriate way? (telnet localhost 5038)

Good luck!

 

Also, yes, it was a spelling mistake. It’s not regex.conf, but regexroute.conf, as you discovered yourself.

 

 

From: Alexei Kozhushkov [mailto:otn-user-JGs/UdohzUI@public.gmane.org]
Sent: Mittwoch, 16. April 2014 23:03
To: yate-uHKunLg9Q/3XMkR9fcqaOA@public.gmane.org
Subject: Fwd: Re: [yate] regexroute

 

 



-------- Original Message --------

Subject:

Re: [yate] regexroute

Date:

Thu, 17 Apr 2014 00:01:33 +0300

From:

Alexei Kozhushkov <otn-user-JGs/UdohzUI@public.gmane.org>

To:

M.B. Secondary <secondary-cSUmq8Nkjy2ELgA04lAiVw@public.gmane.org>

 

Well .. :)

I updated yate.conf:

 

[general]

modload=disable

msgsniff=enable

 

[modules]

ysipchan.yate=yes

yrtpchan.yate=yes

regexroute.yate=yes

msgsniff.yate=yes

rmanager.yate=yes

accfile.yate=yes

 

and regexroute.conf:

[default]

^.*$=echo HELLLOOOOOOOOOO called is ${called}

 

but still cannot see HELLLOOOOOOOOOO  anywhere in logs.

Am I looking in right place?

 

Thank you!

 

On 16/04/2014 20:46, M.B. Secondary wrote:

> First of all: Are your routing priorities set up correctly? (is the route

> executed by regex.conf)? Another module may be routing, because of higher

> priority.

>

 

>

 

>

 

> regexroute can be disabled. In yate.conf you have a section which reads

>

 

> ; modload: boolean: Should a module be loaded by default if there is no

> ;  reference to it in the [modules] section

> ;modload=enable

>

 

> ;For more control & higher security

> modload=disable

>

 

> (...)

> [modules]

> ; This section should hold one line for each module whose loading behaviour

> ;  is to be changed from the default specified by modload= in section

> [general]

> ; Each line has to be of the form:

> ;   modulename.yate=boolean

> ; Note that modules can be located only in the module directory so no path

> ;  information should be specified

>

 

> (...)

> regexroute.yate=true

>

 

>

 

> -> I have disabled default loading of modules. I think this is a manual

> setting - see if it is enabled with you.

> As you can see, regexroute is enabled manually under the modules section.

>

 

>

 

> Also simplify your regex to use "normal" alphanumeric characters, (another

> poster was quicker).

>

 

>

 

> Max

>

 

> -----Original Message-----

> From: Alexei Kozhushkov [mailto:otn-user-JGs/UdohzUI@public.gmane.org]

> Sent: Mittwoch, 16. April 2014 18:43

> To: yate-uHKunLg9Q/3XMkR9fcqaOA@public.gmane.org

> Subject: [yate] regexroute

>

 

> Hi,

>

 

> I have a very basic regexroute.conf:

> [default]

> ^.*$=echo >>>>>>>>>>>>>>> called is ${called}

>

 

> But I don't see anything like ">>>>>>" in the log. Is it normal?

> Is regexroute a module which must be loaded? Or is it always loaded?

>

 

> Thank you!

>

 

> Alexei

>

 

 

 

 


叶小荣 | 17 Apr 04:17 2014

sip login

Hi ,

I have a question How to ensure the same account at the same time, there is only one terminal login.

Thank you !

Robben

Alexei Kozhushkov | 16 Apr 23:03 2014
Picon

Fwd: Re: regexroute




-------- Original Message -------- Subject: Date: From: To:
Re: [yate] regexroute
Thu, 17 Apr 2014 00:01:33 +0300
Alexei Kozhushkov <otn-user-JGs/UdohzUI@public.gmane.org>
M.B. Secondary <secondary-cSUmq8Nkjy2ELgA04lAiVw@public.gmane.org>


Well .. :) I updated yate.conf: [general] modload=disable msgsniff=enable [modules] ysipchan.yate=yes yrtpchan.yate=yes regexroute.yate=yes msgsniff.yate=yes rmanager.yate=yes accfile.yate=yes and regexroute.conf: [default] ^.*$=echo HELLLOOOOOOOOOO called is ${called} but still cannot see HELLLOOOOOOOOOO anywhere in logs. Am I looking in right place? Thank you! On 16/04/2014 20:46, M.B. Secondary wrote: > First of all: Are your routing priorities set up correctly? (is the route > executed by regex.conf)? Another module may be routing, because of higher > priority. > > > > regexroute can be disabled. In yate.conf you have a section which reads > > ; modload: boolean: Should a module be loaded by default if there is no > ; reference to it in the [modules] section > ;modload=enable > > ;For more control & higher security > modload=disable > > (...) > [modules] > ; This section should hold one line for each module whose loading behaviour > ; is to be changed from the default specified by modload= in section > [general] > ; Each line has to be of the form: > ; modulename.yate=boolean > ; Note that modules can be located only in the module directory so no path > ; information should be specified > > (...) > regexroute.yate=true > > > -> I have disabled default loading of modules. I think this is a manual > setting - see if it is enabled with you. > As you can see, regexroute is enabled manually under the modules section. > > > Also simplify your regex to use "normal" alphanumeric characters, (another > poster was quicker). > > > Max > > -----Original Message----- > From: Alexei Kozhushkov [mailto:otn-user-JGs/UdohzUI@public.gmane.org] > Sent: Mittwoch, 16. April 2014 18:43 > To: yate-uHKunLg9Q/3XMkR9fcqaOA@public.gmane.org > Subject: [yate] regexroute > > Hi, > > I have a very basic regexroute.conf: > [default] > ^.*$=echo >>>>>>>>>>>>>>> called is ${called} > > But I don't see anything like ">>>>>>" in the log. Is it normal? > Is regexroute a module which must be loaded? Or is it always loaded? > > Thank you! > > Alexei >

Alexei Kozhushkov | 16 Apr 23:03 2014
Picon

Fwd: Re: regexroute




-------- Original Message -------- Subject: Date: From: To:
Re: [yate] regexroute
Wed, 16 Apr 2014 23:37:13 +0300
Alexei Kozhushkov <otn-user-JGs/UdohzUI@public.gmane.org>
M.B. Secondary <secondary-cSUmq8Nkjy2ELgA04lAiVw@public.gmane.org>


Hi Max, I'm afraid I don't get you quite well. I found in docs that there are two files: regexroute.conf and regfile.conf. regfile.conf is for registering regexroute.conf is for routing. regex.conf is not mentioned, or I missed something. I don't have regfile - in my case YATE should act as gateway between SIP provider and CUCM. Regarding priorities: I don't have any priorities configured, so control flow should be default. http://docs.yate.ro/wiki/Regular_expressions gives explanations about priorities but I did not specify any explicitly. I like your approach to load only modules which are necessary and will experiment with it. My next question then is: how to find list of all available modules? Thank you very much for detailed and useful reply! On 16/04/2014 20:46, M.B. Secondary wrote: > First of all: Are your routing priorities set up correctly? (is the route > executed by regex.conf)? Another module may be routing, because of higher > priority. > > > > regexroute can be disabled. In yate.conf you have a section which reads > > ; modload: boolean: Should a module be loaded by default if there is no > ; reference to it in the [modules] section > ;modload=enable > > ;For more control & higher security > modload=disable > > (...) > [modules] > ; This section should hold one line for each module whose loading behaviour > ; is to be changed from the default specified by modload= in section > [general] > ; Each line has to be of the form: > ; modulename.yate=boolean > ; Note that modules can be located only in the module directory so no path > ; information should be specified > > (...) > regexroute.yate=true > > > -> I have disabled default loading of modules. I think this is a manual > setting - see if it is enabled with you. > As you can see, regexroute is enabled manually under the modules section. > > > Also simplify your regex to use "normal" alphanumeric characters, (another > poster was quicker). > > > Max > > -----Original Message----- > From: Alexei Kozhushkov [mailto:otn-user-JGs/UdohzUI@public.gmane.org] > Sent: Mittwoch, 16. April 2014 18:43 > To: yate-uHKunLg9Q/3XMkR9fcqaOA@public.gmane.org > Subject: [yate] regexroute > > Hi, > > I have a very basic regexroute.conf: > [default] > ^.*$=echo >>>>>>>>>>>>>>> called is ${called} > > But I don't see anything like ">>>>>>" in the log. Is it normal? > Is regexroute a module which must be loaded? Or is it always loaded? > > Thank you! > > Alexei >

Alexei Kozhushkov | 16 Apr 23:02 2014
Picon

Fwd: Re: regexroute




-------- Original Message -------- Subject: Date: From: To:
Re: [yate] regexroute
Wed, 16 Apr 2014 23:26:35 +0300
Alexei Kozhushkov <otn-user-JGs/UdohzUI@public.gmane.org>
Balwinder S Dheeman <bdheeman-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>


Ah, I see :) Definitely using >>>>> is not the best idea :) Thank you for pointing to this! Re: regexroute - will try your advise. Thanks again! On 16/04/2014 20:45, Balwinder S Dheeman wrote: > On 04/16/2014 10:13 PM, Alexei Kozhushkov wrote: >> Hi, >> >> I have a very basic regexroute.conf: >> [default] >> ^.*$=echo >>>>>>>>>>>>>>> called is ${called} >> >> But I don't see anything like ">>>>>>" in the log. Is it normal? > I think, it is the string >> characters which is causing a problem in > your case. > >> Is regexroute a module which must be loaded? Or is it always loaded? > You can check it, whether the module is loaded or not either in the logs > or using 'status' command in rmanager (hint: telnet to port 5038).

Alexei Kozhushkov | 16 Apr 18:43 2014
Picon

regexroute

Hi,

I have a very basic regexroute.conf:
[default]
^.*$=echo >>>>>>>>>>>>>>> called is ${called}

But I don't see anything like ">>>>>>" in the log. Is it normal?
Is regexroute a module which must be loaded? Or is it always loaded?

Thank you!

Alexei

叶小荣 | 16 Apr 11:50 2014

No voice

Hi

         When I published the YATE SERVER in internet ,I find no voice when two yateclient connected. I have closed firework. If YATE SERVER in intranet ,it is ok.

How to resolv,thanks.

Robben.

Alexei Kozhushkov | 16 Apr 10:49 2014
Picon

Minimal config forYATE as CUCM Gateway

Hi,

I would like to use YATE in following configuration:
- YATE registers to SIP provider
- incoming calls arrive from SIP provider and delivered to CUCM with 
modified headers
- outgoing calls from CUCM accepted by YATE and sent to SIP provider.

What is the minimum set of modules needed to implement this configuration?

Thank you,

Alexei

Kenny Grij | 15 Apr 16:11 2014
Picon

Yate with percona cluster

Hi.
Is there a way to install yate on same machine with percona xtradb installed?
I have a percona server and i wonder could be yate installed on this machine with posibility to connect to that server
I tryed to run ./configure --with-mysql=/usr/share/percona-xtradb-cluster/
but still get 
checking for MySQL in /usr/share/percona-xtradb-cluster/... no
Can i compile yate with percona?
Thanks!
Rodrigo Ricardo Passos | 9 Apr 15:23 2014
Picon

Get number in SAM

Hi Yate,

How can i get the digit in SAM message after receive an IAM using 
Javascript?

Regards,

Rodrigo

Rodrigo Ricardo Passos | 9 Apr 15:23 2014
Picon

Get number in SAM

Hi Yate,

How can i get the digit in SAM messagem after receive an IAM using 
Javascript?

Regards,

Rodrigo


Gmane