Hello Everyone,
I would like to know, if i can use ELB and route53 behind some
Kamailio servers for the high availibility ?
I use Kamailio behind Freeswitch. I would like deploy these servers on AWS.
What do you suggest me for the high availibility on AWS with Kamailio.
Thanks
Best regards
Yann
Hello list,
I need to send to an external API events when user is registrated and
de-registrated.
As far as I understand standart behaviour is as follows:
If user is not registered, he sends REGISTER and he is registrated (I can
catch that because I make the auth).
If user is registered and sends REGISTER he is de-register.
(Please correct me if I'm wrong.)
How can I catch that?
Can I use event_route[usrloc:contact-expired]?
Thanks in advance!
--
Alexandru Covalschi
ABRISS-Solutions
VoIP engineer and system administrator
tel: +37367398493
web: http://abriss.solutions/ <http://abs-telecom.com/>
Hi. Im using kamailio 4.4.1
kamailio -v
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS,
DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC,
Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX,
FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR,
USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, 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: 99e1c3
compiled on 13:34:38 Jun 14 2016 with gcc 4.9.2
I using uacreg table for register trunks and want to know their status
For now i see status onlu from
kamcmd uac.reg_dump/info
But if i trying to take flags from uacreg table (flags field) it always 0.
Hi,
Will the dialog timeout - and specifically, $dlg_ctx(timeout_bye) - also
apply to dialogs which have not yet been established?
If so, does that mean the dialog module will send a CANCEL instead for a
dialog in an early/progress state?
--
Alex Balashov | Principal | Evariste Systems LLC
1447 Peachtree Street NE, Suite 700
Atlanta, GA 30309
United States
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
Hi there,
We use kamailio 4.3.3. And we have one problem with the fax. We send and
receive from and to our network, the fax does not work. Fax reports "other
fax not responding". When we send through our network to another operator
they receive fax.
What could be wrong?
Hi there.
In our network we used several ONT Huawei models. But with one model
HUAWEI-EchoLife HG8245 / V1R003C00S205 we have the following problem. When
connecting to this device in the POTS ports of the two phones. From the
first port we can not call to the second and from the second port can not
call to the first port. On the other ONT Huawei devices, there is no such
problem. Earlier we had set OpenSIP and this device did not have a problem.
The problem is likely in the configuration because it works at the default
settings.
kamailio -v
Version: kamailio 4.3.3 (x86_64/linux) f69971
/var/log/kamailio
May 17 10:53:21 kamailio /usr/local/sbin/kamailio[17875]: INFO: <script>:
Callee '123456' is local - M=INVITE RURI=sip:123456@10.10.10.200 F=
sip:654321@10.10.10.200 T=sip:123456@10.10.10.200 IP=10.14.197.13
5 ID=lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
May 17 10:53:21 kamailio /usr/local/sbin/kamailio[17875]: INFO: <script>:
Call control: dst user '123456' currently has [0/2] active calls - M=INVITE
RURI=sip:123456@10.10.10.200 F=sip:654321@10.10.10.200 T=si
p:123456@10.10.10.200 IP=10.10.10.100 ID=
lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
May 17 10:53:21 kamailio /usr/local/sbin/kamailio[17875]: INFO: <script>:
Normalize source: sip:654321@10.10.10.200 -> sip:654321@10.10.10.200
May 17 10:53:21 kamailio /usr/local/sbin/kamailio[17875]: INFO: <script>:
Request leaving server - M=INVITE
RURI=sip:123456@10.10.10.100:5060;transport=udp
F=sip:654321@10.10.10.200 T=sip:123456@178.168.4.
37 IP=10.10.10.100 ID=lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
May 17 10:53:22 kamailio /usr/local/sbin/kamailio[17873]: INFO: <script>:
Reply - S=100 D=Trying F=sip:654321@10.10.10.200 T=sip:123456@10.10.10.200
IP=10.10.10.100 ID=lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.1
4.197.135
May 17 10:53:22 kamailio /usr/local/sbin/kamailio[17861]: INFO: <script>:
Reply - S=481 D=Call/Transaction Does Not Exist F=sip:654321@10.10.10.200 T=
sip:123456@10.10.10.200 IP=10.10.10.100 ID=
lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
sngrep
2016/05/17 10:53:21.514702 10.10.10.100:5060 -> 10.10.10.200:5060
INVITE sip:123456@10.10.10.200 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bKz4j0izm0i8jcn2pmlkm4c24cz
Route: <sip:10.10.10.200:5060;transport=udp;lr>
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: <sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>
CSeq: 1 INVITE
Contact: <sip:654321@10.10.10.100:5060;transport=udp>
Supported: 100rel,replaces,timer,privacy,in-dialog
Session-Expires: 1800
Accept: application/sdp,application/simservs+xml
Min-SE: 90
Accept-Encoding: identity
Accept-Language: en
Allow:
INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
Max-Forwards: 70
User-Agent: HUAWEI-EchoLife HG8245/V1R003C00S205
Session-ID: 20zlkckj1kz4ll1i1ic2pl1csk80kli1
Content-Length: 318
Content-Type: application/sdp
2016/05/17 10:53:21.590008 10.10.10.100:5060 -> 10.10.10.200:5060
INVITE sip:123456@10.10.10.200 SIP/2.0
Via: SIP/2.0/UDP 10.10.10.100:5060;branch=z9hG4bK0lz4ll1ikm1k02p20lz4ll1il
Route: <sip:10.10.10.200:5060;transport=udp;lr>
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: <sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>
CSeq: 2 INVITE
Contact: <sip:654321@10.10.10.100:5060;transport=udp>
Supported: 100rel,replaces,timer,privacy,in-dialog
Session-Expires: 1800
Accept: application/sdp,application/simservs+xml
Min-SE: 90
Proxy-Authorization: Digest
username="654321",realm="10.10.10.200",nonce="VzrPHVc6zfEYftiGlJYC9XLb4ixCZtQB",uri="
sip:123456@10.10.10.200
",response="55e03b278f1cbdda52852004bbc8d7c9",algorithm=MD5,cnonce="0f31d
b",qop=auth,nc=00000006
Accept-Encoding: identity
Accept-Language: en
Allow:
INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
Max-Forwards: 70
User-Agent: HUAWEI-EchoLife HG8245/V1R003C00S205
Session-ID: 20zlkckj1kz4ll1i1ic2pl1csk80kli1
Content-Length: 318
Content-Type: application/sdp
2016/05/17 10:53:21.642831 10.10.10.200:5060 -> 10.10.10.100:5060
INVITE sip:123456@10.10.10.100:5060;transport=udp SIP/2.0
Record-Route:
<sip:10.10.10.200;lr=on;ftag=pk4nzz3j;nat=yes;did=925.a5a1;vst=AAAAAAkLCwgLCnEDBHgfBg4WHwIWHQMuMzc-;vsf=AAAAAAkLAwgLAnEDBHgfBg4WHwIWHQMuMzc->
Via: SIP/2.0/UDP
10.10.10.200;branch=z9hG4bKd55d.f4d5d1ee3d090fe847af101d0a47ac5e.0
Via: SIP/2.0/UDP
10.10.10.100:5060;rport=5060;branch=z9hG4bK0lz4ll1ikm1k02p20lz4ll1il
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: "654321" <sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>
CSeq: 2 INVITE
Contact: <sip:654321@10.10.10.100:5060;transport=udp>
Supported: 100rel,replaces,timer,privacy,in-dialog
Session-Expires: 1800
Accept: application/sdp,application/simservs+xml
Min-SE: 90
Accept-Encoding: identity
Accept-Language: en
Allow:
INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
Max-Forwards: 69
User-Agent: HUAWEI-EchoLife HG8245/V1R003C00S205
Content-Length: 334
Content-Type: application/sdp
P-Asserted-Identity: <sip:654321@10.10.10.200>
2016/05/17 10:53:22.121872 10.10.10.200:5060 -> 10.10.10.100:5060
INVITE sip:123456@10.10.10.100:5060;transport=udp SIP/2.0
Record-Route:
<sip:10.10.10.200;lr=on;ftag=pk4nzz3j;nat=yes;did=925.a5a1;vst=AAAAAAkLCwgLCnEDBHgfBg4WHwIWHQMuMzc-;vsf=AAAAAAkLAwgLAnEDBHgfBg4WHwIWHQMuMzc->
Via: SIP/2.0/UDP
10.10.10.200;branch=z9hG4bKd55d.f4d5d1ee3d090fe847af101d0a47ac5e.0
Via: SIP/2.0/UDP
10.10.10.100:5060;rport=5060;branch=z9hG4bK0lz4ll1ikm1k02p20lz4ll1il
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: "654321" <sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>
CSeq: 2 INVITE
Contact: <sip:654321@10.10.10.100:5060;transport=udp>
Supported: 100rel,replaces,timer,privacy,in-dialog
Session-Expires: 1800
Accept: application/sdp,application/simservs+xml
Min-SE: 90
Accept-Encoding: identity
Accept-Language: en
Allow:
INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,PRACK,SUBSCRIBE,NOTIFY,UPDATE,MESSAGE,REFER
Max-Forwards: 69
User-Agent: HUAWEI-EchoLife HG8245/V1R003C00S205
Content-Length: 334
Content-Type: application/sdp
P-Asserted-Identity: <sip:654321@10.10.10.200>
2016/05/17 10:53:22.996850 10.10.10.100:5060 -> 10.10.10.200:5060
SIP/2.0 481 Call/Transaction Does Not Exist
Via: SIP/2.0/UDP
10.10.10.200;branch=z9hG4bKd55d.f4d5d1ee3d090fe847af101d0a47ac5e.0,SIP/2.0/UDP
10.10.10.100:5060;branch=z9hG4bK0lz4ll1ikm1k02p20lz4ll1il;rport=5060
Call-ID: lps4s2204mz4ll1i4mz4ll1ici0lc81i(a)10.10.10.100
From: "654321"<sip:654321@10.10.10.200>;tag=pk4nzz3j
To: <sip:123456@10.10.10.200>;tag=m2scp1cm
CSeq: 2 INVITE
Warning: 399 10.10.10.100 "SS100006F143L3557[05552] No Dialog match"
User-Agent: HUAWEI-EchoLife HG8245/V1R003C00S205
Content-Length: 0
Hello!
Kamailio process has stopped.
Anyone else has happened?
Versión: 4.4
This is what I have in the logs.
kamailio.log:
2016-06-23T10:10:33.983494+02:00 kam01 /usr/sbin/kamailio[2907]: NOTICE:
dialog [dlg_hash.c:245]: dlg_clean_run(): dialog in delete state is too old
(0x7f092e15b190 ref 3)
2016-06-23T10:10:34.005015+02:00 kam01 /usr/sbin/kamailio[2897]: WARNING:
dialog [dlg_handlers.c:1348]: dlg_onroute(): inconsitent dlg timer data on
dlg 0x7f092e15b190 [3554:5262] with clid 'L, OPTIONS, BYE, REFER,
SUBSCRIBE, NOTIFY, INFO, PU' and tags 'as6b8e8af9' 'as25960d84'
2016-06-23T10:10:34.007989+02:00 kam01 /usr/sbin/kamailio[2913]: CRITICAL:
<core> [pass_fd.c:275]: receive_fd(): EOF on 17
2016-06-23T10:10:34.008119+02:00 kam01 /usr/sbin/kamailio[2823]: ALERT:
<core> [main.c:739]: handle_sigs(): child process 2897 exited by a signal
11
2016-06-23T10:10:34.008128+02:00 kam01 /usr/sbin/kamailio[2823]: ALERT:
<core> [main.c:742]: handle_sigs(): core was not generated
kern.log:
[363406.951756] kamailio[2897] general protection ip:7f092c9413a5
sp:7ffdd1065530 error:0 in dialog.so
--
Emilio Soler Muñoz
<emiliosoler(a)gmail.com>