I configured apache web server and also installed siremis 4.1.1
successfully but i couldn't login and my problem is after " welcome to
Siremis installation wizard" I went through steps 1to 4 without issue. On
the last step I even receive installation complete congratulation also
display username and login password but after 10 seconds it goes back to
step 1. I was expecting to see a login window but I am stack. Did anybody
experience this issue? Any help greatly appreciated.
Thanks
Abdulmalik
This year we scheduled more interactive sessions, to reveal better how
Kamailio and open source RTC applications can be used out there.
During the afternoon of April 2, a group of technical tutorials target
to teach how to use various platforms for typical use cases:
sip:provider CE, Kamailio for IMS and prepaid systems, SEMS. At the end
of April 3, we have the open debate moderated by Randy, the host of
weekly VoIP Users Conference. Before noon on April 4, James Body
challenges everyone around to do a dangerous demo, impress the audience
and win some goodies -- prepare yours in time! More details are
presented in the schedule:
- http://conference.kamailio.com/k02/schedule/
About two weeks and a half till the start of the event, there is no
other meeting alternative in Europe for networking with professionals in
large real time communications deployments and open source telephony, be
sure you don't miss it. Registration details are available at:
- http://conference.kamailio.com/k02/registration/
Credits to event sponsors that ensured a good location and excellent
content by participation of world wide speakers - Asipto, FhG Fokus,
Sipwise, IT Center, Sipgate, Simwood, Digium, NG Voice, Core Network
Dynamics:
- http://conference.kamailio.com/k02/sponsors/
See you very soon in Berlin! Meanwhile work on your idea for a dangerous
demo!
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference - April 2-4, 2014, Berlin, Germany
http://www.kamailioworld.com
Can someone tell me how to handle a 401 from a 302 redirect? I am
attempting to register with the uac module. Normally, I set a failure
route for the 401 and call auc_auth(). In this case, I am receiving a 302,
sending the register with get_redirects(), then getting a 401. However,
Kamailio seems to be ignoring the 401. I see it in an onrely_route, but
not a failure route.
failure_route[REG_AUTH] {
xlog("L_NOTICE","route[REG_AUTH]\n");
# Handle redirects
if ($T_reply_code == 302) {
get_redirects("*", "Redirected");
t_on_failure("REG_AUTH");
route(RELAY);
} else if ($T_reply_code == 401) {
uac_auth();
t_on_reply("REG_REPLY");
route(RELAY);
}
}
route[RELAY] {
xlog("L_NOTICE","route[RELAY] ($rm)\n");
if (is_method("INVITE|BYE|SUBSCRIBE|UPDATE")) {
if (!t_is_set("branch_route")) t_on_branch("MANAGE_BRANCH");
}
if (is_method("INVITE|SUBSCRIBE|UPDATE")) {
if (!t_is_set("onreply_route")) t_on_reply("MANAGE_REPLY");
}
if (is_method("INVITE")) {
if (!t_is_set("failure_route")) t_on_failure("MANAGE_FAILURE");
}
xlog("L_NOTICE","t_relay()'ing ($rm)\n");
if (!t_relay()) {
sl_reply_error();
}
exit;
}
Thanks!
Marc
Hi List
i want to config siremis with postgresql and really to much things fail for
the install, at the end y left the siremis db with mysql and kamailio with
postgresql but the problems continue, when i want to show subscriber list
from siremis interface, i get an error and check the postgresql log and
found this
LOG: sentencia: SET NAMES 'utf8'
ERROR: error de sintaxis en o cerca de «`» en carácter 101
SENTENCIA: SELECT T0.id, T0.username, T0.domain, T0.password,
T0.email_address, T0.ha1, T0.ha1b, T0.rpid FROM `subscriber` T0 LIMIT 10
what could be the right config?
Hello,
I have two kamailio servers running independently with different domain names. I want to route calls between those two servers. Can it be done ? If yes then How ?
Thanks.
Hello,
I have configured a kamailio server on my local network, gave it
a dummy domain like "abcd.tk". I have a number of computers on my local
network. I want to run eyebeam on them and connect to my kamailio
server. Server is running fine. When I try to connect Eyebeam to Server,
it goes to DNS to find IP for "abcd.tk". I have entered the value
"192.168.1.10 = abcd.tk" in "hosts" file of all machines. File is
located at "C:\WINDOWS\system32\drivers\etc\hosts". On other hand, when I
ping abcd.tk from client computers. They ping 192.168.1.10. So
Operating systems verify the entry "192.168.1.10 = abcd.tk", but problem
lies with soft phones. I have tried X-Lite and Eyebeam.
How can I make softphone understand that abcd.tk = 192.168.1.10 and please go to this adress, not DNS ??
Help please :(
Regards,
Awais.
Hello,
I have deployed a server. It is starting fine. Connection with MySQL database is also okay. Siremis is also working fine. But softphone "Eyebeam" can't login as a user to the server. Client functionality is ok. As same client with same setting is working good with other kamailio server. How can I trace down the error ?? Please guide.
Regards,
Owais
Hello,
I have deployed two kamailio servers. Both are sharing a common database deployed on Windows 2008 Server using MySQL. Now domain of one kamailio server is lets say "abc.com" and other's is "xyz.com". I want to know that if a user is created by user id "user1(a)abc.com" with password "qazwsx@123" in the database. And a user try to login from 2nd server "xyz.com" using user id "user1(a)xyz.com" with password "qazwsx@123". Will he able to login using this shared database ?
Also please tell which modules controls this ? As I have few more questions also concerning this.
Sorry for intruding, but this is puzzling me a lot.
I followed the guide to make Kamailio work with asterisk and realtime,
Kamailio version 4 and asterisk 11.
(http://kb.asipto.com/asterisk:realtime:kamailio-4.0.x-asterisk-11.3.0-astdb
)
up until now its working, and now want to get the phones (CISCO SPA504G,
former linksys) to get the SIP notify command and reload to get their new
config, from the asterisk cli
the cli command is "sip notify spa-reboot <username>"
The problem is that, using the setup in the guide, the phones registers
with kamailio, kamalio then strip the password and register with no
password to the asterisk, as supposed to be.
by that, when asterisk sends the SIP Notify with the reboot commands, it
arrives to the kamailio, and is forwarded to phone, and the phone answers
with a '401' and a digest.
In the flow, the kamailio (in the middle) receives the 401 and sends again
the sip message to asterisk, and asterisk uses the digest to cipher the
password and reply, but as asterisk is configured with no password, the
reply contains as 'wrong' password (the empty/blank one)
is there any way to make kamailio intercepts again that '401' and reply
with a crafted message, with the right digest, password, (the one in the ul
table) and user, so the phone can accept the order and reboots?
The other (ugly) option, is to remove the auth from the phone, for the Sip
Provisioning, but that would leave and open door to a reboot attack without
auth needed from any IP. And I dont like that option.
As we talk, I managed to create a routing logic, but is that the right
approach? :
===================
request_route {
if (is_method("NOTIFY"))
{
#xlog("NOTIFY received: $rs");
t_on_failure("MANAGE_FAILURE_401"); #try to intercep a 401
}
.....
}
failure_route[MANAGE_FAILURE_401] {
if (t_check_status("401")) {
#401 detectado dentro de un Notify,
#probablemente ha sido por una orden de reboot.
#hay que construir un paquete e intentar enviar, con el
digest adecuado....
$uac_req(method)="NOTIFY";
$uac_req(ruri)="sip:";
$uac_req(furi)="sip:";
$uac_req(turi)="sip:";
$uac_req(hdrs)="Contact: <sip:"+ ">\r\n";
#Paquete construido, debe ser enviado
uac_req_send();
xlog("401 detectado");
# exit;
}
===================
Thanks in advance.....
Hi list
i tried install siremis with postgresql db, but when i was in step 2 and
select postgresql driver and fill all the required fields, but i saw
siremis installer try to connect to postgresql with www-data user, why this
happend