Re: [SR-Users] MSILO module

2015-10-21 Thread Safdar Khan
Hi Sam, Will u please elaborate.Means from where to start. Safdar. On Wed, Oct 21, 2015 at 6:29 PM, SamyGo wrote: > Hi Safdar, > > The way I did was save the $mb variable in db when the Method is MESSAGE. > > Regards, > Sam > On Oct 21, 2015 8:09 AM, "Safdar Khan"

Re: [SR-Users] Kamailio and FreeSwitch - ClueCon Weekly Conference Call

2015-10-21 Thread Daniel-Constantin Mierla
The session is going to start in 3 min, anyone willing to join can do it - see details at: - https://freeswitch.org/confluence/display/FREESWITCH/ClueCon+Weekly+Conference+call Cheers, Daniel On 20/10/15 20:32, Daniel-Constantin Mierla wrote: > On Wednesday, October 21, 2015, at 17:00GMT

Re: [SR-Users] htable never

2015-10-21 Thread Juha Heinanen
just to close this thread, it turned out that htable entries that were added in htable:mod-init were lost due to htable.reload. -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] MSILO module

2015-10-21 Thread SamyGo
That means save the psuedo variable $mb (read wiki) using the SQLops module to save the messages using sql_query() Msilo supports saving and retrieving for offline users and hence I couldnt figure out how I can permanently save msg history for users and hence did it manually as mentioned above.

Re: [SR-Users] Implementation of RFC 5393

2015-10-21 Thread Olle E. Johansson
> On 21 Oct 2015, at 14:51, Guillaume wrote: > > But why don't you implement this feature after your demo at kamailio world? > Do you think it's useless at the end? I have it implemented, but in a routing script. It’s not useless, but not the full function. You need to

Re: [SR-Users] MSILO module

2015-10-21 Thread SamyGo
Hi Safdar, The way I did was save the $mb variable in db when the Method is MESSAGE. Regards, Sam On Oct 21, 2015 8:09 AM, "Safdar Khan" wrote: > How can i store messages in silo table not only offline also online.Demo > code will be appreciated.waiting for response.

Re: [SR-Users] Sending ReINVITE from Kamailio

2015-10-21 Thread Olle E. Johansson
> On 21 Oct 2015, at 08:31, Grant Bagdasarian wrote: > > Hello, > > Is it possible to have Kamailio send a ReINVITE every X minutes to determine > if a session is still active? > I know it’s a proxy and doesn’t have B2BUA capabilities, but there was a > module which allowed

Re: [SR-Users] Routing between 2 domains

2015-10-21 Thread kai.ohnacker
Hello Daniel, thanks for the reply. I try out your suggestion, but this is not working. There is no sound transmitted and the connection ended after 23 seconds (I think a timer is expired). Scenario is: Kamailio route all internal calls only internal (external vice versa) Kamailio route all

Re: [SR-Users] Implementation of RFC 5393

2015-10-21 Thread Daniel-Constantin Mierla
Hello, checking the IP in the Via headers can be done in config file using a while loop: $var(i) = 0; while($(hdr(Via)[$var(i)])!=$null) { # use transformations to extract the IP in $(hdr(Via)[$var(i)]) and test it against $Ri ... $var(i) = $var(i) + 1; } Also, checking the

[SR-Users] MSILO module

2015-10-21 Thread Safdar Khan
How can i store messages in silo table not only offline also online.Demo code will be appreciated.waiting for response. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] Implementation of RFC 5393

2015-10-21 Thread Olle E. Johansson
> On 21 Oct 2015, at 14:09, Daniel-Constantin Mierla wrote: > > Hello, > > checking the IP in the Via headers can be done in config file using a while > loop: > > $var(i) = 0; > > while($(hdr(Via)[$var(i)])!=$null) { ># use transformations to extract the IP in

Re: [SR-Users] msilo dump with non 2xx answer

2015-10-21 Thread Daniel-Constantin Mierla
Hello, On 16/10/15 12:20, Péter Barabás wrote: > > Hi Daniel, > > > > thanks for the answer, i did that exactly. > > > > The reason of 493 comes our special IM handling. We send encrypted > message and if client sends 493 back, it means, that the message > cannot be decrypted and now the

Re: [SR-Users] Implementation of RFC 5393

2015-10-21 Thread Guillaume
But why don't you implement this feature after your demo at kamailio world? Do you think it's useless at the end? And how your script was working with kamailio ? Thanks for your response Guillaume From: o...@edvina.net Date: Wed, 21 Oct 2015 14:15:43 +0200 To: mico...@gmail.com CC:

Re: [SR-Users] Routing between 2 domains

2015-10-21 Thread Daniel-Constantin Mierla
Hello, I spotted at least one issue: you set the branch flag (with setbflag()) but then you test message/transaction flags with isflagset() -- to test branch flags you have to use isbflagset(). Cheers, Daniel On 21/10/15 11:42, kai.ohnac...@cbc.de wrote: > > Hello Daniel, > > > > thanks for

[SR-Users] kamctl fifo t_uac_dlg TLS

2015-10-21 Thread Ahmed Salem
Hi, I have a kamailio tls configuration which is working fine for calls & messages In the tls configuration i set these parameters to yes for the server and client verify_certificate = yes require_certificate = yes But when I use "kamctl fifo t_uac_dlg MESSAGE" to send a message I get the

Re: [SR-Users] pua_dialoginfo publish sent without recieved etag (intermittent)

2015-10-21 Thread Asgaroth
Hi, I have attached an example where it is working, in this case the BLF is disabled when the 2nd publish is sent to the presence server, in the example where it is not working, it appears that the BLF stays enabled, its as if it never gets a notify message for the terminated call state. I

[SR-Users] Sending ReINVITE from Kamailio

2015-10-21 Thread Grant Bagdasarian
Hello, Is it possible to have Kamailio send a ReINVITE every X minutes to determine if a session is still active? I know it's a proxy and doesn't have B2BUA capabilities, but there was a module which allowed Kamailio to generate SIP messages, but I can't find it anymore. If Kamailio is not the

Re: [SR-Users] Sending ReINVITE from Kamailio

2015-10-21 Thread ycaner
Hello; I think Dialog module can do it with ka_timer. take a look please. in addition , if you want to know call is still up , check the RTP session. if there isn't Rtp session , so call is hung up. Asterisk can listen rtp packet and then in silence it can close session. have a look

Re: [SR-Users] dmq_usrloc for writing to DB on one machine

2015-10-21 Thread Sebastian Damm
Hi, I did see that REGISTERs received via DMQ are not replicated. What I was wondering is, whether registrar 1 at some point discovers registrar 2 through the DMQ pings, and then "automagically" starts replicating its packets to registrar 2, too. Best Regards, Sebastian On Tue, Oct 20, 2015 at

[SR-Users] Kamailio 4.3 and Debian 8.2 systemctl

2015-10-21 Thread Grant Bagdasarian
Hello, I've just installed Kamailio 4.3 on Debian 8.2, but starting kamailio does not work since Debian requires systemctl to be setup. I've tried the below config but it didn't work (https://github.com/kamailio/kamailio/issues/294#issuecomment-138590939) usr/local/src/kamailio# systemctl

[SR-Users] Implementation of RFC 5393

2015-10-21 Thread Guillaume
Hi guys, What do you think about the RFC 5393 on loop detection and amplification attack protection? The RFC is short and still a proposed standard but don't you think it could be useful to prevent loop and amplification attack? Because even if the max-forward field reduces the loop to ~70

Re: [SR-Users] Sending ReINVITE from Kamailio

2015-10-21 Thread Olle E. Johansson
> On 21 Oct 2015, at 09:27, ycaner wrote: > > Hello; > I think Dialog module can do it with ka_timer. take a look please. > in addition , if you want to know call is still up , check the RTP session. > if there isn't Rtp session , so call is hung up. Asterisk can

Re: [SR-Users] Sending ReINVITE from Kamailio

2015-10-21 Thread Grant Bagdasarian
Thanks for the input. I'll try the Session Timers and the ka_timer param from the dialog module. -Original Message- From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Olle E. Johansson Sent: Wednesday, October 21, 2015 9:30 AM To: Kamailio (SER) - Users Mailing