Hi,
I am facing issue with reginfo handling in kamailio, I am getting proper
notify when user is registered and deregistered properly.
But i am not getting same when user's registration is expired[with out
refresh/ when entry is removed from location], Can anyone suggest me how
can i achieve this.
I am using 4.3.1 kamailio
Regards,
Raman
Hello everyone!
I am new to the VOIP world and currently researching a solution to
upgrading or migrating from an antiquated openser sip server to kamailio.
Has anyone ever had to do this?
If so:
What challenges should I expect to face?
Warmest regards,
Matt
Hi
A few says ago I registered an account user name 08031955. However
I have been unable to connect using 2 different SIP phones.
Can you please check if this account is active yet.
Can you advise if my user name has to include ....(a)iptel.org on the end
of it?
many thanks
Graham Rendell
(A continuation on an old thread)
In the RFC 3680 it is described how a UE can subscribe to its own registration state(s). As soon as it's own registration state changes in any way - like a refresch registration - a NOTIFY is send to the subscribing terminal.
What made me hopeful was when I in the Overview's use case section for the module pua_reginfo read the line:
"A client could subscribe to it's own registration-status, so he would get notified as soon as his account gets administratively unregistered."
That's in line with how I would like to use it - Is it in any way possible to achieve that in the Kamailio?
/Stefan
From: Stefan Ljung
Sent: den 18 februari 2015 09:32
To: miconda(a)gmail.com
Subject: RE: [SR-Users] Event reg - questions
>From the pua_regInfo module description:
Use cases for this might be:
Keeping different Servers in Sync regarding the location database
Get notified, when a user registers: A presence-server, which handles offline message storage for an account, would get notified, when the user comes online.
A client could subscribe to it's own registration-status, so he would get notified as soon as his account gets administratively unregistered.
...
So it's the last line I want to deploy. Maybe Im over-interpreting "A client could subscribe to it's own registration-status"
I want to be able to simulate (As close a possible) a VoLTE clients reg events handling. Only the part between to and from the UE.
So no PUBLISH is needed - Kamailio needs to notify the UE about its registration status.
/Stefan
From: Daniel-Constantin Mierla [mailto:miconda@gmail.com]
Sent: den 16 februari 2015 17:43
To: Kamailio (SER) - Users Mailing List; Stefan Ljung
Subject: Re: [SR-Users] Event reg - questions
Hello,
afaik, the pua_reginfo is for publishing details of location records to another sip server node, main purpose being location replication. I don't think it is something for an end UA.
If you want publishing online/offline states for an user based on its registration state, look at pua_usrloc module.
On 12/02/15 15:17, Stefan Ljung wrote:
I made a test configuration for trying the pua_regEvent module.
There were two things I want to ask about.
First - when the SUBSCRIBE to event 'reg' following a UEs registration to the Kamailio is responded with a NOTIFY - there was no body in the NOTIFY. I expected a XML body with registration status.
Second - When the UE re-registers to Kamailio - I expected a NOTIFY to be send on the existing 'reg' subscription, but nothing happened.
Or am I missing some configuration ?
Here's some of the conf script:
[..]
modparam("pua_reginfo", "publish_reginfo", 0)
Btw, with the above parameter value, the module is no longer sending PUBLISH requests, in other words, it is not informing the other peers that there is some update to location records.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
Hi,
I am trying to add PSTN gw for terminating my calls. I have changed
the IP in the kamailio.cfg file, but this provider wants digest auth
and so I need to pass api/pass to them. Can somebody guide me how and
where to add the username+pass to the config file.
thanks
regards
Ganesh Kuamr
Hello,
the first frames of the backtrace don't have the symbol table, do have
other core files from where you can extract the bt full?
Also, 4.2.3 is old in its series, newer versions in branch 4.2 were
released. Can you update the latest version in branch 4.2 and reproduce
again? That will rule out is not a side effect of an issue fixed after
4.2.3. You don't need to change anything in config or database, just
grab the latest sources from branch 4.3 and install over the old binaries.
Cheers,
Daniel
On 08/09/15 07:58, Jack Wang wrote:
> Hi,
>
> The result of 'kamailio -v' is:
>
> version: kamailio 4.2.3 (arm/linux) 87ca6e-dirty
> flags: STATS: Off, EXTRA_DEBUG, USE_TCP, USE_TLS, TLS_HOOKS,
> USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM,
> SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX,
> USE_PTHREAD_MUTEX, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR,
> USE_DST_BLACKLIST, HAVE_RESOLV_RES
> MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024,
> BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> id: 87ca6e -dirty
> compiled on 16:15:00 Sep 4 2015 with arm-marvell-linux-gnueabi-gcc
>
>
> It can be reproduced not only once, steps like wrote before.
>
> Following link is the result of `bt full` from the core file generated:
>
> https://gist.github.com/BroWater/dd759897f4b88672720a#file-gistfile1-txt
>
> FYI
>
>
>
> >Hello,
> >
> >can you give the exact version: kamailio -v?
> >
> >Also, the log message indicates that a core file was generated, sent the
> >backtrace taken from gdb:
> >
> >gdb /path/to/kamailio /path/to/corefile
> >bt full
> >
> >Could you reproduce the issue, or did it happen only once?
> >
> >Cheers,
> >Daniel
> >
> >On 03/09/15 04:50, Jack Wang wrote:
> >>
> >> [Steps]
> >>
> >> 1. one MCU call multi-endpoints
> >> 2. MCU hangup all endpoints
> >>
> >> repeatedly. And all through Kamailio proxy.
> >>
> >> [Results]
> >>
> >> For a while, Kamailio crashed.
> >>
> >> Followings are related logs:
> >>
> >>
> >> ==========================================
> >>
> >> Sep 2 19:08:34 ./kamailio[3712]: : tm [t_fwd.c:1632]:
> >> t_send_branch(): BUG: t_send_branch: retr. already started for
> 0x41848fa0
> >> Sep 2 19:08:34 ./kamailio[3712]: ERROR: sl [sl_funcs.c:387]:
> >> sl_reply_error(): ERROR: sl_reply_error used: Unfortunately error on
> >> sending to next hop occurred (477/SL)
> >>
> >> At this point the related behavior is that Kamailio received two INFO
> >> requests simultaneously. I wonder whether this is the cause.
> >> And maybe it's related to the later crash?
> >>
> >> Sep 2 19:08:35 ./kamailio[3713]: CRITICAL: <core> [pass_fd.c:293]:
> >> receive_fd(): EOF on 11
> >> Sep 2 19:08:35 ./kamailio[3703]: ALERT: <core> [main.c:784]:
> >> handle_sigs(): child process 3704 exited by a signal 11
> >> Sep 2 19:08:35 ./kamailio[3703]: ALERT: <core> [main.c:787]:
> >> handle_sigs(): core was generated
> >> Sep 2 19:08:35 ./kamailio[3703]: : <core> [mem/f_malloc.c:586]:
> >> fm_free(): BUG: fm_free: bad pointer 0x7239b6c4 (out of memory
> >> block!), called from tm: h_table.c: free_cell(157) - aborting
> >>
> >>
> >> Any suggestions?
> >>
> >> Thanks.
> >>
> >> ==========================================
> >>
> >>
> >> _______________________________________________
> >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> >> sr-users at lists.sip-router.org <http://lists.sip-router.org>
> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - http://asipto.com/u/kat
>Hello
>
>
>On 24/09/15 11:06, Никитенко Виталий wrote:
>> Hi!
>> I have kamailio-4.2.3. And in table dialplan there is 2 500 000 rows. When i started kamailio i see error
>>
>> ERROR: dialplan [dp_repl.c:74]: repl_exp_parse(): out of shm memory
>> ERROR: dialplan [dp_db.c:393]: build_rule(): failed to compile replacing expression
>> ERROR: dialplan [dp_db.c:111]: init_db_data(): failed to load database data
>> ERROR: dialplan [dialplan.c:188]: mod_init(): could not initialize data
>> ERROR: <core> [sr_module.c:968]: init_mod(): Error while initializing module dialplan (/usr/local/lib64/kamailio/modules/dialplan.so)
>>
>> then i set modparam("dialplan", "fetch_rows", 2500000) and started kamailio i see
>>
>> ERROR: db_mysql [km_dbase.c:422]: db_mysql_fetch_result(): no memory left
>> ERROR: dialplan [dp_db.c:231]: dp_load_db(): failed to fetch
>> ERROR: dialplan [dp_db.c:111]: init_db_data(): failed to load database data
>> ERROR: dialplan [dialplan.c:188]: mod_init(): could not initialize data
>> ERROR: <core> [sr_module.c:968]: init_mod(): Error while initializing module dialplan (/usr/local/lib64/kamailio/modules/dialplan.so)
>>
>> Please say me how i can load to memory 2500000 rows dialplan?
>/usr/local/kamailio/sbin/kamailio -h | grep '\-[mM]'
> -m nr Size of shared memory allocated in Megabytes
> -M nr Size of private memory allocated, in Megabytes
>
>In you particular case, you need more shared memory (-M).
>
>Regards
Thanks, it works!
Hi!
I have kamailio-4.2.3. And in table dialplan there is 2 500 000 rows. When i started kamailio i see error
ERROR: dialplan [dp_repl.c:74]: repl_exp_parse(): out of shm memory
ERROR: dialplan [dp_db.c:393]: build_rule(): failed to compile replacing expression
ERROR: dialplan [dp_db.c:111]: init_db_data(): failed to load database data
ERROR: dialplan [dialplan.c:188]: mod_init(): could not initialize data
ERROR: <core> [sr_module.c:968]: init_mod(): Error while initializing module dialplan (/usr/local/lib64/kamailio/modules/dialplan.so)
then i set modparam("dialplan", "fetch_rows", 2500000) and started kamailio i see
ERROR: db_mysql [km_dbase.c:422]: db_mysql_fetch_result(): no memory left
ERROR: dialplan [dp_db.c:231]: dp_load_db(): failed to fetch
ERROR: dialplan [dp_db.c:111]: init_db_data(): failed to load database data
ERROR: dialplan [dialplan.c:188]: mod_init(): could not initialize data
ERROR: <core> [sr_module.c:968]: init_mod(): Error while initializing module dialplan (/usr/local/lib64/kamailio/modules/dialplan.so)
Please say me how i can load to memory 2500000 rows dialplan?
Hello
I am trying to use JSONRPC-S Kamailio module to request for example the
content of the location table. More generally, i would like to send RPC
commands to my kamailio server using http request.
For the moment, kamailio server always returns "400 bad request: corrupted
packet".
To send my request, i use curl. For example:
curl --header 'Content-Type: application/json' --data-binary "{"id": 1,
"jsonrpc": "2.0", "method": "ul.dump" }" http://XXX.XXX.XXX.XXX/RPC/
Is there specific syntax to respect?
Kamailio server version is 4.3.2.
Thank you in advance.
Loic BOISSY
--
Visit Digigram at IBC2015 at Stand 8.C51, Sept. 11-15 in Amsterdam
Register here <http://www.ibc.org/page.cfm/link=478> for your *FREE* pass
with Digigram's Exhibitor Customer Code *4462*