Re: [OpenSIPS-Users] Media-proxy in bridging mode with openSIPS

2012-05-24 Thread Saúl Ibarra Corretgé
Hi, On May 25, 2012, at 6:27 AM, SamyGo wrote: > Hi again Saul and Adrian, > > w.r.t this user's mail: > http://lists.opensips.org/pipermail/users/2010-February/010737.html I see the > user claims its working ! do I need to explicitly detect the direction of the > SDP i.e inbound to private

Re: [OpenSIPS-Users] Media-proxy in bridging mode with openSIPS

2012-05-24 Thread SamyGo
Hi again Saul and Adrian, w.r.t this user's mail: http://lists.opensips.org/pipermail/users/2010-February/010737.html I see the user claims its working ! do I need to explicitly detect the direction of the SDP i.e inbound to private network and outbound to public internet and based upon that set t

Re: [OpenSIPS-Users] Media-proxy in bridging mode with openSIPS

2012-05-24 Thread Adrian Georgescu
MediaProxy does not have this particular feature so is not doable with the current code. Adrian On May 24, 2012, at 10:47 PM, SamyGo wrote: > Thanks Saul, > > There is something more to it which I'm looking in this regard. I do > understand that if both network can see each other then media-p

Re: [OpenSIPS-Users] Media-proxy in bridging mode with openSIPS

2012-05-24 Thread SamyGo
Thanks Saul, There is something more to it which I'm looking in this regard. I do understand that if both network can see each other then media-proxy will always set just one IP in SDP and both network can happily establish media on it. BUT, what I am trying to extract is the same as RTPproxy's br

Re: [OpenSIPS-Users] sipclients package - Register Issue

2012-05-24 Thread duane . larson
Gotcha. Thanks for the info and the response. On , Adrian Georgescu wrote: The purpose of the script is to check if the registrar function works properly in the SIP server. You can use the script for an example in an external program to monitor the SIP registrar function and trigger an al

Re: [OpenSIPS-Users] sipclients package - Register Issue

2012-05-24 Thread Adrian Georgescu
The purpose of the script is to check if the registrar function works properly in the SIP server. You can use the script for an example in an external program to monitor the SIP registrar function and trigger an alarm as it returns different shell codes depending on the SIP response code. It mak

Re: [OpenSIPS-Users] sipclients package - Register Issue

2012-05-24 Thread duane . larson
Thanks. I did see the -h options but the description for -r didn't really make much sense. On , Adrian Georgescu wrote: That is done on purpose. If you want to stay registered and not exit after fist attempt you can pass command line argument -r. Type -h for help for a lists of availa

Re: [OpenSIPS-Users] sipclients package - Register Issue

2012-05-24 Thread Adrian Georgescu
That is done on purpose. If you want to stay registered and not exit after fist attempt you can pass command line argument -r. Type -h for help for a lists of available parameters and their meaning. Adrian On May 24, 2012, at 6:48 PM, duane.lar...@gmail.com wrote: > I'm playing with the SIP SI

[OpenSIPS-Users] sipclients package - Register Issue

2012-05-24 Thread duane . larson
I'm playing with the SIP SIMPLE SDK and the sipclients package and I am having an issue with the "sip-register" command. My account is able to register without issue but then after registering it sends a REGISTER message with Expires: 0 and unRegisters itself right away. Not sure why it doe

Re: [OpenSIPS-Users] Wrong credentials and UAC_REGISTRANT

2012-05-24 Thread Ovidiu Sas
Can you send me privately the uac param for opensips and the user config in asterisk? Thanks, Ovidiu -- VoIP Embedded, Inc. http://www.voipembedded.com On Thu, May 24, 2012 at 10:07 AM, pa...@eremina.net wrote: > Registrar is some Nortel software... > > At first bad trace where uac_registrant

Re: [OpenSIPS-Users] Wrong credentials and UAC_REGISTRANT

2012-05-24 Thread pa...@eremina.net
Registrar is some Nortel software... At first bad trace where uac_registrant can't register and state=6 with message in syslog "Wrong credentials for": 123.123.123.123:5099 -> 222.222.222.222:5060 REGISTER sip:registrant.com SIP/2.0. Via: SIP/2.0/UDP 123.123.123.123:

Re: [OpenSIPS-Users] Quota - CDRTool Question

2012-05-24 Thread Tijmen de Mes
Hi, On 05/24/2012 11:48 AM, dotnetdub wrote: Course - will send on now. Thanks again for your help. No problem, looking forward to see the patch. -- Tijmen de Mes AG Projects ___ Users mailing list Users@lists.opensips.org http://lists.opensips.

[OpenSIPS-Users] if ($hdr(Route) =~ "*4144*") - get re error

2012-05-24 Thread Stuart Marsden
Hi sorry if being thick, but I cant see what is wrong what I actually want to do is check if the route (in this case loose routed) is to me , ie one of my "listens" Stuart -- ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org

Re: [OpenSIPS-Users] Wrong credentials and UAC_REGISTRANT

2012-05-24 Thread Ovidiu Sas
Can you provide the db records for the two cases along with ngrep traces? The "To" header is not part of the authentication process. What kind of registrar are you using? Regards, Ovidiu Sas -- VoIP Embedded, Inc. http://www.voipembedded.com On Thu, May 24, 2012 at 3:25 AM, pa...@eremina.net

Re: [OpenSIPS-Users] Dialog vars not being sync'ed from DB to memory

2012-05-24 Thread Mariana Arduini
Hello, Is there any update on my question? Thanks, Mariana On Mon, May 21, 2012 at 10:06 AM, Mariana Arduini wrote: > Hello all, > > Is there any update on my question? Should I open a bug about this issue, > or is there any other test I can run to verify this feature? > > Thanks, > Mariana. >

Re: [OpenSIPS-Users] Quota - CDRTool Question

2012-05-24 Thread dotnetdub
On 24 May 2012 10:34, Tijmen de Mes wrote: > Hi Brian, > > > On 05/24/2012 11:24 AM, dotnetdub wrote: >> >> Hi Tijmen, >> >> Been looking at this for Stephen. >> >> So I think I fixed some bugs! >> >> in rating.php on line 6006 it was never checking if the daily quota >> was being exceeded. >> >>

Re: [OpenSIPS-Users] ERROR:nathelper:send_rtpp_command: can't send command to a RTP proxy

2012-05-24 Thread Arjun Shankar K S
Hi Razvan, Thank you very much. Yes Both RTP Proxy and openSIPS are installed in the same machine. Actually My openSIPS is behind a NAT in Amazon Cloud (EC2). I have opened both 5060 and 7890 port in my Amazon Settings. Thanks and regards, Arjun - Original Message - From: "Razv

Re: [OpenSIPS-Users] Quota - CDRTool Question

2012-05-24 Thread Tijmen de Mes
Hi Brian, On 05/24/2012 11:24 AM, dotnetdub wrote: Hi Tijmen, Been looking at this for Stephen. So I think I fixed some bugs! in rating.php on line 6006 it was never checking if the daily quota was being exceeded. I've changed it to: $query=sprintf("select * from quota_usage where datasourc

Re: [OpenSIPS-Users] Quota - CDRTool Question

2012-05-24 Thread dotnetdub
On 23 May 2012 16:17, Tijmen de Mes wrote: > On 05/23/2012 01:47 PM, dotnetdub wrote: >> >> Just one question. I want to enable a daily limit of 10% of the monthly >> limit. >> >> I've added "daily_quota"        =>  "10",  to my global.inc >> >> I've noticed that in rating.php that this is here: >

Re: [OpenSIPS-Users] Quota - CDRTool Question

2012-05-24 Thread Tijmen de Mes
Hi Brian, On 05/23/2012 06:02 PM, dotnetdub wrote: No quota has been exceeded So I am not php expert. Is this line a problem? } else if ($this->daily_quota&& ($this->db->f('cost_daily')>= $this->db->f('quota') * $this->daily_quota/100)) { If we look in detail at this line: - $th

Re: [OpenSIPS-Users] Dialog profiles and flags not matching

2012-05-24 Thread Vlad Paiu
Hello, Indeed, when the BYE is internally processed by OpenSIPS and matched to the proper dialog, the dialog is also removed from the profiles it belonged to. The dialog is not yet destroyed from memory, as you can still access stuff like dialog variables, etc, it is just removed from the prof

Re: [OpenSIPS-Users] ERROR:nathelper:send_rtpp_command: can't send command to a RTP proxy

2012-05-24 Thread Razvan Crainea
Hi, Arjun! Are OpenSIPS and RTPProxy on the same machine? Also you should double check your firewall isn't blocking the 7890 port on localhost. Regards, -- Ra(zvan Crainea OpenSIPS Developer http://www.opensips-solutions.com On 05/24/2012 11:01 AM, Arjun Shankar K S wrote: Hi All, Greetin

[OpenSIPS-Users] ERROR:nathelper:send_rtpp_command: can't send command to a RTP proxy

2012-05-24 Thread Arjun Shankar K S
Hi All, Greeting to everyone, I have setup openSIPS and RTP Proxy. My opensips is behind a NAT. I gave the below command to start the RTP Proxy, ./rtpproxy –l my_public_IP_address –s udp:127.0.0.1:7890 –F When I start my openSIPS, I get the following error in my syslog, #/usr/local/sbin/

[OpenSIPS-Users] Wrong credentials and UAC_REGISTRANT

2012-05-24 Thread pa...@eremina.net
Hi, all! I think i found some interconection trouble, if i send REGISTER: ... From: ;tag=as336b2c86. To: . ... And register is OK. When i send REGISTER: To: sip:uyk...@max.ru. From: ;tag=f046e. ... And get message "Wrong Credentials for" in syslog. May be problem with generated TO header