Re: [SR-Users] Kamailio iOS Push Notifications

2018-03-03 Thread Mojtaba
Hello.
Please check tislo module in kamailio.
With regards.Mojtaba

On 1 Mar 2018 14:50, "Amine Mensori"  wrote:

> Hello,
>
> We need help implementing push notifications within Kamailio. I have found
> a module relating to this: https://github.com/tvntsr/push
> However, the developer did not provide any examples of the cfg file, only
> parts of certain functions. We need some help implementing the functions in
> our config file or a full example of another method to get push
> notifications to work when the application is closed on the device. Please
> note we are not very proficient in C programming so a clear example would
> help a lot.
>
> Many Thanks,
> Amine
>
> ___
> 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] Non-standard SIP-over-TLS port

2018-03-03 Thread Steve
Hello Aymeric,

Thanks, that works.

Steve


On 3/3/2018 5:48 AM, Aymeric Moizard wrote:
> Hi Steve,
>
> In kamailio.cfg, just add more "listen=" lines
>
> listen=tls:80.80.80.80:2345 
>
> This will add a TLS listener on port 2345.
>
> Regards
> Aymeric
>
>
> 2018-03-03 2:01 GMT+01:00 Steve  >:
>
> Hello sr-users,
>
> How does one assign a non-standard SIP-over-TLS port rather than the
> usual port 5061 for client registration?
>
> Steve
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus 
>
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org 
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
> 
>
>
>
>
> -- 
> Antisip - http://www.antisip.com
>
>
> ___
> 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] logging sip messages

2018-03-03 Thread Issam
Hello Karthik,

Have a look at siptrace module (
https://www.kamailio.org/docs/modules/5.1.x/modules/siptrace.html).
Moreover, I guess you need to consider HOMER (sipcapture) as well.

Issam

On Fri, Mar 2, 2018 at 10:12 PM, Karthik Srinivasan 
wrote:

> Hello:
>
> I am trying to find a simple way to log each and every SIP message that
> Kamailio receives or Kamailio sends. In a nutshell, here is what i'm trying
> to accomplish:
>
> - log sip message received;  log ip address and port of where message was
> received from
> - log sip message to be sent or sent;  log ip address and port of
> destination.
>
> I am trying to achieve this in the context of my general log file that
> contains routing/event logic from the kamailio.cfg file.  By this i mean i
> don't want to have to run an external program like tcpdump to capture the
> packets and log them.
>
> I have tried a few thing but haven't been able to capture all conditions.
>
> examples:
>
> i have included things like  event_routes for [tm:local-response];
> [sl:local-response]; [sl:filtered-ack], onreply_route...   I can capture
> most replies and responses via those but am not able to capture a 200ok
> relayed response from Kamailio back to the originating UA for example.
>
> I can log incoming messages without problem.
>
> I have also tried to activate IO interrupt to route to
> event_route[NETWORK:MSG] but unfortunately i can't access the source/dest
> ip address/port info or other pseudo variables.
>
> So back to the original question:  How does one log every SIP message that
> Kamailio gets?  How does one log every SIP message that Kamailio sends?
> via the context of the routing/replies/event routes in kamailio.cfg.
>
> Thanks,
>
> Karthik
>
>
> ___
> 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] Non-standard SIP-over-TLS port

2018-03-03 Thread Aymeric Moizard
Hi Steve,

In kamailio.cfg, just add more "listen=" lines

listen=tls:80.80.80.80:2345

This will add a TLS listener on port 2345.

Regards
Aymeric


2018-03-03 2:01 GMT+01:00 Steve :

> Hello sr-users,
>
> How does one assign a non-standard SIP-over-TLS port rather than the
> usual port 5061 for client registration?
>
> Steve
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
>
>
> ___
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>



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