Re: [Kamailio-Users] Mediaproxy vs. RTPproxy.

2008-09-04 Thread Alex Balashov
Juha Heinanen wrote: > Alex Balashov writes: > > > How does it use the kernel? Some sort of kernel-side module that has > > plumbing into the IP routing/forwarding subsystem? Or some sort of ALG > > module with hooks? > > it uses linux conntrack modules. don't ask me about details. Do yo

Re: [Kamailio-Users] Mediaproxy vs. RTPproxy.

2008-09-04 Thread Juha Heinanen
Alex Balashov writes: > How does it use the kernel? Some sort of kernel-side module that has > plumbing into the IP routing/forwarding subsystem? Or some sort of ALG > module with hooks? it uses linux conntrack modules. don't ask me about details. -- juha ___

Re: [Kamailio-Users] Mediaproxy vs. RTPproxy.

2008-09-04 Thread Alex Balashov
Juha Heinanen wrote: > mediaproxy 2.0 is using linux kernel (not python code) to relay media > packets and the claim is close to wire speed performance. Ah, I see. I was following some outdated information on this issue from Flavio's book. How does it use the kernel? Some sort of kernel-side

[Kamailio-Users] Mediaproxy vs. RTPproxy.

2008-09-04 Thread Juha Heinanen
Alex Balashov writes: > If one is written in Python and one in C, it seems to me that the > performance and scalability makes the choice of rtpproxy a > no-brainer. alex, mediaproxy 2.0 is using linux kernel (not python code) to relay media packets and the claim is close to wire speed perfor

[Kamailio-Users] Mediaproxy vs. RTPproxy.

2008-09-04 Thread Alex Balashov
This must be an incredibly dumb question, but why would anyone ever use mediaproxy over rtpproxy? If one is written in Python and one in C, it seems to me that the performance and scalability makes the choice of rtpproxy a no-brainer. What benefit is there to using mediaproxy? More features an

Re: [Kamailio-Users] custom routing

2008-09-04 Thread Klaus Darilion
toly schrieb: > Greetings, > > Suppose I need to do custom routing for outbound calls from UA - softphone. > > Each user account may have the following info attached to it: > > 1:provider_a:2:provider_b:3:provider_c > which means: > forward call to provider_a, > if failed forward call to prov

Re: [Kamailio-Users] FW: Call Hangup from Caller-End not working with TLS

2008-09-04 Thread Klaus Darilion
> If you make tls/tcp call from sip client having tls/tcp transport to GW > which has udp transport, you have to add transport=tls before you forward > bye back to client. Only if the client is buggy. The client should add this parameter to the Contact URI. Nevertheless, using fix_nated_contact

Re: [Kamailio-Users] FW: Call Hangup from Caller-End not working with TLS

2008-09-04 Thread toly
Klaus Darilion-2 wrote: > > > > Ali Jawad schrieb: >> Hi Klaus >> >> You are referring to line 17 right ? That part of traffic is from >> openser to the pstn gw ..and both of those are UDP..should it be >> transport=tls there or transport=udp? > > The Contact is the contact of the caller. T

[Kamailio-Users] custom routing

2008-09-04 Thread toly
Greetings, Suppose I need to do custom routing for outbound calls from UA - softphone. Each user account may have the following info attached to it: 1:provider_a:2:provider_b:3:provider_c which means: forward call to provider_a, if failed forward call to provider_b if failed forward call to pr

Re: [Kamailio-Users] how to add SDP in a SIP frame

2008-09-04 Thread Brian
Hi, If you have a static SDP body, you may try the functions search_append_body or replace_body in the module textops. Remember to change the header Content-Length. If it doesn't work, I think you would need to write your own module to add a body to a reply. Regards, Brian Voip Consultant Neoti

Re: [Kamailio-Users] Help with SerMyAdmin

2008-09-04 Thread muhammad akl
no tiago u missed what i said sure firstly you have to create openser database using openser_mysql.sh but what i intended to say , when you run serMyAdmin it will attempt to create tables that aren't installed by defualt during openser database creation this happens during the first time you run

Re: [Kamailio-Users] Help with SerMyAdmin

2008-09-04 Thread Tiago Rés
So you recomend that I drop the mysql table produced using "openser_mysql create" and try to do it only with sermyadmin? I'm wondering id that's possible, because probably I won't be able to start the application without a table created. Thanks for the quick reply! Tiago 2008/9/4 muhammad akl <[E

Re: [Kamailio-Users] Help with SerMyAdmin

2008-09-04 Thread muhammad akl
i think you did something wrong with the installation process at my server i have running openser 1.2.2 also with serMyAdmin-0.8-BETA and everything works fine note : if you are planning to use serMyAdmin so won't have to use command line e.g openserctl as openser-1.2.2 still produce support for

[Kamailio-Users] Help with SerMyAdmin

2008-09-04 Thread Tiago Rés
Hello all, I'm a new user in this list, but I have already seen some posts about serMyAdmin. I have openser 1.2.2 installed, running with mysql Version 14.12. I'm trying to use a web interface for openser, such as sermyadmin or openser administrator, but I'm unable to accomplish that. I have fol

Re: [Kamailio-Users] Fax Detection

2008-09-04 Thread Ovidiu Sas
Kamailio is a signaling SIP proxy and it doesn't deal with media. Fax negotiation belongs to the media endpoints. Regards, Ovidiu Sas PS: BTW, detecting CNG as a fax tone is a bad habit. You need to detect the V.21 tone for fax transmissions and if you have fax machines dealing with v.34, then

[Kamailio-Users] Fax Detection

2008-09-04 Thread Abdul Hakeem
Hello, Is there a way to identify in incoming call as a fax (perhaps by detecting CNG tone ). Regards, Abdul Hakeem ___ Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users

[Kamailio-Users] Forward call

2008-09-04 Thread Thiago Rondon
Folks, My problem for forward call, that I need to change username/password and realm to do my forward. So, I try this: modparam("uac","from_restore_mode", "auto") modparam("uac","auth_realm_avp","$avp(s:uac_realm)") modparam("uac","auth_username_avp","$avp(s:uac_username)") modparam("uac","auth

Re: [Kamailio-Users] ERROR:mysql:db_mysql_new_connection: driver error: Too many connections

2008-09-04 Thread Ovidiu Sas
Hi Henning, Yes, you are right :) Since I'm not using this functionality ... it slipped out. Sorry for the confusion ... Yes, it would be good to document this in both 1.3, 1.4 and trunk. Too much documentation doesn't hurt at all ;) Regards, Ovidiu Sas On Thu, Sep 4, 2008 at 9:44 AM, Henning W

Re: [Kamailio-Users] ERROR:mysql:db_mysql_new_connection: driver error: Too many connections

2008-09-04 Thread Henning Westerholt
On Thursday 04 September 2008, Ovidiu Sas wrote: > lcr: it doesn't use the db during the normal operation > dispatcher: it doesn't use the db during the normal operation > carrierroute: it doesn't use the db during the normal operation Hi Ovidiu, don't want to be nitpicking, but cr_user_rewrite_u

Re: [Kamailio-Users] ERROR:mysql:db_mysql_new_connection: driver error: Too many connections

2008-09-04 Thread Ovidiu Sas
lcr: it doesn't use the db during the normal operation dispatcher: it doesn't use the db during the normal operation carrierroute: it doesn't use the db during the normal operation avpops: it is the only module that will perform db transactions during normal operations (if you are performing them

[Kamailio-Users] how to add SDP in a SIP frame

2008-09-04 Thread BERGANZ François
Hello, I need to add SDP in a “200 ok” frame! How to do ? Thank you J ___ Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users

Re: [Kamailio-Users] Documentation Site Down

2008-09-04 Thread Jon Farmer
2008/9/4 Henning Westerholt <[EMAIL PROTECTED]> > On Thursday 04 September 2008, Jon Farmer wrote: > > Hi > > > > When I go to http://kamailio.org/docs/ i get a 404 error. Any ideas > anyone? > > Hi Jon, > > there was something wrong with the redirect (if the 'www' was ommited), i > fixed this. Sh

Re: [Kamailio-Users] Documentation Site Down

2008-09-04 Thread Henning Westerholt
On Thursday 04 September 2008, Jon Farmer wrote: > Hi > > When I go to http://kamailio.org/docs/ i get a 404 error. Any ideas anyone? Hi Jon, there was something wrong with the redirect (if the 'www' was ommited), i fixed this. Should be work now, thanks for reporting. Cheers, Henning ___

[Kamailio-Users] Documentation Site Down

2008-09-04 Thread Jon Farmer
Hi When I go to http://kamailio.org/docs/ i get a 404 error. Any ideas anyone? Regards Jon ___ Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users

Re: [Kamailio-Users] ERROR:mysql:db_mysql_new_connection: driver error: Too many connections

2008-09-04 Thread Klaus Darilion
If the problem is really the database then just remove all the database lookups (replace them with some static result) and test again. Then, add again one DB lookup after the other and always test the perfomance. This shuold give you an idea were the bottleneck is located. klaus Samael - schri

Re: [Kamailio-Users] ERROR:mysql:db_mysql_new_connection: driver error: Too many connections

2008-09-04 Thread Samael -
Thanks for your response. We realized that with 200 children the problem is still happing. We are using db ( MySQL 5 ) in every request in the config file through the following modules: - lcr: to check every request where come from - dispatcher: to make load balancing with a pool of ast

Re: [Kamailio-Users] call forward problem

2008-09-04 Thread Iñaki Baz Castillo
El Thursday 04 September 2008 11:32:03 muhammad akl escribió: > btw thanks inaki for your explanation > > but to make things much clear putting my configuration file doesn't mean to > have a spoon-feed solution , i mentioned that am still new and before > poting my question i searched alot and read

Re: [Kamailio-Users] Unconditional call forward

2008-09-04 Thread Iñaki Baz Castillo
El Wednesday 03 September 2008 14:45:03 Stefano Palleschi escribió: Add the following xlogs and show the results: xlog("L_INFO", "-- PRE ru = $ru --\n"); > if (avp_db_load("$ru/username", "$avp(s:callfwd)")) { >      avp_pushto("$ru", "$avp(s:callfwd)"); xlog("L_INFO", "-- POST ru = $ru --\n");

Re: [Kamailio-Users] 答复: OpenSER reply 513 when register use FQDN

2008-09-04 Thread Iñaki Baz Castillo
El Thursday 04 September 2008 11:22:38 Steven Wu escribió: > Hi I?aki, > > I had tried add the domain in /etc/hosts. But it not work. > Just add ailas=domain in profile works fine. Yes, true. As Klaus has said you must active "auto_alias" in order OpenSer to read /etc/hosts. -- Iñaki Baz Cast

Re: [Kamailio-Users] call forward problem

2008-09-04 Thread muhammad akl
btw thanks inaki for your explanation but to make things much clear putting my configuration file doesn't mean to have a spoon-feed solution , i mentioned that am still new and before poting my question i searched alot and read much more about avp module either on kamailio site or voice-system tut

[Kamailio-Users] 答复: OpenSER reply 513 wh en register use FQDN

2008-09-04 Thread Steven Wu
Hi I?aki, I had tried add the domain in /etc/hosts. But it not work. Just add ailas=domain in profile works fine. Best regards, Steven Wu From: [EMAIL PROTECTED] 代表 I?aki Baz Castillo Sent: 2008-9-4 (星期四) 16:24 To: users@lists.kamailio.org Subject: Re: [Kama

[Kamailio-Users] [Fwd: Re: Unconditional call forward]

2008-09-04 Thread Stefano Palleschi
Hi Gustavo, thanks for your reply. I've changed the *avp type* from "2" to "0" but I get always the same error: ERROR:avpops:load_avps: incomplet uri Now I'm going to reboot the server... If I'll have news I'll let you know. Regards, Stefano Messaggio Originale Oggetto

[Kamailio-Users] Unconditional call forward

2008-09-04 Thread Stefano Palleschi
Hello all, i'm trying to do an unconditional call forward with openser. I've added the instructions below in the script: if (avp_db_load("$ru/username", "$avp(s:callfwd)")) { avp_pushto("$ru", "$avp(s:callfwd)"); xlog("$avp(s:callfwd)"); route(1); exit; } and i've crea

[Kamailio-Users] 答复: OpenSER reply 513 wh en register use FQDN

2008-09-04 Thread Steven Wu
Klaus Darilion wrote: >>I guess the message is looped by openser to itself (openser does not >>detect that it is reponsible for this domain) and tat some point the >>message gets too big (lots of Via headers) >>You can verify this with "ngrep -d lo port 5060". >>Make sure openser detects your d

Re: [Kamailio-Users] OpenSER reply 513 when register use FQDN

2008-09-04 Thread Klaus Darilion
Iñaki Baz Castillo schrieb: > or add your domain in your /etc/hosts. I guess this depends on the "auto_alias" setting regards klaus ___ Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users

Re: [Kamailio-Users] OpenSER reply 513 when register use FQDN

2008-09-04 Thread Iñaki Baz Castillo
El Thursday 04 September 2008 09:46:47 Steven Wu escribió: > I just want use FQDN in my networking environment. > My SJPhone use FQDN register to OpenSER 1.2.2 but was rejected by 513 > Message to big. However it can be registed use the same profile just > replace FQDN to IP address. The DNS query

Re: [Kamailio-Users] call forward problem

2008-09-04 Thread Iñaki Baz Castillo
El Wednesday 03 September 2008 19:34:40 muhammad akl escribió: > thx miconda for you reply but as am still new to these stuff could you > explain more and how to do this check ? Showing all the config and asking "please fix it for me" is not the best way to get help. You already have the solutio

Re: [Kamailio-Users] OpenSER reply 513 when register use FQDN

2008-09-04 Thread Klaus Darilion
I guess the message is looped by openser to itself (openser does not detect that it is reponsible for this domain) and tat some point the message gets too big (lots of Via headers) You can verify this with "ngrep -d lo port 5060". Make sure openser detects your domain as lokal domain, eg: alias=i

[Kamailio-Users] OpenSER reply 513 when register use FQDN

2008-09-04 Thread Steven Wu
Hi, I just want use FQDN in my networking environment. My SJPhone use FQDN register to OpenSER 1.2.2 but was rejected by 513 Message to big. However it can be registed use the same profile just replace FQDN to IP address. The DNS query process worked fine and got the right IP address. My enviro

Re: [Kamailio-Users] svn diff

2008-09-04 Thread Klaus Darilion
Vadim Berezniker schrieb: > Oops hit Ctrl+Enter > > > > svn diff http://openser.svn.sourceforge.net/svnroot/openser/tags/1.2.2/ > http://openser.svn.sourceforge.net/svnroot/openser/tags/1.2.3/ > > > > I’ve been trying to run this against the public SVN but it never > completes…. I hate