Hi all,
I have seen Siremis charts that account stats such as INVITE to 200 and
INVITE to 404.
I would like to have this sort of accounting but without the use of the
Siremis UI, so I am wondering how is this achieved, is this done through
the ACC module and correlating responses?
TIA
Hi Group,
I stumbled upon a possible bug in Kamailios (4.0.0) Path module.
Setup: Proxy server is behind another Kamailio Load Balancer and both
(Proxy & LB) are configured to use Path module.
When client registers for the first time path is inserted into Location
table successfully however when client switches from currently Access Point
to another AP (which are both behind a NAT), Path attribute in Location
table is not updated with newer <ip>:<port>
When client switched from one AP to another, IP remained same however port
changed from 48238 to 33038 and subsequent update query issued by Kamailio
is as follows:
update location set expires='2014-07-11 19:27:32',q=-1.00
,cseq=1805331004,flags=0,cflags=64,user_agent='xxxxxxxxxx',received='sip:xx5.xx1.xx1.219:
*33038*;transport=tcp',path='<sip:xx3.xx1.xx9.53;transport=tcp;lr;received=\'sip:xx5.xx1.xx1.219:33038;transport=tcp\'>',socket='tcp:xx3.xx1.xx9.28:5060',methods=16351,last_modified='2014-07-11
18:27:32',ruid='uloc-53bf7f9c-4254-e',instance='<urn:imei:911304251588897>',reg_id=1
where username='testuser' *AND
**contact='sip:testuser@xx5.xx1.xx1.219:33038;transport=tcp'
*AND callid='7983ce39-2ffd3a92-8f82f477-e6313128-84b64128' AND domain='
vvoip.xxxxxxxx.com'
In the where clause contact should have been old value taken from initial
registration, however contact from new registration is used, so where
condition always fails and entry is never updated. as a result no further
calls or messages could be received by the client.
is there any workaround for this issue?
PS: Here is the configuration of path module.
# set path to lazy mode
modparam("registrar", "path_mode", 1)
# set to 1 to use path header
modparam("registrar", "use_path", 1)
# set to 1 to use path received parameter
modparam("registrar", "path_use_received", 1)
modparam("path", "use_received", 1)
Thanks & Regards,
Prasun
Hi,
I am trying to upgrade from mediaproxy-ng to rtpengine trunk version. The
compilation steps go well and i have deb packages created. However when i
try to install them (on same machine where they compiled), i get this error
for every deb package,
ngcp-rtpengine-daemon pre-depends on ngcp-system-tools
* ngcp-system-tools is not installed.*
I can't find this ngcp-system-tools package anywhere, neither on source nor
in built deb packages. So, i am stuck.
Can anyone help?
Thank you.
Hi,
I'm trying to make configuration that will trace registrations. I can
trace REGISTER messages using sip_trace. But how can i trace responses
generated by pv_www_authenticate using sip_trace?
Rafal Skrzeczkowski
Hi Friends,
I have to configure a Kamailio in to meet following requirements
1. PC having 2 NICs (NIC-A and NIC-B) with 2 different IPs (IP-A and IP-B)
from 2 different service providers.
Totally 2 different IPs.
NIC-A attached to provider is a private SIP traffic provider and having
IP-A. (no internet access)
NIC-B attached to internet service provider and having IP-B.
2. I get SIP traffic to IP-A of NIC-A from SIP traffic provider.
3. I need to forward that SIP traffic to another SIP carrier in remote
location using IP-B of NIC-B through internet and have the call establish
without any issue.
How can I achieve this with single instance of Kamailio running on same
machine.
Please advice me.
Best Regards,
Roy.
Hi,
We've had the following crash. Kamailio 4.0.4
Client sends SUBSCRIBE, kamailio answers 202.
Kamailio sends NOTIFY, client answers 100 trying.
fr_timer is 5000. The client doesn't send "200 OK", so kamailio generates 408.
Any suggestions?
Regards,
Kristian Høgh
(gdb) bt
#0 0x00007f3ab0c91852 in cancel_branch (t=0x7f3a9c779190, branch=0, reason=<value optimized out>, flags=4) at t_cancel.c:284
#1 0x00007f3ab0cd9c9b in reply_received (p_msg=0x7f3ab26ac560) at t_reply.c:2198
#2 0x0000000000458924 in do_forward_reply (msg=0x7f3ab26ac560, mode=<value optimized out>) at forward.c:799
#3 0x00000000004a108e in receive_msg (
buf=0x8dbd80 "SIP/2.0 100 Trying\r\nVia: SIP/2.0/UDP 10.10.10.10;branch=z9hG4bK83f6.32f26ad2.0\r\nTo: sip:554@<domain>;tag=7ce8fb6e\r\nFrom: sip:144@<domain>;tag=93983715339d3cf39b"..., len=<value optimized out>, rcv_info=0x7fff70f07090) at receive.c:272
#4 0x0000000000533ed6 in udp_rcv_loop () at udp_server.c:557
#5 0x000000000046964a in main_loop () at main.c:1638
#6 0x000000000046c4e2 in main (argc=<value optimized out>, argv=<value optimized out>) at main.c:2566
Hello Experts,
I have two Kamailio servers with built in presence servers with load
balanced with DNS, both sharing same data base. Registration,
authentication and messaging are working without any problem. When it comes
to Presence, NOTIFY messages generated by Kamailio is getting rejected by
firewall if the client didn't register to that particular Kamailio. In
MESSAGES case, I read the socket info from Location table, if the client is
not registered to that Kamailio forwarded to the server which serving that
user. But in NOTIFY case, these messages are not coming to routing logic at
all, Kamailio is directly sending messages by looking at the contact
information from active-watchers table.
One possible solution I am thinking is, separating presence logic and
starting that as separate server. That way I can play with contact header.
Any other thoughts, I appreciate any help with this. I have spent enough
time on this.
Thanks,
Veera
Thanks,
Veera
Hi,
q value is used in location table for serial forking.
If you have a subscriber with 2 contact registered you can use the q value to load one contact first (the one with the higher q) and afterwards load and call the second one.
Highest is the value stored, highest is the priority.
Daniel
On 9 Jul 2014 06:20, aawaise <owaisulhaq(a)hotmail.com> wrote:
>
> There is a mention of highest "q value" in documentation of registrar
> module's function "lookup(domain [, uri])".
> Can some one please explain what this "q value" is ??
> It is used in 4.2 section of following link.
> http://kamailio.org/docs/modules/stable/modules/registrar.html#idp1976344
>
> Any help will be appreciated. Thanks.
>
>
>
> --
> View this message in context: http://sip-router.1086192.n5.nabble.com/What-is-q-value-tp128895.html
> Sent from the Users mailing list archive at Nabble.com.
>
> _______________________________________________
> 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-users
I want to extract domain of a user from Location List
For this I found "reg_fetch_contacts(table, uri, profile)" function to be
the most suitable function.
I want to know when was it added to registrar module ? Can it be used in
kamailio version 3.1.1 ? Or I should update my kamailio version ??
Thanking in advance.
--
View this message in context: http://sip-router.1086192.n5.nabble.com/Using-reg-fetch-contacts-in-Kamaili…
Sent from the Users mailing list archive at Nabble.com.