Hi
I'm building some system with failover trunk
but my providers requires to set their doamin in domain part of To Header
so when I rewrite it at the my failure_route
$td = FAILOVER_PROVIDER
my To filed looks like
To: <sip: 123(a)my.failover.providermy.main.provider>
what i tried:
Move this change to BRANCH_ROUTE:
here tried as
$td = as
uac_replace_to('',"newToFieldValue)
Move to the my custom route with both variants
But result is the same
kamailio 5.1
version: kamailio 5.1.5 (x86_64/linux) d06080
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_URI_SIZE 1024,
BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: d06080
compiled on 00:43:08 Aug 23 2018 with gcc 6.3.0
Hi Mojtaba,
But when I send the 'BYE' doesn't the double Record-Route from the 'INVITE' (from IOS) need to be there, so that IOS can find it's Proxies and complete the transaction and send back a '200 OK'?
Thank you,
Good Morning All,
Is there any way to add a double record route? I tried adding a second record route and I always only get the first one added.
I have tried record_route(....), and record_route_advertised_address(...), but I still only get the first record route added.
Thank you,
-Steve
Hello dears,
I'm using kamailio devel version as an IMS (P-CSCF,S-CSCC,I-CSCF) with forking mode ,when more than one client registered with the same AOR and the servers received a call to that Aor All the clients ringing , after that one of the clients answer the call which will cause cancel message with reason call completed elsewhere .
This cancel message affect on the running call which answered by one of the client and terminate it .
So how to set up kamailio to allow registration only for one client per Aor or to prevent the affection of this cancel messages .
Thanks in advance & best regards
Hello guys,
is kamailio from
deb http://deb.kamailio.org/kamailio51 stretch main
deb-src http://deb.kamailio.org/kamailio51 stretch main
Installable on debain stretch?
I'm getting:
# apt-get install kamailio kamailio-xmlrpc-modules kamailio-mysql-modules
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'kamailio-xml-modules' instead of 'kamailio-xmlrpc-modules'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
kamailio : Depends: libreadline7 (>= 6.0) but it is not installable
kamailio-mysql-modules : Depends: libmariadbclient18 (>= 5.5.36) but
it is not installable
E: Unable to correct problems, you have held broken packages.
#
but libreadline7 is not avaiable on stretch.
Thanks
David
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
ᐧ
Hi!
I did this tutorial: https://sonnguyen.ws/install-kamailio-debianubuntu/
When I try to start the daemon I get:
# systemctl start kamailio
Job for kamailio.service failed because the control process exited with
error code.
See "systemctl status kamailio.service" and "journalctl -xe" for details.
Doing systemctl status kamailio shows:
# systemctl status kamailio
● kamailio.service - Kamailio (OpenSER) - the Open Source SIP Server
Loaded: loaded (/lib/systemd/system/kamailio.service; enabled; vendor
preset: enabled)
Active: failed (Result: exit-code) since Fri 2018-09-14 20:26:25 BST;
44s ago
Process: 29482 ExecStart=/usr/sbin/kamailio -P
/var/run/kamailio/kamailio.pid -f $CFGFILE -m $SHM_MEMORY -M $PKG_MEMORY
-u $USER -g $GROUP (code=exited, status=255)
Main PID: 24331 (code=exited, status=0/SUCCESS)
Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: ERROR: <core>
[db.c:318]: db_do_init2(): could not add connection to the pool
Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: ERROR: usrloc
[dlist.c:654]: register_udomain(): failed to open database connection
Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: ERROR: registrar
[reg_mod.c:566]: domain_fixup(): failed to register domain
Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: ERROR: <core>
[route.c:1153]: fix_actions(): fixing failed (code=-1) at
cfg:/etc/kamailio/kamailio.cfg:646
Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: ERROR: <core>
[route.c:1153]: fix_actions(): fixing failed (code=-1) at
cfg:/etc/kamailio/kamailio.cfg:649
Sep 14 20:26:25 thunix.org /usr/sbin/kamailio[29484]: INFO: <core>
[sctp_core.c:53]: sctp_core_destroy(): SCTP API not initialized
Sep 14 20:26:25 thunix.org systemd[1]: kamailio.service: Control process
exited, code=exited status=255
Sep 14 20:26:25 thunix.org systemd[1]: Failed to start Kamailio
(OpenSER) - the Open Source SIP Server.
Sep 14 20:26:25 thunix.org systemd[1]: kamailio.service: Unit entered
failed state.
Sep 14 20:26:25 thunix.org systemd[1]: kamailio.service: Failed with
result 'exit-code'.
My /etc/kamailio/kamailio.cfg is: http://paste.debian.net/1042245/
This is the output of journalctl --no-pager|grep kamailio
http://paste.debian.net/1042246/
What should I do to fix this?
Thanks,
hexhaxtron
Greetings,
My Kamailio has 2 IP's and, as such, it will generate two Record-Routes
when the Request is relayed.
I want to add one parameter to one of the Record Routes and another
parameter to the other Record-Route. However, if i use add_rr_param() it
will automatically add the parameters to the two Record-Route Headers.
Is there a way to do what i want without me re-writing the headers directly
?
Cheers,
Duarte Rocha
Greetings,
I have Kamailio as an SBC with mutiple IP's and I need to save some
information in the first Invite about the routing made internally in the
Kamailio.
I'm thinking about adding some parameters to Record-Route and retrieve them
in the Route header. Is this safe ? Can I be sure that those parameters
won't be deleted or changed?
Best Regards,
Duarte Rocha
Hi.
Does anybody know what kamailio core maxbuffer parameter means?
And is there any conjunction with system net.core.rmem_max parameter?
Doc is obscure for me
"The size in bytes not to be exceeded during the auto-probing procedure of
descovering the maximum buffer size for receiving UDP messages. "
--
Savolainen Dmitri