[SR-Users] Kamailio+B2BUA on IPv4-only and NAT64 Apple app store tests

2019-09-16 Thread Anthony Alba
Hi folks,

I'm wondering what you do to pass Apple app store tests (IPv6-only
NAT64/DNS64 scenario) with the iOS app likely to put IPv6 addresses in
the SDP, when Kamailio and your B2BUA(Asterisk, FreeSWITCH,...) are
IPv4-only endpoints.

By "pass" I mean media flowing + SIP working - not sure the app store
gatekeepers would actually test media, but it would be nice to have a
robust solution.

Strictly speaking, this is not a Kamailio's problem but  a media
SDP/ problem. But since everything is so
closely intertwined I'm wondering where you choose to the location the
"solution".

I have noticed that if Kamailio is IPv4-only and it "sees"
IPv6-addresses(Contact, Via headers??) it will try to resolve the
IPv6-address as a DNS name!

The Wikipedia article on NAT64 mentions 464XLAT(RFC 6877) and Port
Control Protocol (RFC 7225), but those seem to be deep rabbit-holes...

Cheers
Anthony Alba

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


Re: [SR-Users] Kamailio merchandising shop

2019-09-16 Thread Henning Westerholt
Hello,

thank you for the feedback.

Several people asked me to provide a bit more background information 
about this.

The shop uses services from the German company spreadshirt. They handles 
all the payment and logistics (including returns, refunds etc..).

In case of quality problems or customer service issues please contact me 
directly, as other people in the project are not involved in this.

The earnings from this shop will be used to fund administrative expenses 
for Kamailio, for example legal costs related to the Kamailio trademark 
registration.

In case of more questions please contact me directly.

Cheers,

Henning

Am 16.09.19 um 10:44 schrieb Henning Westerholt:
> Hello,
>
> there is now a Kamailio merchandising shop available:
>
> https://skalatan.de/merchandising/
>
> You find there many options e.g. different Kamailio T-Shirts, Hoodies,
> Bags, Caps, Mugs, etc..
>
> It provides shipping in many countries world-wide (based from Europe and
> also USA).
>
> Feedback via (direct) e-mail welcome.
>
> Best regards,
>
> Henning
>
>
> ___
> Kamailio (SER) - Development Mailing List
> sr-...@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Kamailio Merchandising - https://skalatan.de/merchandising/
Kamailio services - https://skalatan.de/services
Henning Westerholt - https://skalatan.de/blog/

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


Re: [SR-Users] app_lua: invalid Lua environment attributes or parameters

2019-09-16 Thread Yuriy Gorlichenko
I found issue:
Called  KSR.log earlier than it was initiated.
Moved part of code previously used in cfgengine "lua" to lua_run().

пн, 16 сент. 2019 г. в 15:25, Yuriy Gorlichenko :

> Sorry Just a mistake. Offcourse it is path to kamailio.cfg file which
> contains path to main.lua as modparam. Sorry for confusing
>
> On Mon, 16 Sep 2019, 10:45 Daniel-Constantin Mierla, 
> wrote:
>
>> Hello,
>>
>> is it "kamailio -f /etc/kamailio/extended/main.lua" or just a typing
>> mistake, because the config path provided with -f should still be to the
>> kamailio.cfg where you set global parameters, load modules and set their
>> parameters?
>>
>> Cheers,
>> Daniel
>>
>> On Mon, Sep 16, 2019 at 7:23 AM Yuriy Gorlichenko 
>> wrote:
>>
>>> Hi! Im using kamailio 5.1.8 with app_lua and getting this message during
>>> startup of kamailio. Looks like I forgot to add something at the module
>>> setup, but cant figure out what is wrong. My setup of app_lua is:
>>>
>>> modparam("app_lua", "load", "/etc/kamailio/extended/main.lua")
>>> modparam("app_lua","reload",1)
>>> modparam("app_lua","register","textops")
>>>
>>> app_lua [app_lua_sr.c:1599]: sr_kemi_lua_exec_func_ex(): invalid Lua
>>> environment attributes or parameters
>>>
>>> starting kamailio service with kamailio -f
>>> /etc/kamailio/extended/main.lua
>>>
>>> Also here is little bit confusing me that in case of use "KSR"
>>> everywhere I'm getting message about "sr"...
>>>
>>> Thx in advice
>>> ___
>>> Kamailio (SER) - Users Mailing List
>>> sr-users@lists.kamailio.org
>>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>
>>
>> --
>> Daniel-Constantin Mierla - http://www.asipto.com
>> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] app_lua: invalid Lua environment attributes or parameters

2019-09-16 Thread Yuriy Gorlichenko
Sorry Just a mistake. Offcourse it is path to kamailio.cfg file which
contains path to main.lua as modparam. Sorry for confusing

On Mon, 16 Sep 2019, 10:45 Daniel-Constantin Mierla, 
wrote:

> Hello,
>
> is it "kamailio -f /etc/kamailio/extended/main.lua" or just a typing
> mistake, because the config path provided with -f should still be to the
> kamailio.cfg where you set global parameters, load modules and set their
> parameters?
>
> Cheers,
> Daniel
>
> On Mon, Sep 16, 2019 at 7:23 AM Yuriy Gorlichenko 
> wrote:
>
>> Hi! Im using kamailio 5.1.8 with app_lua and getting this message during
>> startup of kamailio. Looks like I forgot to add something at the module
>> setup, but cant figure out what is wrong. My setup of app_lua is:
>>
>> modparam("app_lua", "load", "/etc/kamailio/extended/main.lua")
>> modparam("app_lua","reload",1)
>> modparam("app_lua","register","textops")
>>
>> app_lua [app_lua_sr.c:1599]: sr_kemi_lua_exec_func_ex(): invalid Lua
>> environment attributes or parameters
>>
>> starting kamailio service with kamailio -f /etc/kamailio/extended/main.lua
>>
>> Also here is little bit confusing me that in case of use "KSR" everywhere
>> I'm getting message about "sr"...
>>
>> Thx in advice
>> ___
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
> --
> Daniel-Constantin Mierla - http://www.asipto.com
> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] NAT problem

2019-09-16 Thread Daniel-Constantin Mierla
Hello,

is Kamailio and RTPProxy (or Asterisk) using public IP addresses? Or they
listen on a private address and the firewall does port forwarding of a
public IP address?

Cheers,
Daniel

On Mon, Sep 16, 2019 at 10:51 AM Arnout Van Den Kieboom <
arnoutvdkieb...@gmail.com> wrote:

> Hi,
>
> First of all, I'm really new to Kamailio. So sorry if I ask a stupid
> question, or perhaps a really weird one.
>
> I started using kamailio in a test environment about a week ago.
>
> for setup i have the situation for inbound calls: Carrier --> FW (NAT) -->
> Kamailio
> for outbound to an asterisk box i have: Kamailio --> FW (NAT) --> Asterisk
> for outbound to users i have: Kamailio --> FW (NAT) --> sip-phone
> (yealink) or grandstream
>
> During that time i was able to :
> Set up calls to users,
> Use the dispatcher module
> use the avpops module to do data lookups.
> Get calls from asterisk to kamailio user to work.
> Also calls between users (even though behind nat) are having good audio.
>
> I have installed rtpproxy and it works nicely.
>
> There is just one situation where it fails:
>
> Carrier --> FW (NAT) Kamailio --> asterisk
>
> There is only one way audio (from asterisk to carrier) but not from
> carrier to asterisk.
>
> I believe I need to do something with the rtp proxy module ... and tried
> different things (forcing the r flag, forcing the w flag)
> Any idea where I might need to start looking? It's been driving me crazy...
>
> Thanks
>
> Pemp
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Daniel-Constantin Mierla - https://www.asipto.com
https://twitter.com/miconda - https://www.linkedin.com/in/miconda
Kamailio Advanced Training - https://www.asipto.com/u/kat
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] NAT problem

2019-09-16 Thread Arnout Van Den Kieboom
Hi,

First of all, I'm really new to Kamailio. So sorry if I ask a stupid
question, or perhaps a really weird one.

I started using kamailio in a test environment about a week ago.

for setup i have the situation for inbound calls: Carrier --> FW (NAT) -->
Kamailio
for outbound to an asterisk box i have: Kamailio --> FW (NAT) --> Asterisk
for outbound to users i have: Kamailio --> FW (NAT) --> sip-phone (yealink)
or grandstream

During that time i was able to :
Set up calls to users,
Use the dispatcher module
use the avpops module to do data lookups.
Get calls from asterisk to kamailio user to work.
Also calls between users (even though behind nat) are having good audio.

I have installed rtpproxy and it works nicely.

There is just one situation where it fails:

Carrier --> FW (NAT) Kamailio --> asterisk

There is only one way audio (from asterisk to carrier) but not from carrier
to asterisk.

I believe I need to do something with the rtp proxy module ... and tried
different things (forcing the r flag, forcing the w flag)
Any idea where I might need to start looking? It's been driving me crazy...

Thanks

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


[SR-Users] Kamailio merchandising shop

2019-09-16 Thread Henning Westerholt
Hello,

there is now a Kamailio merchandising shop available:

https://skalatan.de/merchandising/

You find there many options e.g. different Kamailio T-Shirts, Hoodies, 
Bags, Caps, Mugs, etc..

It provides shipping in many countries world-wide (based from Europe and 
also USA).

Feedback via (direct) e-mail welcome.

Best regards,

Henning


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


Re: [SR-Users] app_lua: invalid Lua environment attributes or parameters

2019-09-16 Thread Daniel-Constantin Mierla
Hello,

is it "kamailio -f /etc/kamailio/extended/main.lua" or just a typing
mistake, because the config path provided with -f should still be to the
kamailio.cfg where you set global parameters, load modules and set their
parameters?

Cheers,
Daniel

On Mon, Sep 16, 2019 at 7:23 AM Yuriy Gorlichenko 
wrote:

> Hi! Im using kamailio 5.1.8 with app_lua and getting this message during
> startup of kamailio. Looks like I forgot to add something at the module
> setup, but cant figure out what is wrong. My setup of app_lua is:
>
> modparam("app_lua", "load", "/etc/kamailio/extended/main.lua")
> modparam("app_lua","reload",1)
> modparam("app_lua","register","textops")
>
> app_lua [app_lua_sr.c:1599]: sr_kemi_lua_exec_func_ex(): invalid Lua
> environment attributes or parameters
>
> starting kamailio service with kamailio -f /etc/kamailio/extended/main.lua
>
> Also here is little bit confusing me that in case of use "KSR" everywhere
> I'm getting message about "sr"...
>
> Thx in advice
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users