Hi,
We're currently using Kamailio 4.4.1 with RTPENGINE and one of our clients is sending an INVITE with two c params in the SDP, one in the Session Description, one in the Media Description.
When Kamailio contacts RTPENGINE to request a port, only the IP (c param) in the Media Description is changed.
The next hop, which is a Freeswitch, in turn sends the RTP stream to the IP in the Session Description.
Has anyone experienced this behavior? Is it possible to change both IP (c param) in the Session and Media Description?
Regards,
Grant
Hi guys,
Maybe someone can share a quick tip how we can fix this issue?
/usr/local/sbin/kamailio[24268]: ERROR: db_mysql [km_dbase.c:128]:
db_mysql_submit_query(): driver error on query: Table 'sip_trace' was not
locked with LOCK TABLES (1100)
/usr/local/sbin/kamailio[24268]: ERROR: <core> [db_query.c:235]:
db_do_insert_cmd(): error while submitting query
/usr/local/sbin/kamailio[24268]: ERROR: siptrace [siptrace.c:859]:
sip_trace_store_db(): error storing trace
Kamailio 4.4.0 installed from git. Database created with kamdbctl.
Thanks!
--
Regards,
Arsen Semionov
cell: +442035198881
I have an SDP rewrite and it is adding a duplicate IP to the connection address.
c=IN IP4 WWW.XXX.YY.ZZWWW.XXX.YY.ZZ
route[TOFUSIONPBX] { route(DISPATCH); #Set the reply to handle sdp rewrite xlog("L_INFO","route[TOFUSIONPBX]: Inside the TOFUSIONPBX"); #t_relay(); route(RELAY); exit; }
route[CHANGE_SDP] { xlog("L_INFO","In the CHANGE_SDP Route"); if (has_body("application/sdp") ) { xlog("L_INFO","On reply from the FUSIONPBX, which changes the SDP"); if (route(FROMFUSIONPBX)) { fix_nated_sdp("2","LOAD_BALANCER_PUBLIC_ADDRESS"); } } }
Cool.
---
Stefan
On Jun 1, 2017 10:46 PM, "gerry kernan" <gerry.kernan(a)infinityit.ie> wrote:
Thanks Stefan
That's sorted my issue
Gerry
Sent from my iPhone
On 1 Jun 2017, at 09:25, Mititelu Stefan <stefan.mititelu92(a)gmail.com>
wrote:
Hi gerry,
1. The rtpengine is running on the same machine as kamailio? (From
--interface=192.X.X.148!X.X.X.X , I guess so..)
2. Can you paste the rtpengine_offer/rtpengine_answer you are using in
Kamailio config?
I remember trying this approach which worked for me:
- set interface = external/192.X.X.148!X.X.X.X;internal/192.X.X.148
- use rtpengine_manage() in Kamailio config with "direction=external
direction=internal" for incoming calls
- use rtpengine_manage() in Kamailio config with "direction=internal
direction=external" for outgoing calls
Give it a try! :)
---
Stefan
On Wed, May 31, 2017 at 6:31 PM, gerry kernan <gerry.kernan(a)infinityit.ie>
wrote:
> Hi
>
>
>
> I’m looking to check if what I’m trying to configure is feasible .
>
>
>
> UA -> WAN(X.X.X.X) -> Kamailio(LAN 192.X.X.148) -> internal PBX(LAN
> 192.X.X.131)
>
>
>
> I have a WN IP forwarded to and internal Kamailio server which is sitting
> in front of an asterisk server. SIP requests are sent to asterisk from
> Kamailio via dispatcher .
>
> SIP client can register via WAN and Kamailio to asterisk , I have rtpenine
> configured as below.
>
>
>
> /usr/sbin/rtpengine --interface=192.X.X.148!X.X.X.X --listen-ng=7722
> --timeout=60 --silent-timeout=3600 --pidfile=/var/run/ngcp-rtpengine-daemon.pid
> --table=0 --log-level=6 --log-facility=local7 --log-facility-rtcp=local7
> --homer=192.168.200.5:9060 --homer-protocol=udp --homer-id=2002
>
>
>
>
>
> But SIP SDP when sent to asterisk is still show the WAN IP of the Sip
> client in the SDP offer that goes to asterisk , ive tried adding parameter “*via-branch=”
> **and “**auto-bridge” **to rtpengine_offer but they don’t seem to make a
> difference , is there anyone way I can force the SDP offer that goes to the
> backend PBX to use the IP of Kamailio server that rtpengine is running on
> rather that the WAN IP that I’m advertising(X.X.X.X) ?*
>
>
>
>
>
>
>
> Example SIP SDP from WAN client to asterisk
>
>
>
> *INVITE* sip:*97@sip.domain.com;transport=UDP SIP/2.0
>
> Via: SIP/2.0/UDP Client-IP:29345;branch=
> *z9hG4bK-524287-1---e38082af1f110ad1*;rport Max-Forwards: 70
>
> Contact: <sip:21@Client-IP:29345;transport=UDP> To: <sip:*
> 97(a)sip.domain.com;transport=UDP>
>
> From: <sip:21@sip.domain.com;transport=UDP>;tag=*e637343b*
>
> Call-ID: *jvqeIB9f48_OGcTq0UxP7w..*
>
> CSeq: 2 *INVITE* Allow: *INVITE*, ACK, CANCEL, BYE, NOTIFY, REFER,
> MESSAGE, OPTIONS, INFO, SUBSCRIBE
>
> Content-Type: application/sdp
>
> User-Agent: Zoiper rv2.8.40
>
> o=Z
>
> 0 0 IN IP4 Client-IP
>
> s=Z
>
> c=IN IP4 Client-IP
>
> t=0 0
>
> m=audio 29344 RTP/AVP 8 0 101
>
> a=rtpmap:101 telephone-event/8000
>
> a=fmtp:101 0-16
>
> a=sendrecv
>
>
>
> and SDP that Kamailio sends to asterisk
>
>
>
> *INVITE* sip:*97@sip.domain.com;transport=UDP SIP/2.0
>
> Record-Route: <sip:192.X.X.148;lr>
>
> Via: SIP/2.0/UDP 192.X.X.148;branch=
> *z9hG4bKd924.bcc4248735b53e9cf783c87c81dfee28.0*
>
> Via: SIP/2.0/UDP Client-IP:29345;received=Clien
> t-IP;branch=z9hG4bK-524287-1---e38082af1f110ad1;rport=29345 Max-Forwards:
> 69
>
> Contact: <sip:21@Client-IP:29345;transport=UDP> To: <sip:*
> 97(a)sip.domain.com;transport=UDP>
>
> From: <sip:21@sip.domain.com;transport=UDP>;tag=*e637343b*
>
> Call-ID: *jvqeIB9f48_OGcTq0UxP7w..*
>
> CSeq: 2 *INVITE* Allow: *INVITE*, ACK, CANCEL, BYE, NOTIFY, REFER,
> MESSAGE, OPTIONS, INFO, SUBSCRIBE
>
> Content-Type: application/sdp User-Agent: Zoiper rv2.8.40
>
> Path: <sip:192.X.X.148;lr;received=sip:Client-IP:29345>
>
> v=0
>
> o=Z 0 0 IN IP4 Client-IP
>
> s=Z c=IN IP4 X.X.X.X
>
> t=0 0
>
> m=audio 32550 RTP/AVP 8 0 101
>
> a=rtpmap:101 telephone-event/8000
>
> a=fmtp:101 0-16
>
> a=sendrecv
>
> a=rtcp:32551
>
> a=ice-ufrag:Dwd23Dem
>
> a=ice-pwd:9Itp6Cq7lkYJxMkeDeA1I2kkzw
>
> a=candidate:KZyzUR5lXJJpt1Et 1 UDP 2130706431 X.X.X.X 32550 typ host
> a=candidate:KZyzUR5lXJJpt1Et 2 UDP 2130706430 X.X.X.X 32551 typ host
>
>
>
> *Gerry Kernan*
>
>
>
> <image001.jpg>
>
>
>
> *Infinity IT | 17 The Mall | Beacon Court | Sandyford |
> Dublin D18 E3C8 | Ireland*
>
> *Tel: +353 - (0)1 - 293 0090 <+353%201%20293%200090> | E-Mail: *
> gerry.kernan(a)infinityit.ie
>
>
>
> *Managed IT Services Infinity IT* - www.infinityit.ie
>
> *IP Telephony Asterisk Consulting* –
> www.asteriskconsulting.com
>
> *Contact Centre Total Interact* – www.totalinteract.com
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users(a)lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
>
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi
I'm looking to check if what I'm trying to configure is feasible .
UA -> WAN(X.X.X.X) -> Kamailio(LAN 192.X.X.148) -> internal PBX(LAN
192.X.X.131)
I have a WN IP forwarded to and internal Kamailio server which is sitting in
front of an asterisk server. SIP requests are sent to asterisk from Kamailio
via dispatcher .
SIP client can register via WAN and Kamailio to asterisk , I have rtpenine
configured as below.
/usr/sbin/rtpengine --interface=192.X.X.148!X.X.X.X --listen-ng=7722
--timeout=60 --silent-timeout=3600
--pidfile=/var/run/ngcp-rtpengine-daemon.pid --table=0 --log-level=6
--log-facility=local7 --log-facility-rtcp=local7 --homer=192.168.200.5:9060
--homer-protocol=udp --homer-id=2002
But SIP SDP when sent to asterisk is still show the WAN IP of the Sip client
in the SDP offer that goes to asterisk , ive tried adding parameter
"via-branch=" and "auto-bridge" to rtpengine_offer but they don't seem to
make a difference , is there anyone way I can force the SDP offer that goes
to the backend PBX to use the IP of Kamailio server that rtpengine is
running on rather that the WAN IP that I'm advertising(X.X.X.X) ?
Example SIP SDP from WAN client to asterisk
INVITE sip:*97@sip.domain.com;transport=UDP SIP/2.0
Via: SIP/2.0/UDP
Client-IP:29345;branch=z9hG4bK-524287-1---e38082af1f110ad1;rport
Max-Forwards: 70
Contact: <sip:21@Client-IP:29345;transport=UDP> To:
<sip:*97@sip.domain.com;transport=UDP>
From: <sip:21@sip.domain.com;transport=UDP>;tag=e637343b
Call-ID: jvqeIB9f48_OGcTq0UxP7w..
CSeq: 2 INVITE Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE,
OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp
User-Agent: Zoiper rv2.8.40
o=Z
0 0 IN IP4 Client-IP
s=Z
c=IN IP4 Client-IP
t=0 0
m=audio 29344 RTP/AVP 8 0 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
and SDP that Kamailio sends to asterisk
INVITE sip:*97@sip.domain.com;transport=UDP SIP/2.0
Record-Route: <sip:192.X.X.148;lr>
Via: SIP/2.0/UDP
192.X.X.148;branch=z9hG4bKd924.bcc4248735b53e9cf783c87c81dfee28.0
Via: SIP/2.0/UDP
Client-IP:29345;received=Client-IP;branch=z9hG4bK-524287-1---e38082af1f110ad
1;rport=29345 Max-Forwards: 69
Contact: <sip:21@Client-IP:29345;transport=UDP> To:
<sip:*97@sip.domain.com;transport=UDP>
From: <sip:21@sip.domain.com;transport=UDP>;tag=e637343b
Call-ID: jvqeIB9f48_OGcTq0UxP7w..
CSeq: 2 INVITE Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE,
OPTIONS, INFO, SUBSCRIBE
Content-Type: application/sdp User-Agent: Zoiper rv2.8.40
Path: <sip:192.X.X.148;lr;received=sip:Client-IP:29345>
v=0
o=Z 0 0 IN IP4 Client-IP
s=Z c=IN IP4 X.X.X.X
t=0 0
m=audio 32550 RTP/AVP 8 0 101
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=sendrecv
a=rtcp:32551
a=ice-ufrag:Dwd23Dem
a=ice-pwd:9Itp6Cq7lkYJxMkeDeA1I2kkzw
a=candidate:KZyzUR5lXJJpt1Et 1 UDP 2130706431 X.X.X.X 32550 typ host
a=candidate:KZyzUR5lXJJpt1Et 2 UDP 2130706430 X.X.X.X 32551 typ host
Gerry Kernan
Infinity IT | 17 The Mall | Beacon Court | Sandyford |
Dublin D18 E3C8 | Ireland
Tel: +353 - (0)1 - 293 0090 | E-Mail:
<mailto:gerry.kernan@infinityit.ie> gerry.kernan(a)infinityit.ie
Managed IT Services Infinity IT - <http://www.infinityit.ie/>
www.infinityit.ie
IP Telephony Asterisk Consulting -
<http://www.asteriskconsulting.com> www.asteriskconsulting.com
Contact Centre Total Interact -
<http://www.totalinteract.com> www.totalinteract.com
Hello,
fyi: the spamassassin has been re-enabled on kamailio.org email server.
It used to run, but for whatever reason got inactive few years ago. It
is back as we are facing an increase volume of spam which had to be
dealt with in bounces, but also seeing from time to time that spams get
through some registered users in the mailing lists.
Should anyone encounter unexpected behaviour or you don't see your email
in the mailing lists archives, try to contact me -- archives are
available at:
- https://lists.kamailio.org/pipermail/sr-users/
- https://lists.kamailio.org/pipermail/sr-dev/
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com
Using siremis for acc module or another modules,
You have to enable them from kamailio.cfg
See for the official documentation of kamailio modules,and pages would
response too
On 01-Jun-2017 1:53 PM, "Clive Churchyard | Tech Cloud"
<clive.churchyard(a)techcloud.global> wrote:
Hi list
Having installed kamailio 4.2 and siremis 4.4 I now get the below error
when browsing to either the 'subscribers list' or the 'location list' tried
both deb8.8 and ubuntu 14.04 using MySQL and php5 with apache2
Error message: #0, Error in query:: SELECT T0.id, T0.username, T0.domain,
T0.contact, T0.received, T0.path, T0.expires, T0.q, T0.callid, T0.cseq,
T0.last_modified, T0.flags, T0.cflags, T0.user_agent, T0.socket,
T0.methods, T0.ruid, T0.instance, T0.reg_id, T0.server_id,
T0.connection_id, T0.keepalive, T0.partition FROM `location` T0 LIMIT 10.
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'T0.server_id' in
'field list'
Script name and line number of error: /var/www/siremis-4.4.0/
openbiz/bin/data/BizDataObj_Lite.php:447
Any ideas please
Thanks
Clive
Sent from my iPhone
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi list
Having installed kamailio 4.2 and siremis 4.4 I now get the below error when browsing to either the 'subscribers list' or the 'location list' tried both deb8.8 and ubuntu 14.04 using MySQL and php5 with apache2
Error message: #0, Error in query:: SELECT T0.id, T0.username, T0.domain, T0.contact, T0.received, T0.path, T0.expires, T0.q, T0.callid, T0.cseq, T0.last_modified, T0.flags, T0.cflags, T0.user_agent, T0.socket, T0.methods, T0.ruid, T0.instance, T0.reg_id, T0.server_id, T0.connection_id, T0.keepalive, T0.partition FROM `location` T0 LIMIT 10. SQLSTATE[42S22]: Column not found: 1054 Unknown column 'T0.server_id' in 'field list'
Script name and line number of error: /var/www/siremis-4.4.0/openbiz/bin/data/BizDataObj_Lite.php:447
Any ideas please
Thanks
Clive
Sent from my iPhone
Hello,
i installer siremis on centos .
i need help or manual tu configure it .
there is no help on the net .
thank you .
Borhen Ben Jedidia
borhen(a)praxys-crm.com
Technico-commercial
Skype: borhen3856
Mobile 1 : 00 216 26 76 78 77
Mobile 2 : 06 12 95 62 91
Ligne directe : 01 78 76 90 80
www.praxys-crm.com