This is my setup:
Kamailio -> FreeSWITCH (for voicemail)
...SIP gateway for connecting GSM
So every call is routed directly via Kamailio - between SIP clients and
in/out from the GSM space.
Testing with a cellular phone as one client and X-Lite on Mac OS X as the
other - everything works.
Testing with a cellular phone as one client and Bria on iOS as the other -
everything works except there's no sounds coming into Bria. The person on
the cellular can hear everything (sound coming from Bria), but Bria client
cannot hear sound from cellular phone.
Is it something to do with codec or could it be something else?
Hi everyone,
I am using Kamailio-4.1.5 and Kamailio-4.2.5 but with this both version I
had a problem:
Connection diagrams:
SIP client ---- SBC --- Kamailio --- MGC/MGW --- GSM/PSTN subscriber
Scenario:
- Caller (SIP) make a new call to GSM (PSTN) subscriber
- When GSM/PSTN is ringing or not ringing, Caller cancel call (Caller send
CANCEL message)
- But MGC does not send response message for CANCEL message
- After about 120s (fr_inv_timer), Kamailio send 487 Request Terminated to
SBC.
>From this time, Kamailio have memory leak (tm does not free transactions)
I reproduced this bugs 4-5 times and same problem is happen
I attached capture file and log when I show shared memory (using kamcmd
core.shmmem) and tm statistics (using kamcmd tm.stats). And time Kamailio
start memory leak is 08-30-15-10:18:53
Could you help me solve this problem?
Thank you so much!
--
---------------------------
*Bui Thi Minh Yen*
Just wanted to ask when will http://www.asipto.com/sw/kamailio-admin-book/
become available in final version? Sorry for offtop, didn't know where to
ask about that :)
--
Alexandru Covalschi
ABRISS-Solutions
VoIP engineer and system administrator
phone: +37367398493
web: http://abs-telecom.com/
Hi,
I was trying to use registered("location", "$ru", 0, 1)
Last parameter is the flag according to
http://kamailio.org/docs/modules/stable/modules/registrar.html#registrar.f.…
flag values is as follows:
1 - set xavp_rcd with value from matched contact
But I'm getting NULL instead of ruid.. While the same works after
lookup("location").
So I took a quick look into the code and that confirms that registered4
does not add the xavp with details of the record (ruid), i.e. it does
not do what the lookup_helper does.
Is this done on purpose or an oversight? While fixing this it might be
reasonable to introduce a new function for setting the XAVPs and call it
from lookup and registered4 functions, especially since we are going to
extend the attributes list beyond just ruid, but right now I'm
struggling just to understanding how the XAVP should be built.. Ideas?
Thanks,
Andrew
Hi list!
(sorry for sending first mail to wrong sub forum)
Have a following issue:
Server with Kamailio restart with wrong time (why - this is separate part of
my investigations), timeshift e.g. for 2 hours in feature.
After ntp daemon adjust correct time (move time backwards), Kamailio do not
accept REGISTERs, pv_www_authenticate answer with code -4 (nonce expired)
I've reade the description of:
http://kamailio.org/docs/modules/4.2.x/modules/auth.html#auth.p.nonce_expire
and
http://kamailio.org/docs/modules/4.2.x/modules/auth.html#auth.p.nonce_auth_…
This descriptions mention situation with backwards timeshift from future.
As I understand, Kamailio do not authorise the registration, whose nonces
where generated in future (before ntp shifted the time). But in my tests,
Kamailio do not accept even REGISTER from UA, sent after time shift (with
new nonces, that as I expected has to use correct time for nonce generation,
and be authorised with no problem).
Only Kamailio process restart help to cope with the issue.
It looks like for nonce generating Kamailio use old time (in feature, that
was before timeshift).
I wander, does the Kamailio behave in described case - as is expected? If I
am wrong in some of my assumptions, please point out.
version: kamailio 4.2.5
Thank in advance!
Cheers!
--
View this message in context: http://sip-router.1086192.n5.nabble.com/during-registration-nonce-expired-a…
Sent from the Users mailing list archive at Nabble.com.
[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.
==========================================
I've added a custom column in my subscriber table in MySQL - called
country_code.
This contains +44 etc. for subscribers.
Is it possible to, if a subscriber has not entered either + or 00, to
append the value from country_code of the specific subscriber to the
dialled number?
And if the user has dialled 00, to replace it with +.
Hi All,
We are trying to make 10000 tls connection with Kamailio server for SIP
signaling.When I try beyond 6500 TLS connection then TLS handshake is
failing.We are running the kamailio by using below command
- kamailio -f kamailio.cfg -N 40 -m 1024 -M 16
NOTE: In kamailio.cfg, we have mentioned tls_max_connections=60000
Could you please guide me, how can I improve the tls connections with
kamailio ?
Thanks
Priyaranjan