Re: [SR-Users] dialog module shared memory

2015-01-18 Thread Grant Bagdasarian
Hello Charles,

I’ve looked at the htable and dmq modules, but I don’t understand how to 
integrate this with the dialog module.

Could you post an example please?

Thanks!

Regards,

Grant

From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of 
Charles Chance
Sent: Friday, January 16, 2015 12:23 PM
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users 
Mailing List
Subject: Re: [SR-Users] dialog module shared memory


Hello,

Currently, this is work in progress. But in the meantime, it is possible to 
achieve using htable with dmq enabled.

I can post an example later if required.

Cheers,
Charles
On 16 Jan 2015 07:54, Grant Bagdasarian g...@cm.nlmailto:g...@cm.nl wrote:
Hello,

I’m using the dialog module to control the maximum number of calls allowed to 
be passed through.
Is it possible to share the dialogs stored in memory with multiple instances of 
kamailio?

So if both kamailio instances process calls, and the maximum is set to a global 
of 10, both combined should never let more than 10 calls through.

Regards,

Grant

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

www.sipcentric.comhttp://www.sipcentric.com/

Follow us on twitter @sipcentrichttp://twitter.com/sipcentric

Sipcentric Ltd. Company registered in England  Wales no. 7365592. Registered 
office: Faraday Wharf, Innovation Birmingham Campus, Holt Street, Birmingham 
Science Park, Birmingham B7 4BB.
___
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] Load balancer - Path and Route header issue

2015-01-18 Thread Mickael Marrache
Hi,

 

I'm trying to use one Kamailio instance as load balancer for multiple
Kamailio instances. The load balancer only performs NAT handling and
dispatching of messages. The other instances  handle registrations, routing,
RTP proxy, authentication, etc.

 

When a REGISTER request is received by the load balancer, a Path header is
added to the request which is then forwarded to one of the registrars. The
registration request is successfully handled and the Path header is saved in
database. All subscribers register through the load balancer.

 

When an INVITE is received from one subscriber by the load balancer, a
Record-Route header is added by the load balancer which then forwards the
INVITE to one of the other instances. The selected instance authenticates
the subscriber, looks for the callee using the REGISTRAR module, adds a
Record-Route header, adds a Route header according to the Path header
associated with the callee, and forwards the INVITE to the load balancer.
The load balancer performs loose routing (removing the Route header), adds
another Record-Route header, and forwards the INVITE to the callee using the
right transport address (indicated by the received parameter present in the
Route header). The flow is right for the INVITE and its replies. However,
when the caller sends the ACK, the route set is: load balancer, proxy, load
balancer - without any information about how to reach the callee. Therefore,
when the ACK reaches the second load balancer, the latter forwards it
according to the RURI which is the Contact URI present in the 200 OK (which
is not routable because of the NAT). I expected Kamailio to reuse the
information that was present in the Path header to route the ACK correctly.

 

What am I doing wrong?

 

Thanks,

Mickael

___
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] Kamailio with rtpproxy and asterisk in internal lan

2015-01-18 Thread Willian Mazzardo - SYSSVOIP
Hi all.

I want to create a Kamailio server who have dispatcher module, to
loadbalance some asterisk servers who have my billing system.

But, if I call from internet to my Public IP on Kamailio server, and then
call goes to internal IP asterisk, who execute Echo App, I cant hear myself.

If I call to my Public IP on Kamailio server, and call goes to EXTERNAL IP
on Asterisk, everything works nice.

I want this :  Sip Client  Public IP Kamailio  Internal IP Kamailio 
Internal IP Asterisk Server  Echo()

I have rtpproxy running on same machine that Kamailio, and Im running with
this command:

rtpproxy -F -s udp:127.0.0.1:7722 -l PU.BL.IC.IP/172.16.1.1 -d
DBUG:LOG_LOCAL0

My asterisk have 172.16.1.2 as internal IP.

https://www.cloudshark.org/captures/15724d2d7e51

This is my tcpdump file captured.

Thanks for any help.
Willian Mazzardo
Depto TI - SYSSVOIP
www.syssvoip.com.br
55 3537 2030
___
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] call control for 4.2?

2015-01-18 Thread Peter Villeneuve
Hi,

I want to experiment with the following setup and was wondering which
module(s) you all recommend.

I have a working simple kamailio 4.2 setup where registered users can only
call each other on the same domain (ie no outbound calling to PSTN or other
domains).

Now I want to explore the possibility of limiting call times for certain
users but allowing unlimited call times for others (ie user 5000's calls
are limited to 2 minutes while user 6000 has unlimited calling time).

There are some tutorials available on the internet but they seem to be
quite outdated.

Given my simple scenario, should I be looking into using the callcontrol
module and install the CDR tool from here
http://callcontrol.ag-projects.com/ (I don't really need any complex
billing scheme with various rates but rather a simple scheme were user x is
either time limited or not).

Before I dig in any further, I'd appreciate it of someone could tell me if
this is the way to go or is there's a simpler solution. Are there any
recent tutorials that I should be looking at?

Cheers,

Peter
___
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] UID-* modules

2015-01-18 Thread Olle E. Johansson
hi!

Frankly, I don't really know the difference between the uid* modules and the 
regular modules. I know the history, but would like to understand and maybe 
some text I can add to the README files of these modules to explain to other 
users what the difference is.

/O
___
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] call control for 4.2?

2015-01-18 Thread Peter Villeneuve
Thanks Abdul. I'll take a look at that module.

Cheers,

Peter

On Sun, Jan 18, 2015 at 6:29 PM, Abdul Gafar abdul.gafar@gmail.com
wrote:

 Hi ,Peter


 http://www.kamailio.org/events/2014-KamailioWorld/day0/w3-Carlos.Ruiz.Diaz-Prepaid-cnxcc.pdf
 example
 https://github.com/caruizdiaz/cnxcc-example

 //Gafar


 On Mon, Jan 19, 2015 at 1:25 AM, Abdul Gafar abdul.gafar@gmail.com
 wrote:

 Hi Peter

 Please use CNXCC PrePaid module

 //Gafar



 On Sun, Jan 18, 2015 at 9:47 PM, Peter Villeneuve peterv...@gmail.com
 wrote:

 Hi,

 I want to experiment with the following setup and was wondering which
 module(s) you all recommend.

 I have a working simple kamailio 4.2 setup where registered users can
 only call each other on the same domain (ie no outbound calling to PSTN or
 other domains).

 Now I want to explore the possibility of limiting call times for certain
 users but allowing unlimited call times for others (ie user 5000's calls
 are limited to 2 minutes while user 6000 has unlimited calling time).

 There are some tutorials available on the internet but they seem to be
 quite outdated.

 Given my simple scenario, should I be looking into using the callcontrol
 module and install the CDR tool from here
 http://callcontrol.ag-projects.com/ (I don't really need any complex
 billing scheme with various rates but rather a simple scheme were user x is
 either time limited or not).

 Before I dig in any further, I'd appreciate it of someone could tell me
 if this is the way to go or is there's a simpler solution. Are there any
 recent tutorials that I should be looking at?

 Cheers,

 Peter

 ___
 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


___
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] call control for 4.2?

2015-01-18 Thread Abdul Gafar
Hi ,Peter

http://www.kamailio.org/events/2014-KamailioWorld/day0/w3-Carlos.Ruiz.Diaz-Prepaid-cnxcc.pdf
example
https://github.com/caruizdiaz/cnxcc-example

//Gafar


On Mon, Jan 19, 2015 at 1:25 AM, Abdul Gafar abdul.gafar@gmail.com
wrote:

 Hi Peter

 Please use CNXCC PrePaid module

 //Gafar



 On Sun, Jan 18, 2015 at 9:47 PM, Peter Villeneuve peterv...@gmail.com
 wrote:

 Hi,

 I want to experiment with the following setup and was wondering which
 module(s) you all recommend.

 I have a working simple kamailio 4.2 setup where registered users can
 only call each other on the same domain (ie no outbound calling to PSTN or
 other domains).

 Now I want to explore the possibility of limiting call times for certain
 users but allowing unlimited call times for others (ie user 5000's calls
 are limited to 2 minutes while user 6000 has unlimited calling time).

 There are some tutorials available on the internet but they seem to be
 quite outdated.

 Given my simple scenario, should I be looking into using the callcontrol
 module and install the CDR tool from here
 http://callcontrol.ag-projects.com/ (I don't really need any complex
 billing scheme with various rates but rather a simple scheme were user x is
 either time limited or not).

 Before I dig in any further, I'd appreciate it of someone could tell me
 if this is the way to go or is there's a simpler solution. Are there any
 recent tutorials that I should be looking at?

 Cheers,

 Peter

 ___
 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] call control for 4.2?

2015-01-18 Thread Abdul Gafar
Hi Peter

Please use CNXCC PrePaid module

//Gafar



On Sun, Jan 18, 2015 at 9:47 PM, Peter Villeneuve peterv...@gmail.com
wrote:

 Hi,

 I want to experiment with the following setup and was wondering which
 module(s) you all recommend.

 I have a working simple kamailio 4.2 setup where registered users can only
 call each other on the same domain (ie no outbound calling to PSTN or other
 domains).

 Now I want to explore the possibility of limiting call times for certain
 users but allowing unlimited call times for others (ie user 5000's calls
 are limited to 2 minutes while user 6000 has unlimited calling time).

 There are some tutorials available on the internet but they seem to be
 quite outdated.

 Given my simple scenario, should I be looking into using the callcontrol
 module and install the CDR tool from here
 http://callcontrol.ag-projects.com/ (I don't really need any complex
 billing scheme with various rates but rather a simple scheme were user x is
 either time limited or not).

 Before I dig in any further, I'd appreciate it of someone could tell me if
 this is the way to go or is there's a simpler solution. Are there any
 recent tutorials that I should be looking at?

 Cheers,

 Peter

 ___
 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] call control for 4.2?

2015-01-18 Thread Daniel-Constantin Mierla
Hello,

if it just about setting a dialog lifetime for each call, then dialog
module alone will do it. Loading the lifetime value can be done with
sqlops or auth_db load_credentials parameter.

Cheers,
Daniel

On 18/01/15 19:47, Peter Villeneuve wrote:
 Thanks Abdul. I'll take a look at that module.

 Cheers,

 Peter

 On Sun, Jan 18, 2015 at 6:29 PM, Abdul Gafar
 abdul.gafar@gmail.com mailto:abdul.gafar@gmail.com wrote:

 Hi ,Peter

 
 http://www.kamailio.org/events/2014-KamailioWorld/day0/w3-Carlos.Ruiz.Diaz-Prepaid-cnxcc.pdf
 example
 https://github.com/caruizdiaz/cnxcc-example

 //Gafar


 On Mon, Jan 19, 2015 at 1:25 AM, Abdul Gafar
 abdul.gafar@gmail.com mailto:abdul.gafar@gmail.com wrote:

 Hi Peter

 Please use CNXCC PrePaid module

 //Gafar



 On Sun, Jan 18, 2015 at 9:47 PM, Peter Villeneuve
 peterv...@gmail.com mailto:peterv...@gmail.com wrote:

 Hi,

 I want to experiment with the following setup and was
 wondering which module(s) you all recommend.

 I have a working simple kamailio 4.2 setup where
 registered users can only call each other on the same
 domain (ie no outbound calling to PSTN or other domains).

 Now I want to explore the possibility of limiting call
 times for certain users but allowing unlimited call times
 for others (ie user 5000's calls are limited to 2 minutes
 while user 6000 has unlimited calling time).

 There are some tutorials available on the internet but
 they seem to be quite outdated.

 Given my simple scenario, should I be looking into using
 the callcontrol module and install the CDR tool from
 here http://callcontrol.ag-projects.com/ (I don't really
 need any complex billing scheme with various rates but
 rather a simple scheme were user x is either time limited
 or not).

 Before I dig in any further, I'd appreciate it of someone
 could tell me if this is the way to go or is there's a
 simpler solution. Are there any recent tutorials that I
 should be looking at?

 Cheers,

 Peter

 ___
 SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
 mailing list
 sr-users@lists.sip-router.org
 mailto: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 mailto: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

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

___
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