Dear all,
Kamailio was crashed and I got syslog file, but I don't understand what was
happened with this error?
Aug 9 16:27:33 Kamailio /usr/sbin/kamailio[32414]: WARNING: tm
[t_lookup.c:1559]: WARNING: script writer didn't release transaction
Aug 9 16:27:33 Kamailio /usr/sbin/kamailio[32418]: NOTICE: <script>: Set
NAT Transaction Flag REGISTER from sip:1008@10.84.8.55
(IP:203.160.19.30:58493) to sip:1008@10.84.8.55 in route[NATDETECT]
Aug 9 16:27:33 Kamailio /usr/sbin/kamailio[32418]: INFO: <script>:
Unregister user [sip:1008@10.84.8.55]
Aug 9 16:27:33 Kamailio /usr/sbin/kamailio[32404]: INFO: <script>:
Unregister user [sip:1008@10.84.8.55]
Aug 9 16:27:34 Kamailio /usr/sbin/kamailio[32403]: NOTICE: <script>: Set
NAT Transaction Flag REGISTER from sip:1004@10.84.8.55
(IP:203.187.4.6:12344) to sip:1004@10.84.8.55 in route[NATDETECT]
Aug 9 16:27:34 Kamailio /usr/sbin/kamailio[32403]: INFO: <script>:
Unregister user [sip:1004@10.84.8.55]
Aug 9 16:27:34 Kamailio /usr/sbin/kamailio[32392]: NOTICE: <script>: Set
NAT Transaction Flag REGISTER from sip:1004@10.84.8.55
(IP:203.187.4.6:12344) to sip:1004@10.84.8.55 in route[NATDETECT]
Aug 9 16:27:35 Kamailio /usr/sbin/kamailio[32419]: NOTICE: <script>: Set
NAT Transaction Flag REGISTER from sip:1008@10.84.8.55
(IP:203.160.19.30:58493) to sip:1008@10.84.8.55 in route[NATDETECT]
Aug 9 16:27:35 Kamailio /usr/sbin/kamailio[32390]: NOTICE: <script>: Set
NAT Transaction Flag REGISTER from sip:1004@10.84.8.55
(IP:203.187.4.6:12344) to sip:1004@10.84.8.55 in route[NATDETECT]
Aug 9 16:27:35 Kamailio kernel: [75478.500981] kamailio[32395] general
protection ip:7f9fbd41089d sp:7fffde4e5620 error:0 in
tm.so[7f9fbd3d5000+8e000]
Aug 9 16:27:35 Kamailio /usr/sbin/kamailio[32406]: NOTICE: <script>: Set
NAT Transaction Flag REGISTER from sip:1004@10.84.8.55
(IP:203.187.4.6:17209) to sip:1004@10.84.8.55 in route[NATDETECT]
Aug 9 16:27:35 Kamailio /usr/sbin/kamailio[32446]: : <core>
[pass_fd.c:293]: ERROR: receive_fd: EOF on 19
Aug 9 16:27:35 Kamailio /usr/sbin/kamailio[32387]: ALERT: <core>
[main.c:788]: child process 32395 exited by a signal 11
Aug 9 16:27:35 Kamailio /usr/sbin/kamailio[32387]: ALERT: <core>
[main.c:791]: core was generated
Aug 9 16:27:35 Kamailio /usr/sbin/kamailio[32446]: : <core>
[pass_fd.c:293]: ERROR: receive_fd: EOF on 19
Aug 9 16:27:35 Kamailio /usr/sbin/kamailio[32387]: ALERT: <core>
[main.c:788]: child process 32395 exited by a signal 11
Aug 9 16:27:35 Kamailio /usr/sbin/kamailio[32387]: ALERT: <core>
[main.c:791]: core was generated
Aug 9 16:27:35 Kamailio /usr/sbin/kamailio[32387]: INFO: <core>
[main.c:803]: INFO: terminating due to SIGCHLD
Aug 9 16:27:35 Kamailio kernel: [75478.963781] kamailio[32387] general
protection ip:7f9fbd3ede22 sp:7fffde4e5c90 error:0 in
tm.so[7f9fbd3d5000+8e000]
Best Regards,
Nguyen Anh Tuan
Network solution engineer
Hello,
I am considering to package soon a new version out of branch 3.3. If
anyone has spotted fixes that should be backported to that branch, reply
here. I'm not sure yet of an exact date, but should be rather soon,
being just a patch update.
A new release out of branch 4.0 will be done short after this one.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hi All,
I am looking for softphone which supports profile-sharing using xcap. Please
let me know if there is any softphone available.
Regards,
Prem Chandiran M
Hello,
Is it possible to generate a UUID inside the kamailio script? Is there a module available which does this already or do I need to call something external from the script?
Regards,
Grant
Carsten Bock wrote:
currently mediaproxy-ng only does timeout notifications only towards a
SEMS-SBC, not towards Kamailio. :-(
what role does mediaproxy-ng play in sems sbc installation? is
mediaproxy-ng used because sems does not support RTP/SAVPF or are there
some other use cases as well?
-- juha
I have Kamailio on OpenSUSE with static real Public IP (WAN), for ex.
1.1.1.1. I have LAN IP 2.2.2.2. Asterisk as KVM virtual machine with LAN IP
2.2.2.101 and default GW not the SuSe (2.2.2.2), but 2.2.2.1 pfsense LAN
with PUB IP 1.1.1.2) I am configured Registration of UA on Kamailio DB, and
on Asterisk side create a static peers with Kamailio LAN ip (host=2.2.2.2).
RTP Proxy question.
/usr/sbin/rtpproxy -u daemon -l 1.1.1.1 -s udp:127.0.0.1 12221
.... kamailio.cfg ...
# RTPProxy control
route[NATMANAGE] {
#!ifdef WITH_NAT
if (is_request()) {
if(has_totag()) {
if(check_route_param("nat=yes")) {
setbflag(FLB_NATB);
}
}
}
if (!(isflagset(FLT_NATS) || isbflagset(FLB_NATB)))
return;
rtpproxy_manage();
if (is_request()) {
if (!has_totag()) {
add_rr_param(";nat=yes");
}
}
if (is_reply()) {
if(isbflagset(FLB_NATB)) {
fix_nated_contact();
}
}
#!endif
return;
}
Testing call:
Whe User 1-100 calling User 1-101, on Asterisk side I see:
-- Called SIP/1-100(a)sip1.somedomain.com.ua
-- SIP/sip1.somedomain.com.ua-000004cf is ringing
-- SIP/sip1.somedomain.com.ua-000004cf answered SIP/1-101-000004ce
> 0x15bc370 -- Probation passed - setting RTP source address to
1.1.1.1:50868
> 0x7f2b6044bd10 -- Probation passed - setting RTP source address to
1.1.1.1:35082
Got RTP packet from 1.1.1.1:50868 (type 00, seq 027109, ts 000160, len
000160)
Sent RTP packet to 1.1.1.1:35082 (type 00, seq 037469, ts 000160, len
000160)
Got RTP packet from 1.1.1.1:50868 (type 00, seq 027110, ts 000320, len
000160)
Sent RTP packet to 1.1.1.1:35082 (type 00, seq 037470, ts 000320, len
000160)
Got RTP packet from 1.1.1.1:50868 (type 00, seq 027111, ts 000480, len
000160)
Sent RTP packet to 1.1.1.1:35082 (type 00, seq 037471, ts 000480, len
000160)
Got RTP packet from 1.1.1.1:50868 (type 00, seq 027112, ts 000640, len
000160)
Sent RTP packet to 1.1.1.1:35082 (type 00, seq 037472, ts 000640, len
000160)
Voice transfers OK.
But why not Kamailio LAN ip I receiving on the Asterisk side with the same
LAN?
And Kamailio log grep:
skynet:~ # tail -f /var/log/messages | grep rtpproxy
2013-08-05T19:18:17.508760+03:00 skynet kamailio[25462]: 3(25481) DEBUG:
rtpproxy [rtpproxy_funcs.c:148]: check_content_type(): type
<application/sdp> found valid
2013-08-05T19:18:17.508875+03:00 skynet kamailio[25462]: 3(25481) DEBUG:
rtpproxy [rtpproxy.c:2624]: force_rtp_proxy(): proxy reply: 63566 1.1.1.1
2013-08-05T19:18:17.530765+03:00 skynet kamailio[25462]: 6(25484) DEBUG:
rtpproxy [rtpproxy_funcs.c:148]: check_content_type(): type
<application/sdp> found valid
2013-08-05T19:18:17.530876+03:00 skynet kamailio[25462]: 6(25484) DEBUG:
rtpproxy [rtpproxy.c:2624]: force_rtp_proxy(): proxy reply: 41958 1.1.1.1
2013-08-05T19:18:18.625815+03:00 skynet kamailio[25462]: 4(25482) DEBUG:
rtpproxy [rtpproxy_funcs.c:148]: check_content_type(): type
<application/sdp> found valid
2013-08-05T19:18:18.627131+03:00 skynet kamailio[25462]: 4(25482) DEBUG:
rtpproxy [rtpproxy.c:2624]: force_rtp_proxy(): proxy reply: 39876 1.1.1.1
2013-08-05T19:18:18.632649+03:00 skynet kamailio[25462]: a=nortpproxy:yes
2013-08-05T19:18:18.648075+03:00 skynet kamailio[25462]: 6(25484) DEBUG:
rtpproxy [rtpproxy_funcs.c:148]: check_content_type(): type
<application/sdp> found valid
2013-08-05T19:18:18.649615+03:00 skynet kamailio[25462]: 6(25484) DEBUG:
rtpproxy [rtpproxy.c:2624]: force_rtp_proxy(): proxy reply: 43500 1.1.1.1
2013-08-05T19:18:18.653948+03:00 skynet kamailio[25462]: a=nortpproxy:yes
2013-08-05T19:18:18.688603+03:00 skynet kamailio[25462]: 4(25482) DEBUG:
rtpproxy [rtpproxy_funcs.c:148]: check_content_type(): type
<application/sdp> found valid
2013-08-05T19:18:18.689762+03:00 skynet kamailio[25462]: 4(25482) DEBUG:
rtpproxy [rtpproxy.c:2624]: force_rtp_proxy(): proxy reply: 63566 1.1.1.1
2013-08-05T19:18:18.701062+03:00 skynet kamailio[25462]: 6(25484) DEBUG:
rtpproxy [rtpproxy_funcs.c:148]: check_content_type(): type
<application/sdp> found valid
2013-08-05T19:18:18.701405+03:00 skynet kamailio[25462]: 6(25484) DEBUG:
rtpproxy [rtpproxy.c:2624]: force_rtp_proxy(): proxy reply: 43500 1.1.1.1
2013-08-05T19:18:18.705506+03:00 skynet kamailio[25462]: a=nortpproxy:yes
My goal is using Asterisk boxes behind Kamailio with the same LAN or even
OpeVPN Lan2Lan, with Public IP on Kamailio WAN for users registration and
RTP routing. So is strange to my, why RTPproxy not rewrite source of RTP
traffic from PUBLIC Kamailio IP to LAN Kamailio IP when user A calls B via
Asterisk?
Hello,
Consider the following Kamailio script:
route {
....
route(DISPATCH);
route(RELAY);
}
route[DISPATCH] {
ds_select_domain("1", "8");
return;
}
Dispatcher Table
SetID
Destination
1
192.168.1.10
1
192.168.1.11
Algorithm 8 uses the first destination, but if it's not available, it uses the next one.
Does the ds_select_domain function send the SIP request to the first destination or is it the responsibility of the RELAY route to do this? I believe it's the latter, according to the documentation.
Assuming the above (message is relayed in the RELAY route).
When Kamailio can't reach the first destination, how does it internally handle the failover? Because once the SIP request has been relayed to the host, the script doesn't have any instructions anymore.