Hi,
I currently have:-
Kamailio -----Freeswitch--------NodeMax SIP/SS7------PSTN
I have users on Kamailio registered 1000, 1001 to 1004 and make calls to
each other and to PSTN and PSTN to users.
Now I want to keep transfers off network so basically on Kamailio.
So currently sip client 1000 calls 1001 it stays on Kamailio (that works),
but if inbound from PSTN to 1000, 1000 cannot transfer to 1001
The REFER is sent to freeswitch, can I get Kamailio to just transfer from
1000 to 1001.
I don't see any reason why I would want a transfer to be sent to freeswitch
and down to my Nodemax CTI SIP/SS7 gateway. It would seem sensible for the
proxy to deal with a user to user transfer.
Thanks
Tony Turner
Although it's difficult to know the exact cause of your "protocol" error,
it does appear from your tests that the graceful handling of errors and
subsequent reconnects is better in libmemcached than in libmemcache. So if
you do encounter the same conditions again, I would imagine that the
library would handle it and attempt to reconnect transparently.
If not, however, then at least you are more likely to find support as the
library is still under active development :)
Cheers,
Charles
On 6 Jun 2013 18:12, "Dragos Oancea" <droancea(a)yahoo.com> wrote:
Hi Charles,
I tried first to trigger again the bug using some iptables rules (to
simulate a network problem) , so Kamailio could not communicate with the
memcache anymore:
WARNING: memcached [memcached.c:189]: WARNING: memcached:
mcm_server_readable():2582: timeout: select(2) call timed out for
read(2)able fds
WARNING: memcached [memcached.c:189]: WARNING: memcached:
mcm_server_writable():3173: timeout: write select(2) call timed out
WARNING: memcached [memcached.c:189]: WARNING: memcached:
mcm_server_connect():2290: select(2) failed: select(2) timed out on
establishing conn
ection
NOTICE: memcached [memcached.c:194]: NOTICE: memcached:
mcm_server_connect():2297: connect(2) failed
NOTICE: memcached [memcached.c:194]: NOTICE: memcached:
mcm_server_connect_next_avail():2323: unable to find a server to connect to
This looks very much like what i've seen in the logs just before it started
to report the "protocol error" problem.
But in the simulated case , after I remove the iptables rules that block
the access to memcache, Kamailo does not recover from the situation, it
just keeps on printing messages like the above, when it should
connect to memcache instead. It looks like another libmemcache-related bug
to me.
Then I tried the same thing with the latest memcached module from git:
With the memcached firewalled after starting Kamailio it prints this to the
logs:
ERROR: memcached [mcd_var.c:154]: pv_get_mcd_value_helper(): could not get
result for
key 29515_HA1 - error was 'SERVER HAS FAILED AND IS DISABLED UNTIL TIMED
RETRY'
When I flush the firewall rules, it reconnects to memcache, which makes it
better than the old one.
But how can I be sure that the new one will not have the same "protocol
error" issue, since I could not reproduce exactly the problem so far ?
Regards,
Dragos
------------------------------
*From:* Charles Chance <charles.chance(a)sipcentric.com>
*To:* Dragos Oancea <droancea(a)yahoo.com>; Kamailio (SER) - Users Mailing
List <sr-users(a)lists.sip-router.org>
*Sent:* Thursday, June 6, 2013 6:27 PM
*Subject:* Re: [SR-Users] memcache problem - reporting protocol error
Hi Dragos,
The memcached module has indeed been updated in the master to use
libmemcached, as the old libmemcache library is no longer under active
development. Have you tried using the latest version of the module from
git? Do you still get the same errors?
Cheers,
Charles
On 6 June 2013 16:18, Dragos Oancea <droancea(a)yahoo.com> wrote:
Hello
We are having issues with the memcached module (Kamailio 4.0.0) .
All of a sudden we are getting this kind of messages in the logs, and the
values for the requested keys are not retrieved.
ALERT: memcached [memcached.c:189]: ALERT: memcached: mcm_fetch_cmd():1305:
memcache(4) protocol error: STORED#015#012VALUE 29515_HA1 0
32#015#012b52299247f16c6adfa4c8cc53b34e74a#015#012END#015#012STORED#015#012
[...]
ALERT: memcached [memcached.c:189]: ALERT: memcached: mcm_fetch_cmd():1176:
memcache(4) protocol error: server sent data for key not in request
I suspect that at some point there was a network problem between the
memcached server and Kamailio that triggered this abnormal behavior and I
also suspect that it is
connected with the (old) libmemcache library (libmemcache-1.4.0.rc2) .
This is fixed only with a Kamailio restart.
Has anyone experience this ? Is there a fix ?
I noticed that the Kamailio from the trunk compiles the memcached module
with the more new libmemcached library from here:
https://launchpad.net/libmemcached/+download .
Maybe this is one of the reasons libmemcache is going to be dropped ?
Thank you very much.
Regards,
Dragos
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-userswww.sipcentric.com
Follow us on twitter @sipcentric <http://twitter.com/sipcentric>
Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered
office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham
B7 4EJ.
--
www.sipcentric.com
Follow us on twitter @sipcentric <http://twitter.com/sipcentric>
Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered
office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham
B7 4EJ.
Hi,
I'm struggling to solve one problem with 503 reply code.
Kamailio receives 503 and changes it to 500, with error in log
WARNING: script writer didn't release transaction
I inspected incoming 503 (from Cisco gateway), everything seems to be ok
except for Via:
SIP/2.0/UDP localip:5060;branch=z9hG4bK47e3.c400aa13.0,SIP/2.0/UDP
ip2:5060;branch=z9hG4bK37170104;rport=5060
Does kamailio support this kind of Via?
Thanks,
Mino
Hi all!
Whats difference between registered("location") and lookup("location")?
--
WBR, Victor
JID: coyote(a)bks.tv
JID: coyote(a)bryansktel.ru
I use FREE operation system: 3.9.4-calculate GNU/Linux
Le Fri, 14 Jun 2013 17:06:14 +0530,
Shankar <shankar.rk(a)plintron.com> a écrit :
> I am new to Kamailio. I need a sample S-CSCF config file to test and
> understand. Please help.
Hi Sankar,
you will find samples for P, I and S-CSCF in the kamailio repository in
the 'examples' dir:
http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=tree;f=examples…
Cheers,
--
Camille
Hi All,
I have set up Kamailio 3.3 on Ubuntu machine.I created two user test 1 and
test 2.
I could use Presence and also i was able to register to Kamailio server and
exchange presence status with each other.
Details- I used TCP protocol .
testing methods - Linphone, a sample application.
I am able to register succesfully with (TCP) on to kamailio server using
Lin phone and sample application.
I am able to update presence status of the users.
Issue :
When i try to send messages between two users ( using TCP )
1. from Sample application, when i try to send message, i get 420
temporarily Unavailable error from server.
2. from Lin phone 3.5.2, i was able to send messages ( sue TCP) but when
the other user try to reply back , i get same error
480 Temporarily Unavailable. error from server.
I want a support to understand why i get error while sending messages with
TCP via Kamailio server.
I am able to succeesfully send and receive messages when i use UDP from my
sample application and Lin phone.
regards
Sunil C
Hi,
what this function in fact does? It only compares host from dispatcher list
and $si ? or it compares with source port as well ?
I'm distributing traffic across multiple gateways with dispatcher module,
these gateways create another leg and send it back to proxy. I would like
to compare it with my dispatcher list if the source IP of the request is
one of the dispatcher list.
So I cannot use this function, right? Any other functions that can do
something similar?
Mino
Hi Mino
I have set up this scenario using heartbeat on both hosts and it works
wonderfully.
Regards
Phillip
Message: 1
Date: Fri, 14 Jun 2013 08:15:28 +0200
From: Mino Haluz <mino.haluz(a)gmail.com>
To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) -
Users Mailing List" <sr-users(a)lists.sip-router.org
>
Subject: [SR-Users] kamailio and virtual IP
Message-ID:
<CAFA7yDT0xczGGU31utLoRDui=zb0wfZrTSzEw6Fy5tJHQZAjZQ(a)mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
I want to do this:
2 hosts, with 2 running kamailios, every host has 1 IP address and hostA
has virtualIP assigned. kamailio should run on both hosts. I made a script
which can transfer virtual IP from hostA to hostB.
The problem is, I cannot tell kamailio to use virtualIP on hostB because,
when I set
listen=virtualIP:5060 - it cannot start because virtualIP is not present
listen=0.0.0.0:5060 and force_send_socket(virtualIP) - it does not work as
virtualIP is not in the listen list
Some hint? I could run kamailio automatically after chaning IP address, but
it requires time to load, so it will not be as quick as I change simply the
owner of virtual IP.
Thanks,
Mino