Re: [SR-Users] Setup IMS core Network When Network behind nat

2017-07-11 Thread Daniel-Constantin Mierla
Hello,

do you want the entire platform to be behind a single public ip, or each
node in the network to run on a private ip but have also a public ip
associated?

Cheers,
Daniel


On 11.07.17 11:31, Mojtaba wrote:
> Hello, I am working on IMS core network. In this network we have these
> node with private IP:
> P-CSCF: 192.168.100.101(pcscf.kamailio-ims.test)
> I-CSCF: 192.168.100.102(icscf.kamailio-ims.test)
> S-CSCF: 192.168.100.103(scscf.kamailio-ims.test)
> HSS: 192.168.100.200(hss.kamailio-ims.test)
> I have two default users (bob and alice) and all things right great.
> Now i want use this network with one public IP behind nat. Let me know
> What should i do?
> In one way i could use SEMS-SBC and set public IP on it, How should i
> config sems-sbc to work correctly?
> Thanks.With Regads.
> M.ES.S
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] RTPProxy - lookup request failed

2017-07-11 Thread Marian Piater
Hi Daniel,

we are using 1.2.1-2.1 version from Debian Jessie repository.

rtpproxy1.2.1-2.1 
amd64Relay for Real-time Transport Protocol (RTP) media streams

Regards,

Marian


Dňa 11.7.2017 o 13:09 Daniel-Constantin Mierla napísal(a):
>
> Hello,
>
> what is the version for rtpproxy?
>
> Cheers,
> Daniel
>
>
> On 11.07.17 11:52, Marian Piater wrote:
>>
>> Hello,
>>
>> I have a problem with RTPProxy.
>>
>> Scenario:
>>
>> SS7 (PSTN) ---> ASTERISK BOX --> Kamailio --> UAC
>>
>> In case of incoming call from PSTN, when called party answer the call
>> after 60 seconds of ringing, then the call is without audio and in
>> this case I see in the log this message:
>>
>> Creating session
>>
>> Jul 11 11:24:32 b2b-voice-sipproxy-v3 rtpproxy[731]:
>> INFO:handle_command: new session
>> 766d0e006d8969d36c628e363ea7c...@upc.cz, tag as7a7c86ae;1 requested,
>> type strong
>> Jul 11 11:24:32 b2b-voice-sipproxy-v3 rtpproxy[731]:
>> INFO:handle_command: new session on a port 52902 created, tag
>> as7a7c86ae;1
>> Jul 11 11:24:32 b2b-voice-sipproxy-v3 rtpproxy[731]:
>> INFO:handle_command: pre-filling caller's address with
>> XXX.XXX.XXX.XXX:32740
>>
>> Answer after approx 60 seconds
>>
>> Jul 11 11:25:40 b2b-voice-sipproxy-v3 rtpproxy[731]:
>> INFO:handle_command: lookup request failed: session
>> 766d0e006d8969d36c628e363ea7c...@upc.cz, tags
>> as7a7c86ae;1/l0g9iusua2;1 not found
>> Jul 11 11:25:40 b2b-voice-sipproxy-v3 rtpproxy[731]:
>> INFO:handle_delete: forcefully deleting session 1 on ports 35196/36656
>>
>> Kamailio log (answer)
>>
>> Jul 11 11:25:40 b2b-voice-sipproxy-v3 kamailio[5268]: INFO: 

Re: [SR-Users] New Diameter IMS Module : can we use it as SWx interface

2017-07-11 Thread Carsten Bock
Hi,

you can basically implement any Diameter Application (or Emulation) using
my Diameter-Server module. I use it for an HSS and I wanted to use it for
an PCRF Emulator emulating the Rx-Interface, if time allows

Thanks,
Carsten

2017-07-06 19:12 GMT+02:00 Igor Potjevlesch :

> Dear Kamailio users,
>
>
>
> Recently has been added to Kamailio two new modules : CDP and CDP_AVP
>
> There is not the TS 29.273 in it but I wanted to know if we can use it to
> emulate SWx interface? or add it with a non-hardcoded solution?
>
> I have seen the kamailio conference online and one session told about
> emulate IMS HSS with those two modules.
>
>
>
> Is someone tried to do it and want to share is experience with me ?
>
> Some DIAMETER functions in these modules are closed from the SWx.
>
>
>
> Best regards
>
>
>
> *Igor Potjevlesch*
>
>
>
>
> 
>  Garanti
> sans virus. www.avast.com
> 
> <#m_-4523271578643981940_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>


-- 
Carsten Bock
CEO (Geschäftsführer)

ng-voice GmbH
Millerntorplatz 1
20359 Hamburg / Germany

http://www.ng-voice.com
mailto:cars...@ng-voice.com

Office +49 40 5247593-40
Fax +49 40 5247593-99

Sitz der Gesellschaft: Hamburg
Registergericht: Amtsgericht Hamburg, HRB 120189
Geschäftsführer: Carsten Bock
Ust-ID: DE279344284

Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
http://www.ng-voice.com/imprint/
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] RTPProxy - lookup request failed

2017-07-11 Thread Marian Piater
Hello,

I have a problem with RTPProxy.

Scenario:

SS7 (PSTN) ---> ASTERISK BOX --> Kamailio --> UAC

In case of incoming call from PSTN, when called party answer the call
after 60 seconds of ringing, then the call is without audio and in this
case I see in the log this message:

Creating session

Jul 11 11:24:32 b2b-voice-sipproxy-v3 rtpproxy[731]:
INFO:handle_command: new session
766d0e006d8969d36c628e363ea7c...@upc.cz, tag as7a7c86ae;1 requested,
type strong
Jul 11 11:24:32 b2b-voice-sipproxy-v3 rtpproxy[731]:
INFO:handle_command: new session on a port 52902 created, tag as7a7c86ae;1
Jul 11 11:24:32 b2b-voice-sipproxy-v3 rtpproxy[731]:
INFO:handle_command: pre-filling caller's address with XXX.XXX.XXX.XXX:32740

Answer after approx 60 seconds

Jul 11 11:25:40 b2b-voice-sipproxy-v3 rtpproxy[731]:
INFO:handle_command: lookup request failed: session
766d0e006d8969d36c628e363ea7c...@upc.cz, tags as7a7c86ae;1/l0g9iusua2;1
not found
Jul 11 11:25:40 b2b-voice-sipproxy-v3 rtpproxy[731]: INFO:handle_delete:
forcefully deleting session 1 on ports 35196/36656

Kamailio log (answer)

Jul 11 11:25:40 b2b-voice-sipproxy-v3 kamailio[5268]: INFO: 

Re: [SR-Users] Setup IMS core Network When Network behind nat

2017-07-11 Thread Mojtaba
Hi.
I found where was my problem. I had a misunderestanding. I used public
domaim as outbound proxy and i could register to ims.
On 11 Jul 2017 15:00, "Mojtaba"  wrote:

> Hi Daniel.
> Let me describe more clearly the network. Let me suppose these
> configurations:
> Private IMS Domain: kamailio0ims.test (192.168.100.200)
> username: b...@kamailio-ims.test
> secret: bob
> outboundproxy: pcscf.kamailio-ims.test (192.168.100.101)
> With these informations, all things works correctly.
> Now suppose we have one public IP with predefined
> domain(sbc.ims-domain.com) that is set on PCSCF.(This node has two ip
> address, one private ip and on public ip),
> How can the bob register to network like as before?because the domain
> sbc.ims-domain.com is not validate on IMS network.
> should i use the sems-sbc? becuase in this situation the private
> domain is not reachables.
> If it is needed, let me to describe more.
> Thanks
>
>
>
> On Tue, Jul 11, 2017 at 2:24 PM, Daniel-Constantin Mierla
>  wrote:
> > Hello,
> >
> > do you want the entire platform to be behind a single public ip, or each
> > node in the network to run on a private ip but have also a public ip
> > associated?
> >
> > Cheers,
> > Daniel
> >
> >
> > On 11.07.17 11:31, Mojtaba wrote:
> >> Hello, I am working on IMS core network. In this network we have these
> >> node with private IP:
> >> P-CSCF: 192.168.100.101(pcscf.kamailio-ims.test)
> >> I-CSCF: 192.168.100.102(icscf.kamailio-ims.test)
> >> S-CSCF: 192.168.100.103(scscf.kamailio-ims.test)
> >> HSS: 192.168.100.200(hss.kamailio-ims.test)
> >> I have two default users (bob and alice) and all things right great.
> >> Now i want use this network with one public IP behind nat. Let me know
> >> What should i do?
> >> In one way i could use SEMS-SBC and set public IP on it, How should i
> >> config sems-sbc to work correctly?
> >> Thanks.With Regads.
> >> M.ES.S
> >>
> >> ___
> >> Kamailio (SER) - Users Mailing List
> >> sr-users@lists.kamailio.org
> >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> >
> > --
> > Daniel-Constantin Mierla
> > www.twitter.com/miconda -- www.linkedin.com/in/miconda
> > Kamailio Advanced Training - www.asipto.com
> > Kamailio World Conference - www.kamailioworld.com
> >
>
>
>
> --
> --Mojtaba Esfandiari.S
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] RTPProxy - lookup request failed

2017-07-11 Thread Marian Piater
Hello,

thank you for quick reply, I tried to find some options in the man
pages, but I didn't read HOWITWORKS section.

I will try to compile RTPProxy from source.

Regards Marian


Dňa 11.7.2017 o 15:36 Daniel-Constantin Mierla napísal(a):
>
> Hello,
>
> doing 'man rtpproxy' on debian jessie reveals:
>
> "The proxy tracks idle time for each of existing sessions (i.e. the
> time within which there were no packets relayed), and automatically
> cleans up a sessions whose idle times exceed the value specified at
> compile time (60 seconds by default)."
>
> Which seems to explain exactly what happens in your case.
>
> I knew there was an inactivity cleanup routine, but I expected to be
> higher than 60sec. Interesting that it didn't hit me badly so far. I
> haven't checked the source code to see if it still matches the docs,
> though, but I see that master branch of rtpproxy still has this remark
> in the manual:
>
>   - https://github.com/sippy/rtpproxy/blob/master/rtpproxy.8#L335
>
> An issue should be created for rtpproxy to at least increase this
> value, or better make it an option for command line.
>
> Cheers,
> Daniel
>
> On 11.07.17 15:21, Marian Piater wrote:
>>
>> Hi Daniel,
>>
>> we are using 1.2.1-2.1 version from Debian Jessie repository.
>>
>> rtpproxy1.2.1-2.1 
>> amd64Relay for Real-time Transport Protocol (RTP) media streams
>>
>> Regards,
>>
>> Marian
>>
>>
>> Dňa 11.7.2017 o 13:09 Daniel-Constantin Mierla napísal(a):
>>>
>>> Hello,
>>>
>>> what is the version for rtpproxy?
>>>
>>> Cheers,
>>> Daniel
>>>

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Setup IMS core Network When Network behind nat

2017-07-11 Thread Mojtaba
Hello, I am working on IMS core network. In this network we have these
node with private IP:
P-CSCF: 192.168.100.101(pcscf.kamailio-ims.test)
I-CSCF: 192.168.100.102(icscf.kamailio-ims.test)
S-CSCF: 192.168.100.103(scscf.kamailio-ims.test)
HSS: 192.168.100.200(hss.kamailio-ims.test)
I have two default users (bob and alice) and all things right great.
Now i want use this network with one public IP behind nat. Let me know
What should i do?
In one way i could use SEMS-SBC and set public IP on it, How should i
config sems-sbc to work correctly?
Thanks.With Regads.
M.ES.S

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Database connection handles vs. processes

2017-07-11 Thread Alex Balashov
I do use sqlops extensively, both in the main processes and rtimer
processes. Does that make a difference?

On Tue, Jul 11, 2017 at 02:49:19AM -0400, Alex Balashov wrote:

> On Tue, Jul 11, 2017 at 08:41:24AM +0200, Daniel-Constantin Mierla wrote:
> 
> > are the connections to the same database or to different databases? Even
> > on the same server, the database name matters.
> 
> Hi,
> 
> Same database, same server, same database name.
> 
> -- 
> Alex Balashov | Principal | Evariste Systems LLC
> 
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
> 
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Siremis updates

2017-07-11 Thread Daniel-Constantin Mierla
Hello,

as a further update, 3) has been pushed to the repo, therefore be
careful if you want to do an upgrade to an existing installation, fresh
installs should just work as usual.

Cheers,
Daniel

On 06.07.17 15:08, Daniel-Constantin Mierla wrote:
> Hello,
>
> there is some ongoing work on Siremis (web management interface for
> kamailio) to make it fully compatible with Kamailio 5.0.x as well as
> update some of its legacy components:
>
>   - https://github.com/asipto/siremis
>
> So I thought to start a discussion here and see if some of those changes
> are going to impact too much existing installations or what are the best
> options to use for the future.
>
> Done so far:
>
> 1) implemented the JSONRPC client using UDP and unix domain sockets, to
> work in pair with jsonrpcs module as a replacement for removed MI
> interface. The old JSONRPC over HTTP is still an option.
>
> 2) charts system has been migrated from open flash chart (ofc) to
> echarts (pure html5/javascript) -- therefore no more requiring to enable
> flash in browser. Configuration is the same and the charts should look
> pretty similar. If you upgrade, apart of different html view for the
> charts, the config files should not be changed. If you notice something
> broken, open an issue on github project linked above.
>
> Planned to be done:
>
> 3) Relocate siremis/modules/ser to siremis/modules/sipadmin -- this
> purely for more suggestive name for the admin module related to the SIP
> services offered by Kamailio, and be in pair with the module sipuser.
> This is mainly search and replace over php and xml files, however, it is
> going to impact if you developed your own internal extensions for
> siremis and placed them in the 'ser' module. It will require that you do
> the same search+replace
>
> 4) Review existing database tables views and add fields for missing columns.
>
> 5) Add views for other database tables. First in my mind being the table
> for rtpengine module. If you use some modules with tables not yet
> managed by siremis, reply and list them to set a list of priorities.
>
> Should have other things to report about siremis and are not yet listed
> on project's issue tracker, let's discuss here.
>
> Testing and feedback for 1) and 2) are very appreciated!
>
> Cheers,
> Daniel
>

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Database connection handles vs. processes

2017-07-11 Thread Daniel-Constantin Mierla
Hello,


On 11.07.17 08:49, Alex Balashov wrote:
> On Tue, Jul 11, 2017 at 08:41:24AM +0200, Daniel-Constantin Mierla wrote:
>
>> are the connections to the same database or to different databases? Even
>> on the same server, the database name matters.
> Hi,
>
> Same database, same server, same database name.
>
are you doing xmlrpc/jsonrpc over http?

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Database connection handles vs. processes

2017-07-11 Thread Daniel-Constantin Mierla
No -- if the database url is the same, sqlops should reuse existing
connections.

Cheers,
Daniel


On 11.07.17 08:57, Alex Balashov wrote:
> I do use sqlops extensively, both in the main processes and rtimer
> processes. Does that make a difference?
>
> On Tue, Jul 11, 2017 at 02:49:19AM -0400, Alex Balashov wrote:
>
>> On Tue, Jul 11, 2017 at 08:41:24AM +0200, Daniel-Constantin Mierla wrote:
>>
>>> are the connections to the same database or to different databases? Even
>>> on the same server, the database name matters.
>> Hi,
>>
>> Same database, same server, same database name.
>>
>> -- 
>> Alex Balashov | Principal | Evariste Systems LLC
>>
>> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
>> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>>
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Database connection handles vs. processes

2017-07-11 Thread Daniel-Constantin Mierla

On 11.07.17 09:13, Alex Balashov wrote:
> On Tue, Jul 11, 2017 at 09:12:51AM +0200, Daniel-Constantin Mierla wrote:
>
>> Hello,
>>
>>
>> On 11.07.17 08:49, Alex Balashov wrote:
>>> On Tue, Jul 11, 2017 at 08:41:24AM +0200, Daniel-Constantin Mierla wrote:
>>>
 are the connections to the same database or to different databases? Even
 on the same server, the database name matters.
>>> Hi,
>>>
>>> Same database, same server, same database name.
>>>
>> are you doing xmlrpc/jsonrpc over http?
> In fact, I am. xhttp + jsonrpcs is the only reason for the TCP listener.
>
There are some rpc commands that open database connection, do the
operation, and then close it. Normally, it still should reuse an
existing connection, as the "open connection" should search for existing
one first.

Can you see if all the connections are in open state or some are pending
close? Is the number of connections stable or fluctuates over the time?

From your summary, I noticed that the tcp workers (which handle also
http) had two db connections, not sure it was only because of what you
selected to put in the mail or that's the rule.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Database connection handles vs. processes

2017-07-11 Thread Daniel-Constantin Mierla
Hello,

are the connections to the same database or to different databases? Even
on the same server, the database name matters.

Cheers,
Daniel


On 10.07.17 22:23, Alex Balashov wrote:
> Hi,
>
> By way of illustration, I have one server with children=8, a single UDP
> listener, and 23 processes total:
>
> [...]
>
> So, this gives rise to two questions in my mind:
>
> 1. I don't seem to understand the relationship between the number of
> database connection handles and the total number of child processes. 
>
> I had always assumed that only SIP workers and other processes
> specialised into a role with possible "database involvement" (e.g.
> rtimer, async workers, etc.) would hold database connections. 
>
> 2. What's going on in the second scenario such that some processes have
> two connections?
>
> Both servers running:
>
> --
> # kamcmd -s /tmp/kamailio_ctl core.version
> kamailio 4.4.6 (x86_64/linux) becbde
> --
>
> Insights much appreciated!
>
> -- Alex
>

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Database connection handles vs. processes

2017-07-11 Thread Alex Balashov
On Tue, Jul 11, 2017 at 08:41:24AM +0200, Daniel-Constantin Mierla wrote:

> are the connections to the same database or to different databases? Even
> on the same server, the database name matters.

Hi,

Same database, same server, same database name.

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Database connection handles vs. processes

2017-07-11 Thread Alex Balashov
On Tue, Jul 11, 2017 at 09:12:51AM +0200, Daniel-Constantin Mierla wrote:

> Hello,
> 
> 
> On 11.07.17 08:49, Alex Balashov wrote:
> > On Tue, Jul 11, 2017 at 08:41:24AM +0200, Daniel-Constantin Mierla wrote:
> >
> >> are the connections to the same database or to different databases? Even
> >> on the same server, the database name matters.
> > Hi,
> >
> > Same database, same server, same database name.
> >
> are you doing xmlrpc/jsonrpc over http?

In fact, I am. xhttp + jsonrpcs is the only reason for the TCP listener.

-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users