[SR-Users] modifying global data-structures using Rtimer module

2013-02-05 Thread Kiran Bhosale
Hi

we  have  developed the custom module which stores the registered users  in
a file.now we are trying to remove the expired  contacts using the rtimer
module.while saving  the  registered users  to the file  we also store the
expires  values in static  array.but when  we  try  to decrement the
these  values  in a function called  with the help of rtimer  module. the
values used  by this  periodic  function are not modified ones but the
initial which are zero. is it that  we cant pass  the modified  values of
the global variables to the timed  functions. to get around  this  problem,
we also registered the timer in our module but got  same results !!!


Please  Help.

Thanks and regards .
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] issue with # calls

2013-02-05 Thread Ivan Milivojevic
Hi Andrew,

Here is one call with special characters:

call-id = 100c8a98-c0a8016b-13c4-50029-203fa-68e78324-203fa

How we can block such attempts, by rewrite rules?

Regards
Ivan

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Voip Issue

2013-02-05 Thread BrianSuper7
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 for details.

Content preview:  Hi I have been using your excellent Voip facility for 
sometime.
   Recently I have encountered that when I called from 'phone A' to 'Phone B'
   connects and can hear Phone B's voice but can't hear phone A's voice when
   dialed from phone A. But when Phone B made the call to phone A, can hear
  both parties voices. This problem started very recently. I haven't done any
   configuration changes. This problem incurred nearly a week or two ago. I
  experienced same problem long time ago and it resolved after few days time.
   But this time it didn't resolved. My SIP no 87415661. I would appreciate
  if you could kindly help me to rectify the problem. [...] 

Content analysis details:   (5.2 points, 5.0 required)

 pts rule name  description
 -- --
-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no
trust
[220.233.0.17 listed in list.dnswl.org]
 0.0 FREEMAIL_FROM  Sender email is commonly abused enduser mail 
provider
(briansuper7[at]yahoo.com.au)
 0.2 FREEMAIL_REPLYTO_END_DIGIT Reply-To freemail username ends in digit
("briansuper7" 
)
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in
digit (briansuper7[at]yahoo.com.au)
 0.0 HTML_MESSAGE   BODY: HTML included in message
 0.8 BAYES_50   BODY: Bayes spam probability is 40 to 60%
[score: 0.4955]
 0.6 REPTO_QUOTE_YAHOO  Yahoo! doesn't do quoting like this
 3.3 AXB_XMAILER_MIMEOLE_OL_4379D AXB_XMAILER_MIMEOLE_OL_4379D

The original message was not completely plain text, and may be unsafe to
open with some email clients; in particular, it may contain a virus,
or confirm that your address can receive spam.  If you wish to view
it, it may be safer to save it to a file and open it with an editor.

--- Begin Message ---
Hi 

I have been using your excellent Voip facility for sometime.  Recently I have 
encountered that when I called from 'phone A'  to 'Phone B' connects and can 
hear Phone B's voice but can't hear phone A's voice when dialed from phone A.  
But when Phone B made the call to phone A, can hear both parties voices.  This 
problem started very recently.   I haven't done any configuration changes. This 
problem incurred nearly a week or  two ago.  I experienced same problem long 
time ago and it resolved after few days time.  But this time it didn't 
resolved.  My SIP no 87415661. I would appreciate if you could kindly help me 
to rectify the problem. 

Thanks

Regards

Buddhi
--- End Message ---
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Refreshing the list of submitted patches

2013-02-05 Thread Daniel-Constantin Mierla

Hello,

following some discussion over the weekend at Fosdem, it seems that some 
of submitted patches got forgotten in the mailing list archives and even 
on tracker.


If any of you submitted patches was not accepted or rejected for a 
persistent reason, please write again to sr-dev mailing list referring 
to it. It is a short period still good for getting them in v4.0.


In general, if there is no more activity regarding a patch for one or 
two weeks, come back and ask for an update. We don't mind reminders 
(especially because many of us do have a heavy loaded traveling schedule).


Cheers and happy testing upcoming v4.0,
Daniel

--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, April 16-17, 2013, Berlin
 - http://conference.kamailio.com -


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] mysql: driver_error

2013-02-05 Thread Uri Shacked
Hi,

I am doing some testing and i have trouble understanding when does the
"mysql:driver_error" counter/statistics increase

I stopped the mysqld process on the DB server and used sqlops. the
driver_error did still is on 0.

I use version 3.3.2.

Thanks,

Uri
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Update existing module or create new?

2013-02-05 Thread Charles Chance

All,

We are working on a memcached module which uses the libmemcached 
library, as opposed to the (no longer under active development) 
libmemcache that the existing module depends on.


Am I correct in thinking that in this instance, it would be better to 
create a brand new module (with a different name) rather than modify the 
existing one? In addition to changing the dependency, we will also be 
exporting new commands and potentially changing the format of the 
exported PVs.


Regards,

Charles

--

www.sipcentric.com 

Follow us on twitter @sipcentric 

Sipcentric Ltd. Company registered in England & Wales no. 7365592.
Registered office: Unit 10 iBIC, Birmingham Science Park, Holt Court 
South, Birmingham B7 4EJ.
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Need help understanding/separating signaling from media

2013-02-05 Thread Grant Bagdasarian
Hello,

Consider the below image like in my original e-mail.

User Agent 1-- Kamailio -- User Agent 2
 |  
|
 |  
|
 |  
|
  -- Media Server Cluster --

What if UA1 and UA2 are on different remote networks. Kamailio must have two 
interfaces connected to both networks in order to send/receive traffic.

Let's say UA1 is on 72.0.0.1 and UA2 is on 10.0.0.1.
Kamailio would have 72.0.0.2 and 10.0.0.2. But a media server must also have IP 
addresses in these ranges in order to receive traffic and in turn bridge them.

Would RTPProxy still work in this scenario?

Also, let's consider UA1 to be one of many SIP Trunk suppliers. Each using a 
different network. This would mean each media server must have multiple IP 
addresses configured  to exchange traffic with the suppliers.
How does RTPProxy work in a scenario like that? When allocating ports for each 
call, does it also look at the IP address where the call is coming from?

Some routes must be configured on the media servers for multiple remote 
networks to communicate with each other, but I think that's out of the scope of 
how RTPProxy handles things.

I hope someone could explain this to me.

Thanks!

Grant

-Original Message-
From: sr-users-boun...@lists.sip-router.org 
[mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Alex Balashov
Sent: Monday, January 28, 2013 5:11 PM
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Need help understanding/separating signaling from media

Hi Grant,

On 01/28/2013 11:03 AM, Grant Bagdasarian wrote:

> I think that the RTP Proxy module does precisely this, but what I 
> still don't understand is how the rtp stream is passed between these 
> two agents for each call.

The Kamailio 'rtpproxy' module goes out to the rtpproxy service[1] and asks it 
to engage the call, saying: "Can you please allocate and provide me with a pair 
of ports for each end of this call?"  The rtpproxy process answers, and 
Kamailio then writes the IP and ports provided by rtpproxy into the SDP of both 
the requests and replies involved in setting up the call.

The result is that as far as both UAs are concerned, rtpproxy is their 
endpoint, and they will send media to it.  Kamailio instructs rtpproxy to 
bridge both streams.

When the call is torn down, Kamailio tells rtpproxy to disengage and deallocate 
the bridge mapping for those streams.

-- Alex

[1] Which may be running on the same host, or may be running on another host, 
in a distributed fashion.  Kamailio talks to rtpproxy through rtpproxy's UDP 
control socket, and more than one rtpproxy may be used, both for failover and 
round-robin load distribution.  This is readily baked into the rtpproxy module.

-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Update existing module or create new?

2013-02-05 Thread Henning Westerholt
Am Dienstag, 5. Februar 2013, 12:52:19 schrieb Charles Chance:
> We are working on a memcached module which uses the libmemcached library, as
> opposed to the (no longer under active development) libmemcache that the
> existing module depends on.
> 
> Am I correct in thinking that in this instance, it would be better to create
> a brand new module (with a different name) rather than modify the existing
> one? In addition to changing the dependency, we will also be exporting new
> commands and potentially changing the format of the exported PVs.

Hello Charles,

as the original author of the module I'd think that changing or replacing the 
existing module would be the way to go. So far I'd not recieved that much of 
bug reports against the existing module. And as Alex Balashov also mentioned 
recently, there are some other issues with the current library.

If existing users need to stay with the old module, its available in the git 
and the existing releases, for the new release we should go with a module 
which supports the newer library.

It would be nice if you could stay with the existing PV API, which I modelled 
somehow after the htable module. If you need to change something, just 
announce it on the devel list and ask for feedback.

Thanks and regards,

Henning Westerholt

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Update existing module or create new?

2013-02-05 Thread Charles Chance

Hello Henning,

On 05/02/2013 12:25, Henning Westerholt wrote:

Am Dienstag, 5. Februar 2013, 12:52:19 schrieb Charles Chance:

We are working on a memcached module which uses the libmemcached library, as
opposed to the (no longer under active development) libmemcache that the
existing module depends on.

Am I correct in thinking that in this instance, it would be better to create
a brand new module (with a different name) rather than modify the existing
one? In addition to changing the dependency, we will also be exporting new
commands and potentially changing the format of the exported PVs.

Hello Charles,

as the original author of the module I'd think that changing or replacing the
existing module would be the way to go. So far I'd not recieved that much of
bug reports against the existing module. And as Alex Balashov also mentioned
recently, there are some other issues with the current library.

If existing users need to stay with the old module, its available in the git
and the existing releases, for the new release we should go with a module
which supports the newer library.

It would be nice if you could stay with the existing PV API, which I modelled
somehow after the htable module. If you need to change something, just
announce it on the devel list and ask for feedback.

Thanks and regards,

Henning Westerholt


We have indeed used the module in the past with no issues - so thank you 
for writing and sharing :)


Very happy to stay with existing PVs if possible. The only thing I'd 
like to see different is to set value and expiry at the same time, 
instead of having to set value, then alter expiration. This has to be 
better than setting a value with some default expiry, getting that same 
value back again, then re-setting the value once more with a different 
expiry?


Could this be implemented at PV level? Something like $mct(key:expiry) = 
value? And if expiry is omitted, we use default set in params.


Regards,

Charles
--

www.sipcentric.com 

Follow us on twitter @sipcentric 

Sipcentric Ltd. Company registered in England & Wales no. 7365592.
Registered office: Unit 10 iBIC, Birmingham Science Park, Holt Court 
South, Birmingham B7 4EJ.
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] modifying global data-structures using Rtimer module

2013-02-05 Thread Ovidiu Sas
Why don't you just simply use db_text?
http://kamailio.org/docs/modules/devel/modules/db_text.html

Regards,
Ovidiu Sas

On Mon, Feb 4, 2013 at 11:34 PM, Kiran Bhosale  wrote:
> Hi
>
> we  have  developed the custom module which stores the registered users  in
> a file.now we are trying to remove the expired  contacts using the rtimer
> module.while saving  the  registered users  to the file  we also store the
> expires  values in static  array.but when  we  try  to decrement the  these
> values  in a function called  with the help of rtimer  module. the values
> used  by this  periodic  function are not modified ones but the initial
> which are zero. is it that  we cant pass  the modified  values of  the
> global variables to the timed  functions. to get around  this  problem, we
> also registered the timer in our module but got  same results !!!

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Syslog

2013-02-05 Thread Vitaliy Aleksandrov

On 02/04/2013 06:07 PM, Klaus Darilion wrote:



On 04.02.2013 11:26, Vitaliy Aleksandrov wrote:

The problem was caused by memlog and memdbg options.


So, how the problem is triggered and how did you solved it?

regards
Klaus
Both memlog and memdbg were removed from a kamailio config as I don't 
need them for now.
Unfortunately I didn't have a chance to spent more time on resolving 
this issue yet.


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Fwd:

2013-02-05 Thread jose luis
http://www.lacucinalibanese.altervista.org/rjugo4.php?s=ot


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Fwd:

2013-02-05 Thread Manwe
El Tue,  5 Feb 2013 20:24:13 +0100
jose luis  escribió:

> http://www.lacucinalibanese.altervista.org/rjugo4.php?s=ot
> 


Has mandado esto a la lista de kamailio?


___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] [Fwd: Deleting the expired contacts using the Rtimer module]

2013-02-05 Thread kiran bhosale


--- Begin Message ---

Hi

we  have  developed the custom module which stores the registered users  
in a file.now we are trying to remove the expired  contacts using the 
rtimer module.while saving  the  registered users  to the file  we also 
store the  expires  values in static  array.but when  we  try  to 
decrement the  these  values  in a function called  with the help of 
rtimer  module. the values used  by this  periodic  function are not 
modified ones but the initial which are zero. is it that  we cant pass  
the modified  values of  the global variables to the timed  functions. 
to get around  this  problem, we also registered the timer in our module 
but got  same results !!!



Please  Help.

Thanks and regards .

--- End Message ---
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Deleting the expired contacts using the Rtimer module

2013-02-05 Thread kiran bhosale

Hi

we  have  developed the custom module which stores the registered users  
in a file.now we are trying to remove the expired  contacts using the 
rtimer module.while saving  the  registered users  to the file  we also 
store the  expires  values in static  array.but when  we  try  to 
decrement the  these  values  in a function called  with the help of 
rtimer  module. the values used  by this  periodic  function are not 
modified ones but the initial which are zero. is it that  we cant pass  
the modified  values of  the global variables to the timed  functions. 
to get around  this  problem, we also registered the timer in our module 
but got  same results !!!



Please  Help.

Thanks and regards .

___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users