Hello,
This may have been discussed before, but when options_reply() from the
siputils module is used to respond to OPTIONS requests and those OPTIONS
requests come in with an RURI containing a user part, the following
error is emitted to the logs:
LM_ERR("ruri contains username\n");
No reply for the OPTIONS ping is given in this scenario.
OPTIONS pings against a username are very common, and I can find no
justification for this check in my interpretation of RFC 3261 scripture.
According to Section 11.1 ("Construction of an OPTIONS request"):
An OPTIONS request is constructed using the standard rules for a SIP
request as discussed in Section 8.1.1.
Moreover, the example request line given in that very section is:
OPTIONS sip:carol@chicago.com SIP/2.0
Might it perhaps be agreeable to remove this constraint? Or is there
some rationale for its presence that I have simply failed to grasp?
Thanks!
-- Alex
--
Alex Balashov | Principal | Evariste Systems LLC
303 Perimeter Center North, Suite 300
Atlanta, GA 30346
United States
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
Hi Franz,
On Successful completion of Registration of IMS client.
Now, I was trying to REGISTER SIP Client, But REGISTER request failing with 403 forbidden- User unknown.
Please find attachment of X-lite configuration and Tcpdump from #422.
Could you please suggest me any changes has to be done.
Thanks in advance!!
Regards,
Sainath
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
Hello I am having problems pointing to a custom dispatcher table, when I
use "dispatcher" as table, the kamailio service start running normal, but
when I try to use for example "my_dispatcher" table the error shown bellow
appears.
I do not want to rebuilt the database, *my purpose is to have multiples
dispatcher tables on the same server*, "dispatcher, my_dispatcher",
"my_dispatcher_1", for example.
The connection to the custom database is OK
Thanks in advance for your help.
----------------------------------------------------------------------------------------
/var/log/messages
Mar 3 14:03:00 kama-balance4 /usr/local/kamailio/sbin/kamailio[19153]:
ERROR: dispatcher [dispatch.c:676]: init_ds_db(): invalid table version
(found 0 , required 1, 2, 3 or 4)#012(use kamdbctl reinit)
Mar 3 14:03:00 kama-balance4 /usr/local/kamailio/sbin/kamailio[19153]:
ERROR: dispatcher [dispatcher.c:335]: mod_init(): could not initiate a
connect to the database
Mar 3 14:03:00 kama-balance4 /usr/local/kamailio/sbin/kamailio[19153]:
ERROR: <core> [sr_module.c:970]: init_mod(): init_mod(): Error while
initializing module dispatcher
(/usr/local/kamailio/lib64/kamailio/modules/dispatcher.so)
So trying to push some inserts/updates to the background I added:
async_workers=1
and
replaced
sql_xquery("ca", "$var(query)", "ra");
sql_result_free("ra");
with
sql_query_async("ca", "$var(query)");
where: $var(query)="insert into CDR.callogs (accountcode,number) values
('"+$var(accountcode)+"',substring('"+$rU+"',1,4))";
Only to find out that the queries aren't inserted and the log contains:
/usr/sbin/kamailio[24754]: ERROR: sqlops [sql_api.c:429]:
sql_do_query_async(): the db driver module doesn't support async query
The table is an InnoDB some insert delayed should give these kind of
errors, but isn't the point of sql_query_async that it does the plain
normal insert in a background task?
Test machine: kamailio 4.2.5
If the backends for a dbcluster supports sql_query_async,
sql_query_async should be available. At this moment (only tested with
4.3.x) async isn't supported.
Hello,
Kamailio SIP Server v4.3.5 stable release is out.
This is a maintenance release of the latest stable branch, 4.3, that
includes fixes since release of v4.3.4. There is no change to database
schema or configuration language structure that you have to do on
previous installations of v4.3.x. Deployments running previous v4.x.x
versions are strongly recommended to be upgraded to v4.3.5.
For more details about version 4.3.5 (including links and guidelines to
download the tarball or from GIT repository), visit:
* http://www.kamailio.org/w/2016/03/kamailio-v4-3-5-released/
RPM, Debian/Ubuntu packages will be available soon as well.
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
As a suggestion for 5.0 being able to load config files from a URL, with any includes being taken relative to the URL would be a really handy feature.
It would allow a central source for config files in a cluster and make it a much simpler process to push out changes to routing to all nodes.
Hello,
it's been a while since the release of v4.3.4, therefore I am
considering to release a new minor version from branch 4.3 next week,
most probably on Thursday, March 3, 2016. As usual, if there you are
aware of issues not reported to the tracker [1], do it as soon as
possible to get a chance to be fixed before the release date.
Cheers,
Daniel
[1] https://github.com/kamailio/kamailio/issues
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, March 7-9, 2016 - http://www.asipto.com