[SR-Users] [ot] virtualization systems

2012-08-27 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > So the question is more about having everything on virtual systems, > proxy and media server, where the media server can deal with > transcoding, conference rooms and IVRs. a few years ago i had latency problems when running sems and mediaproxy in virtual mach

[SR-Users] [ot] virtualization systems

2012-08-27 Thread Daniel-Constantin Mierla
Hello, just asking to see your experience deploying sip platforms on virtual systems. So far I was running Kamailio in virtual machines and no problems, but I insisted that media servers to be on physical machines. Lately is more pressure from the market to go everything virtual. So the ques

Re: [SR-Users] DROUTING nub question

2012-08-27 Thread Daniel-Constantin Mierla
Hello, this could be also an workaround for adding some prefix based on length. But also the length can be used, it should work like: $rU = "" + $(rU{s.len}) + $rU; (note the empty string) or pv_printf("$rU", "$(rU{s.len})$rU"); Cheers, Daniel On 8/28/12 7:25 AM, Javi Gallart wrote: Hi m

Re: [SR-Users] DROUTING nub question

2012-08-27 Thread Javi Gallart
Hi maybe this would work. You have a mask like "" (you choose the max length and the content). From the mask you extract as many digits as the length of your number with {s.substr,offset,length}, being length $(rU{s.len}}. Then you prepend the result to you $rU. Hope it helps J

Re: [SR-Users] DROUTING nub question

2012-08-27 Thread Luis Fernando Urrea
I see there is a transformation to return the string value of an integer but I can't seem to find the opposite one. {s.int} Return integer value of a string-represented number On Mon, Aug 27, 2012 at 6:22 PM, Luis Fernando Urrea wrote: > Thanks Daniel, > > That got me started, however, it seems

Re: [SR-Users] DROUTING nub question

2012-08-27 Thread Luis Fernando Urrea
Thanks Daniel, That got me started, however, it seems that the return value from $(rU{s.len}) is actually an integer and therefore could not be concatenated to $rU string ? 4(18194) ERROR: pv [pv_core.c:1798]: str value required to set R-URI user 14(18194) ERROR: [lvalue.c:354]: setting pvar fa

Re: [SR-Users] DROUTING nub question

2012-08-27 Thread Daniel-Constantin Mierla
Hello, one solution is doing following trick: - get the length of the dialed number via transformation and prefix it to the number $rU = $(rU{s.len}) + $rU; - in drouting keep rules only for prefixes 2, 4, 6, 7 and 8 - for drouting gateways set strip to 1, so the first digit (the length) i

Re: [SR-Users] DROUTING nub question

2012-08-27 Thread Luis Fernando Urrea
Yes thank you Daniel, On my setup I terminate local calls using colocated TDM equipment, these calls are 8 digit numbers that start with 2,4,6,7 and 8 Then I use a FreeSWITCH box as a gateway for US and international calls, so I was hoping I could somehow route based on numbers of digits. I hope

Re: [SR-Users] Trunk Utilization graphing using MI COMMANDS

2012-08-27 Thread Daniel-Constantin Mierla
Hello, On 8/27/12 4:06 PM, phillman25 wrote: Thanks Daniel i was able to implement what you advised below and am able to poll specific data into CACTI successfully. great! Have you made it like a plugin? Maybe you can write few words about or make web page available for it, there is a similar p

Re: [SR-Users] ADSL client-side problem

2012-08-27 Thread Daniel-Constantin Mierla
Hello, please do not send private messages from mailing lists discussions, keep the mailing list cc-ed so other can participate or learn from archives. On 8/27/12 5:22 PM, Simon Hintermann wrote: Hello, I will try with a smaller "Subscription Expiry (s):" in my SNOM. Just to be clear with t

Re: [SR-Users] DROUTING nub question

2012-08-27 Thread Daniel-Constantin Mierla
Hello, On 8/27/12 6:54 PM, Luis Fernando Urrea wrote: I haven't been able to find the answer in the documentation. It seems DROUTING does not take regex in the dr_rules table to match routable numbers, are there any kind of wilcards that could be used. How does one specify different rules fo

[SR-Users] DROUTING nub question

2012-08-27 Thread Luis Fernando Urrea
I haven't been able to find the answer in the documentation. It seems DROUTING does not take regex in the dr_rules table to match routable numbers, are there any kind of wilcards that could be used. How does one specify different rules for 8 digit numbers and 10 digit numbers. TIA -- O: 4000-

Re: [SR-Users] Trunk Utilization graphing using MI COMMANDS

2012-08-27 Thread phillman25
Thanks Daniel i was able to implement what you advised below and am able to poll specific data into CACTI successfully. Thanks again! Phillip On Mon, Aug 27, 2012 at 1:08 PM, Daniel-Constantin Mierla wrote: > Hello, > > I am not sure it supports right now sending from the same socket, but it

Re: [SR-Users] SMS module & IMS

2012-08-27 Thread Daniel-Constantin Mierla
Hello, it is very unlikely that someone has a config file like you need, especially when you play with IMS extensions. The better way to get help is to try and present here were you got stuck. Then people can give you hints to try further. Cheers, Daniel On 8/27/12 10:04 AM, Raman Kumar wr

Re: [SR-Users] centos (fedora) service startup file

2012-08-27 Thread Daniel-Constantin Mierla
Do not send private messages from the mailing list discussions. Maybe others can jump in the thread and provide good information, if people from discussion cannot sort out things. Also, mailing list is archived online, so people can search later on topics they are interested in. Cheers, Dani

Re: [SR-Users] Trunk Utilization graphing using MI COMMANDS

2012-08-27 Thread Daniel-Constantin Mierla
Hello, I am not sure it supports right now sending from the same socket, but it should send back to same ip and port from where it received the command. A patch it might be required to get it like that, so far I don't remember anyone willing to get such thing. Btw, another alternative, you c

Re: [SR-Users] Trunk Utilization graphing using MI COMMANDS

2012-08-27 Thread phillman25
Thanks for the info Daniel. I have implemented mi_datagram module and defined it with the following parameters: modparam("mi_datagram", "socket_name", "udp:2.2.2.2:8033") When i run the below command from a remote server: echo -ne ":address_dump:\n\n" | nc -w 1 -u 2.2.2.2 8033 i don't receive

[SR-Users] SMS module & IMS

2012-08-27 Thread Raman Kumar
Hi, Can any one help me .. how to configure sms module? what changes required in scscf.cfg or any other cfg also?? Thanks and regards, Raman Kumar =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged i

[SR-Users] Advisement and promotion company seeking out local affiliate

2012-08-27 Thread serusers
Spam detection software, running on the system "mail.iptel.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system

Re: [SR-Users] centos (fedora) service startup file

2012-08-27 Thread Daniel-Constantin Mierla
Hello, On 8/14/12 11:31 AM, andre wrote: 14.08.2012 12:21, Daniel-Constantin Mierla пишет: Hello, thanks, it was committed in git master branch, backports to follow before minor releases. Do you build your own rpms or you install from the opensuse build system? From the opensuse build sys

Re: [SR-Users] ADSL client-side problem

2012-08-27 Thread Daniel-Constantin Mierla
Hello, what is the expire time of your registrations? 24 hours seems a lot to re-register. From kamailio point of view, the contact is expired based on un-registration or timeout. You can look with 'kamctl ul show' to see if the phone is still registered or not. Anyhow, in such cases is go