Re: [SR-Users] catching lost websocket ua

2016-02-28 Thread Daniel-Constantin Mierla
On 29/02/16 01:37, Juha Heinanen wrote: > Juha Heinanen writes: > >> If it is, may be its value could be made available to the event route in >> a pseudo variable. > Also, an index on connection_id would need to be created for location > table. there is already a connection_id in the database

[SR-Users] catching lost websocket ua

2016-02-28 Thread Juha Heinanen
Juha Heinanen writes: > If it is, may be its value could be made available to the event route in > a pseudo variable. Also, an index on connection_id would need to be created for location table. Is connection_id unique or can there be duplicates? If unique, the index could be unique too. This

[SR-Users] catching lost websocket ua

2016-02-28 Thread Juha Heinanen
I have done some more digging on websocket:closed event route. In DB_ONLY mode, easy deregistration of a websocket UA at connection close would require access in the event route to connection_id of the closed connection. The function that is run at the close has ws_connection_t argument: static

[SR-Users] LCR Commands Kamctl

2016-02-28 Thread Alberto Sagredo
I have just edited kamctl in order to make lcr commands work. Hope that helps someone. Using Kamailio 4.3.0 Please find kamctl attached also ### LCR management # lcr() *{* *case* $1 *in* show_gws) # merr "command disabled" #

Re: [SR-Users] What is the meaning of "shmized"

2016-02-28 Thread Giovanni Maruzzelli
shmized = put in shared memory ? :) On Sun, Feb 28, 2016 at 4:07 PM, sgy wrote: > Hi, > Sorry, but I just want to know the meaning of "shmized", I can't find > it in the dictionary, thank you very much. > > typedef struct _cfg_group { > int num;/*!< number

Re: [SR-Users] Help

2016-02-28 Thread SamyGo
Hi, I think the best guide closest to your description is here : http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb Here is what you need to do. (*Besides mentioning what you tried and what problems were faced*). 1 - Configure kamailio to use the DB schema where your

Re: [SR-Users] What is the meaning of "shmized"

2016-02-28 Thread sgy
Hi, Got it, thank you very much! -- Best Regards, Shengy At 2016-02-28 23:10:19, "Giovanni Maruzzelli" wrote: shmized = put in shared memory ? :) On Sun, Feb 28, 2016 at 4:09 PM, Giovanni Maruzzelli wrote: shmized = put in shared memory ?

Re: [SR-Users] What is the meaning of "shmized"

2016-02-28 Thread sgy
Hi Alex, Got it, thank you very much! -- Best Regards, Shengy At 2016-02-28 23:08:36, "Alex Balashov" wrote: >If I had to guess, it is simply a creative "verb-ing" of the word "shm", >which refers to "shared memory" (i.e. System V shared memory). > >That is to

Re: [SR-Users] What is the meaning of "shmized"

2016-02-28 Thread Giovanni Maruzzelli
shmized = put in shared memory ? :) On Sun, Feb 28, 2016 at 4:09 PM, Giovanni Maruzzelli wrote: > shmized = put in shared memory ? > > :) > > > On Sun, Feb 28, 2016 at 4:07 PM, sgy wrote: > >> Hi, >> Sorry, but I just want to know the meaning of

Re: [SR-Users] What is the meaning of "shmized"

2016-02-28 Thread Alex Balashov
If I had to guess, it is simply a creative "verb-ing" of the word "shm", which refers to "shared memory" (i.e. System V shared memory). That is to say, "shmized" would mean, here, "turned into shm" or "placed into shm". -- Alex On 02/28/2016 10:07 AM, sgy wrote: Hi, Sorry, but I just

[SR-Users] What is the meaning of "shmized"

2016-02-28 Thread sgy
Hi, Sorry, but I just want to know the meaning of "shmized", I can't find it in the dictionary, thank you very much. typedef struct _cfg_group { int num;/*!< number of variables within the group */ cfg_mapping_t *mapping; /*!< describes the mapping betweeen