Hello
I have a Kamailio acting as Redirect server. In some cases I need to include
more that 12 Contact headers in the 302 message. I've set these values in
the config.h file.
#define MAX_BRANCHES 20 /*!< maximum number of branches per
transaction */
#define MAX_REDIRECTION_LEN 756 /*!< maximum length of Contact
header field in redirection replies */
Could these settings cause any "collateral damage"?
Thanks!
Javi
Hello!
I write my diplomawork, and kindly ask for your help!
I would establish a videoconference with SIP protocol between two PCs, one of them using IPv4 and the other uses IPv6.
I have access to an RMX 4000 Multipoint Conference Platform with a Kamailio SIP server on it.
Were here on the mailing list any previous discussion about translating between the two IP versions?
I read some about RTP Proxies, but did not find the proper solution so far.
Could somebody help me please?
Best Regards, Peter
Hi All,
i have configured kamailio server with sst module and server is sending 422
error for Min-SE negotiation. Along with 422 response I see 404 response
coming from the server which is causing my application to remove the
transaction. Please let know am I missing something in the configuration,
let me know the fix for the same.
Thanks
Suresh
Hi,
I have been looking for the kamailio mysql package at the following
location:-
http://www.kamailio.org/dokuwiki/doku.php/packages:rpms
the 3.1 link is a dead link though. 3.0.x links are just fine.
Can anyone tell me where I can find the 3.1 equivalent of
kamailio-mysql-3.0.3-0.i386.rpm
<http://www.kamailio.org/pub/kamailio/3.0.3/packages/centos-5.5/kamailio-mys…>.
Regards,
Steve.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stephen McVarnock,
AePONA Ltd,
Interpoint Building,
20-24 York Street,
Belfast BT15 1AQ
Tel: +44 (0)28 9026 9114
Fax: +44 (0)28 9026 9111
http://www.aepona.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hi
I'd like to test db_flatstore module at 3.1 to write accounting data. The
module is not loading though. The config is really simple:
loadmodule "db_flatstore.so"
modparam("acc", "db_url", "flatstore:/var/log/kamailio/cdr")
I'm getting this error:
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record: <db_bind_api>
not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export: <db_bind_api> in
module <db_flatstore> not found
0(27360) DEBUG: <core> [db.c:210]: using export interface to bind
db_flatstore
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record:
<db_use_table> not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export: <db_use_table>
in module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record: <db_init> not
found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export: <db_init> in
module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record: <db_close>
not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export: <db_close> in
module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record: <db_query>
not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export: <db_query> in
module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record:
<db_fetch_result> not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_fetch_result> in module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record:
<db_raw_query> not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export: <db_raw_query>
in module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record:
<db_free_result> not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export: <db_free_result>
in module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record: <db_insert>
not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export: <db_insert> in
module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record: <db_delete>
not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export: <db_delete> in
module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record: <db_update>
not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export: <db_update> in
module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record: <db_replace>
not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export: <db_replace> in
module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record:
<db_last_inserted_id> not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_last_inserted_id> in module <db_flatstore> not found
0(27360) DEBUG: <core> [sr_module.c:631]: find_export_record:
<db_insert_update> not found
0(27360) DEBUG: <core> [sr_module.c:684]: find_mod_export:
<db_insert_update> in module <db_flatstore> not found
0(27360) ERROR: <core> [db.c:79]: module db_flatstore does not export
db_use_table function
0(27360) ERROR: acc [acc.c:333]: bind_db failed
0(27360) ERROR: acc [acc_mod.c:459]: failed...did you load a database
module?
0(27360) ERROR: <core> [sr_module.c:875]: init_mod(): Error while
initializing module acc
(/usr/local/kamailio-3.1/lib/kamailio/modules_k/acc.so)
ERROR: error while initializing modules
Any idea?
Thanks in advance
Javier
Hey Guys,
I was wondering if anyone knows some Windows Based softphone to do
some tests on my Kamailio 1.5.4 deployment that will allow insertion
of custom headers or at least Remote-Party-ID and/or
P-Asserted-Identity.
Thanks in advance,
Uriel
Does tm.t_uac_wait RPC call block a worker process while waiting for a
reply, or use some sort of asynchronous callback?
Thanks,
--
Alex Balashov - Principal
Evariste Systems LLC
1170 Peachtree Street
12th Floor, Suite 1200
Atlanta, GA 30309
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/
never write private emails. They will be simply discarded.
ngrep gets the traffic before the firewall. Do you have a firewall?
start kamailio with log_stderror=yes and debug=5. if you don't see any
sip message processing, then sip traffic does not reach the application
layer.
Cheers,
Daniel
On 11/18/10 10:39 AM, Danny Dias wrote:
> Thanks for the answer Daniel,
>
> 2010/11/17 Daniel-Constantin Mierla<miconda(a)gmail.com>
>> Hello,
>>
>> On 11/17/10 6:58 PM, Danny Dias wrote:
>>
>> Hello,
>> I'm having problems with my kamailio, my phones are unable to register into the Proxy. I have been checking with ngrep-sip and all i'm receiving is many REGISTER from the phones but never getting some response from the Proxy
>> The Proxy has a public IP and the phones are behind NAT. The weir thing is that my logs are not showing any output...and as you can see on the script, i have a section to receive REGISTER requests....
>> if (is_method("REGISTER")) {
>> if (!save("location")) {
>> sl_reply_error();
>> }
>> exit;
>> }
>>
>> If everything is fine, then no log message should be printed if debug parameter is low.
> But i should see in the Kamailio logs the answers, right? or i have to
> configure this on the scripts?
>
> My debug is on "3"
>
>> But if you run in debug mode with a high value and nothing is printed, then the SIP traffic does not reach the>application. A reason for that might be a firewall, do you run one?
> The SIP traffic is arriving the machine (at least), i have checked
> this with the ngrep on the server running kamailio:
>
> #
> U 2010/11/18 10:26:03.331925 212.230.253.164:43686 -> 212.230.19.191:5060
> REGISTER sip:212.230.19.191 SIP/2.0'
> Via: SIP/2.0/UDP 10.134.16.164:43686;branch=z9hG4bK247264420;rport'
> From:<sip:101@212.230.19.191>;tag=1251867918'
> To:<sip:101@212.230.19.191>'
> Call-ID: 2022066534-16466-1(a)BA.BDE.BG.BGE'
> CSeq: 4647 REGISTER'
> Contact:<sip:101@10.134.16.164:43686>;reg-id=2;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B821FA066>"'
> Max-Forwards: 70'
> User-Agent: Grandstream GXV3140 1.0.1.1'
> Supported: path'
> Expires: 3600'
> Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO,
> REFER, UPDATE, MESSAGE'
> Content-Length: 0'
> '
>
> #
> U 2010/11/18 10:26:05.339925 212.230.253.164:43686 -> 212.230.19.191:5060
> REGISTER sip:212.230.19.191 SIP/2.0'
> Via: SIP/2.0/UDP 10.134.16.164:43686;branch=z9hG4bK247264420;rport'
> From:<sip:101@212.230.19.191>;tag=1251867918'
> To:<sip:101@212.230.19.191>'
> Call-ID: 2022066534-16466-1(a)BA.BDE.BG.BGE'
> CSeq: 4647 REGISTER'
> Contact:<sip:101@10.134.16.164:43686>;reg-id=2;+sip.instance="<urn:uuid:00000000-0000-1000-8000-000B821FA066>"'
> Max-Forwards: 70'
> User-Agent: Grandstream GXV3140 1.0.1.1'
> Supported: path'
> Expires: 3600'
> Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO,
> REFER, UPDATE, MESSAGE'
> Content-Length: 0'
>
> And i never gets a response from Kamailio, for example, a 200 OK, or a
> 407 unauthorized...
>
> What can i do?
>
>> Cheers,
>> Daniel
>>
>> --
>> Daniel-Constantin Mierla
>> http://www.asipto.com
>
> --
> Ing. Danny Dias
> www.DannTEL.net
--
Daniel-Constantin Mierla
Kamailio (OpenSER) Advanced Trainings
Nov 22-25, 2010, Berlin, Germany
Jan 24-26, 2011, Irvine, CA, USA
http://www.asipto.com
Hi all
I'm trying to get the number of registered subscribers in a kamailio 3.0.4
setup.
I'm trying to use usrloc's exported function "ul_get_num_users" but I get a 500
error:
kamctl fifo ul_get_num_users
500 command 'ul_get_num_users' not available
Using get_statistics I get:
test3:~# kamctl fifo get_statistics usrloc:
usrloc:registered_users = 2
usrloc:location-users = 2
usrloc:location-contacts = 2
usrloc:location-expires = 0
Trying to query for a specific stat, seems like I do not use the correct syntax:
test3:~# kamctl fifo get_statistics usrloc:registered_users
404 Statistics Not Found
Anyone could help me with the correct syntax for the function and fifo?
thanks