[SR-Users] Multiple c params in SDP

2017-06-02 Thread Grant Bagdasarian
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

[SR-Users] SDP rewrite causing extra IP to be inserted.

2017-06-02 Thread Steven Meyer
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; }

Re: [SR-Users] Multiple c params in SDP

2017-06-02 Thread Daniel-Constantin Mierla
Hello, there are some flags that you can set when sending the command to rtpengine: - https://www.kamailio.org/docs/modules/stable/modules/rtpengine.html#rtpengine.f.rtpengine_offer In old format (also for rtpproxy) was 'c' for what you want, now it should be 'replace-session-connection'.

[SR-Users] Mysql driver error Table was not locked with LOCK TABLES

2017-06-02 Thread Arsen
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:

Re: [SR-Users] RTPEngine a=rtcp-mux

2017-06-02 Thread Richard Fuchs
On 02/06/17 07:40 AM, Igor Olhovskiy wrote: Hi! I’m trying to make RTPEngine to work with calls Browser <-> SIP. Call From SIP to Browser working perfectly, but when calling to SIP from Browser, on 200 OK (sdp) I don’t receive ... a=rtcp-mux ... lines, but it was told to RTPEngine on

[SR-Users] Using reserved keywords in cfg variables

2017-06-02 Thread Paul Claudiu Boriga
Hello all, We found out that when using cfg variables certain keywords are not allowed, and Kamailio logs a generic error: [cfg.y:3368]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 256, column 9-14: syntax error For example we cannot use words like

[SR-Users] RTPEngine a=rtcp-mux

2017-06-02 Thread Igor Olhovskiy
Hi! I’m trying to make RTPEngine to work with calls Browser <-> SIP. Call From SIP to Browser working perfectly, but when calling to SIP from Browser, on 200 OK (sdp) I don’t receive ... a=rtcp-mux ... lines, but it was told to RTPEngine on reply_route to add this. And this line is mandatory

Re: [SR-Users] RTPEngine a=rtcp-mux

2017-06-02 Thread Igor Olhovskiy
Getting same result.. v=0 o=- 1334974643 4 IN IP4 X.X.X.X c=IN IP4 X.X.X.X t=0 0 m=audio 41572 UDP/TLS/RTP/SAVPF 0 9 126 a=rtpmap:0 PCMU/8000 a=rtpmap:9 G722/8000 a=rtpmap:126 telephone-event/8000 a=fmtp:126 0-16 a=ptime:20 a=maxptime:150 a=sendrecv a=rtcp:41573 a=setup:active a=fingerprint:sha-1

Re: [SR-Users] Using reserved keywords in cfg variables

2017-06-02 Thread Daniel-Constantin Mierla
Hello, On 02.06.17 13:16, Paul Claudiu Boriga wrote: > Hello all, > > We found out that when using cfg variables certain keywords are not > allowed, and Kamailio logs a generic error: > [cfg.y:3368]: yyerror_at(): parse error in config file > /etc/kamailio/kamailio.cfg, line 256, column 9-14:

[SR-Users] relationship between debian kamailio.service and kamailio.init

2017-06-02 Thread Juha Heinanen
Could someone who knows about systemd tell, what is the relationship between deb/stretch kamailio.service and kamailio.init files? kamailio.service contains kamailio binary argument values and command to start kamailio, but kamailio.init does much more. Why do both exist? -- Juha

[SR-Users] {Disarmed} Re: Kamctl does not work. Kamailio 4.4

2017-06-02 Thread Luís Torres
Just passed across that..., what I did was editing the kamctlrc and uncoment the database related itens. It worked Em 2017-06-02 14:48, Denys Pozniak escreveu: > Hello! > > I have installed Kamailio 4.4 on CentOS7 from repo. >

Re: [SR-Users] {Disarmed} Re: Kamctl does not work. Kamailio 4.4

2017-06-02 Thread Denys Pozniak
I have next options: #cat /etc/kamailio/kamctlrc DBENGINE=MYSQL DBHOST=127.0.0.1 DBNAME=kamailio DBRWUSER="root" DBRWPW="toor" DBROUSER="root" DBROPW="toor" DBACCESSHOST=127.0.0.1 DBROOTUSER="root" Can you share your file? On 2 June 2017 at 15:54, Luís Torres wrote: >

[SR-Users] Kamctl does not work. Kamailio 4.4

2017-06-02 Thread Denys Pozniak
Hello! I have installed Kamailio 4.4 on CentOS7 from repo. ( http://download.opensuse.org/repositories/home:/kamailio:/v4.4.x-rpms/CentOS_7/ ) When I try to run kamctl I have next error: # kamctl ps WARNING: no control engine found - tried 'RPCFIFO' ERROR: This command requires a control engine

Re: [SR-Users] Adding debugger module to kazoo-kamailio

2017-06-02 Thread Daniel-Constantin Mierla
Hello, On 01.06.17 19:02, Joe Baran wrote: > > I’m hoping that someone might have some suggestions on how to approach > this. > > > > I’ve been working with kamailio as part of kazoo (via RPM install) and > have been attempting to add the debugger module so I can trace things > as they pass

[SR-Users] DROUTING Tables

2017-06-02 Thread Annus Fictus
Hello, I can't find DROUTING Tables on the standard kamailio database. dr_gateways dr_rules dr_groups Have I to create them manually? Thank you Regards ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org