Hi community,
I'm dealing with a problem here related to presence module handling BLF. My
BLF phones are Yealink T28p with latest firmware and work perfectly with
Asterisk and FreeSwitch but not with Kamailio as expected.
What I'm observing here is a malfunctioning statuses due to accumulation of
multiple entries of just one status in "presentitiy" table. These entries
neither get expired not cleared from DB hence I see atleast 21 XML tags
combined in the NOTIFY sent to Phones.
Here is what I've figured out a manual way to make the BLF work fine again.
*Step -1* Make call between two endpoints. see entries in presentitiy table
showing up.
*Step -2* NOTIFYs sent to phones subscribing those users from Kamailio and
phones show correct flashing red BLF lights
*Step -3* clear the entries from presentity table manually i.e mysql>
truncate presentity;
*Step -4* Hangup the phones, presentity table shows few more entries with
state='terminated' NOTIFY sent again to subscribers.. BLF lighst turn green
happily.
Here are my module params:
modparam("presence", "db_url", DBURL)
modparam("presence", "notifier_processes", 1)
modparam("presence", "server_address", "sip:1.2.5.5" )
modparam("presence", "send_fast_notify", 0)
modparam("presence", "db_update_period", 1)
modparam("presence", "clean_period", 4)
modparam("presence", "subs_db_mode", 2)
modparam("presence", "max_expires", 36)
modparam("presence", "expires_offset", 10)
modparam("presence", "subs_htable_size", 12)
modparam("presence", "pres_htable_size", 12)
modparam("presence", "fetch_rows", 1000)
(these params were set as default earlier but I changed them as above
hoping they'll help)
Kindly share your expert opinion.
Best Regards,
Sammy
Hi All,
I am using Kamailio as proxy server with Asterisk but having some issues
with Inbound and outbound calls. Asterisk is a registrar, Kamailio is a
just for proxy. Using softphone call are working fine but using hardphone,
its creating issues.
Here are the test cases.
No Test case *98
Inbound
1 ATA registered with Proxy Domain No No
2 ATA registered with Proxy IP Yes Yes
3 ATA registered with Asterisk domain No No
4 ATA registered with Asterisk IP Yes Yes
5 Soft phone registered with Proxy Domain Yes Yes
6 Soft phone registered with Proxy IP Yes Yes
7 Soft phone registered with Asterisk domain Yes Yes
8 Soft phone registered with Asterisk IP Yes Yes
Here I am dialling *98 with the mentioned scenario, if it goes to voicemail
options then Yes, else No
I am using ALLO ATA.
Here is my Kamailio.cfg http://pastie.org/9887806
Regards
Juned Khan / Network Engineer
+91 9974740823/ juned.khan(a)inextrix.com
iNextrix Technologies Pvt Ltd.
www.inextrix.com <http://htmlsig.com/www.inextrix.com>
[image: Facebook] <https://www.facebook.com/junedkhan23> [image: Twitter]
<https://twitter.com/juned23> [image: Google Plus]
<https://plus.google.com/+JunedKhan> [image: Linkedin]
<http://htmlsig.com/in.linkedin.com/in/junedk>
This e-mail message may contain confidential or legally privileged
information and is intended only for the use of the intended recipient(s).
Any unauthorized disclosure, dissemination, distribution, copying or the
taking of any action in reliance on the information herein is prohibited.
E-mails are not secure and cannot be guaranteed to be error free as they
can be intercepted, amended, or contain viruses. Anyone who communicates
with us by e-mail is deemed to have accepted these risks. Company Name is
not responsible for errors or omissions in this message and denies any
responsibility for any damage arising from the use of e-mail. Any opinion
and other statement contained in this message and any attachment are solely
those of the author and do not necessarily represent those of the company.
Hello,
Kamailio SIP Server v4.2.3 stable release is out.
This is a maintenance release of the latest stable branch, 4.2, that
includes fixes since release of v4.2.2. There is no change to database
schema or configuration language structure that you have to do on
installations of v4.2.x. Deployments running previous v4.x.x versions
are strongly recommended to be upgraded to v4.2.3.
For more details about version 4.2.3 (including links and guidelines to
download the tarball or from GIT repository), visit:
* http://www.kamailio.org/w/2015/02/kamailio-v4-2-3-released/
RPM, Debian/Ubuntu packages will be available soon as well.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com
I forgot to precise that I allow only one contact per AOR.
modparam("registrar", "max_contacts", 1)
save("location", "0x04")
From: Mickael Marrache [mailto:mickaelmarrache@gmail.com]
Sent: Friday, January 30, 2015 10:51 AM
To: sr-users(a)lists.sip-router.org
Subject: Wrong location entries when using usrloc with Mongo
Hi,
I start with no location nor in Mongo, nor in memory. My UA registers
successfully and I can see the location entry in Mongo. Then, I close my UA
which unregisters (by setting Expires header to 0). Then, I open the app
again and a new registration is made.
The entry after first registration. Looks okay.
{ "_id" : ObjectId("54cb38f684e58133783f2b42"), "username" : "A", "contact"
: "sip:A@192.168.1.3:54217;rinstance=DFAEBBC7;transport=tcp", "expires" :
ISODate("2015-01-30T08:55:34Z"), "q" : -1, "callid" :
"297EC55073A07BF78F0C05822A6CCDFB47E48705", "cseq" : 8809, "flags" : 0,
"cflags" : 0, "user_agent" : "Acrobits Softphone Business/3.1", "received" :
"sip:XXXXXXXXXXX:54217;transport=tcp", "path" :
"<sip:XXXXXXXXXX;lr;received=sip:XXXXXXXXXXX:54217%3Btransport%3Dtcp>",
"socket" : "udp:XXXXXXXXX:5060", "methods" : 4751, "last_modified" :
ISODate("2015-01-30T07:55:34Z"), "ruid" : "uloc-54cb38df-3378-2", "instance"
: null, "reg_id" : 0 }
The same entry after un register (Expires 0). Note that the username field
is missing. In any case, I expected the entry to be deleted.
{ "_id" : ObjectId("54cb38f684e58133783f2b42"), "expires" :
ISODate("2015-01-30T08:56:51Z"), "q" : -1, "cseq" : 8811, "flags" : 0,
"cflags" : 0, "user_agent" : "Acrobits Softphone Business/3.1", "received" :
"sip: XXXXXXXXX:54217;transport=tcp", "path" : "<sip:
XXXXXXXXX;lr;received=sip: XXXXXXXXX:54217%3Btransport%3Dtcp>", "socket" :
"udp: XXXXXXXXX:5060", "methods" : 4751, "last_modified" :
ISODate("2015-01-30T07:56:51Z"), "callid" :
"297EC55073A07BF78F0C05822A6CCDFB47E48705", "instance" : null, "reg_id" : 0,
"contact" : "sip:A@192.168.1.3:54217;rinstance=DFAEBBC7;transport=tcp" }
The entries after second registration. The new entry looks okay. But, the
old entry is still here.
{ "_id" : ObjectId("54cb38f684e58133783f2b42"), "expires" :
ISODate("2015-01-30T08:56:51Z"), "q" : -1, "cseq" : 8811, "flags" : 0,
"cflags" : 0, "user_agent" : "Acrobits Softphone Business/3.1", "received" :
"sip: XXXXXXXXX:54217;transport=tcp", "path" : "<sip:
XXXXXXXXX;lr;received=sip: XXXXXXXXX:54217%3Btransport%3Dtcp>", "socket" :
"udp: XXXXXXXXX:5060", "methods" : 4751, "last_modified" :
ISODate("2015-01-30T07:56:51Z"), "callid" :
"297EC55073A07BF78F0C05822A6CCDFB47E48705", "instance" : null, "reg_id" : 0,
"contact" : "sip:A@192.168.1.3:54217;rinstance=DFAEBBC7;transport=tcp" }
{ "_id" : ObjectId("54cb3a7884e581337a25b895"), "username" : "A", "contact"
: "sip:A@192.168.1.3:54217;rinstance=DFAEBBC7;transport=tcp", "expires" :
ISODate("2015-01-30T09:02:00Z"), "q" : -1, "callid" :
"297EC55073A07BF78F0C05822A6CCDFB47E48705", "cseq" : 8813, "flags" : 0,
"cflags" : 0, "user_agent" : "Acrobits Softphone Business/3.1", "received" :
"sip: XXXXXXXXX:54217;transport=tcp", "path" : "<sip:
XXXXXXXXX;lr;received=sip: XXXXXXXXX:54217%3Btransport%3Dtcp>", "socket" :
"udp: XXXXXXXXX:5060", "methods" : 4751, "last_modified" :
ISODate("2015-01-30T08:02:00Z"), "ruid" : "uloc-54cb38df-337a-1", "instance"
: null, "reg_id" : 0 }
The issue is the entry is not deleted after un registering.
I precise that registrations are dispatched over multiple registrars with
all accesses the same Mongo cluster.
Thanks,
Mickael
Hi,
Is there a way to set a dialog variable when a BYE is received so that it
can be written in a CDR?
I tried as follows but it didn't work:
if (loose_route()) {
..
if(is_method("BYE")) {
if(is_direction("downstream")) {
#Call disconnected by caller
$dlg_var(dr) = 700;
} else {
#Call disconnected by callee
$dlg_var(dr) = 701;
}
xlog("Setting disconnect reason to $dlg_var(dr)\n");
}
..
exit;
}
The xlog statement prints:
ERROR: <script>: Setting disconnect reason to <null>
The doc states:
This pseudo-variable will be available only for subsequential requests after
doing loose_route().
Thanks,
Mickael
Hello,
I am planning to release a new version from latest stable branch -
4.2. Most likely it will be Tuesday next week (Feb 10). If there is
something important to take in consideration for this version, reply to
sr-dev mailing list.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Dear Kamailo team,
I am facing problem in connecting kamailio on TLS, even kamailio is
listening perfectly. TLS certificate are also tested.
Kindly find attached logs and kamailio configuration file and give me your
valuable feedback.
*Eocean Pvt. Ltd.*
*Taha Zafar*
VoIP Engineer
Mobile: 03318244432
Disclaimer:
This email and any attachments to it may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any views or
opinions expressed are solely those of the author and do not necessarily
represent those of Eocean (Pvt) Ltd. If you are not the intended recipient
of this email, you must neither take any action based upon its contents,
nor copy or show it to anyone. Please contact the sender if you believe you
have received this email in error.
Hi all,
I'm getting crazy trying to setup a kamailio to do a parallel call forward to multiple destinations based on a query to the DB.
I do the db query and get the RURI's of the destinations I could forward the call to in parallel, then when I get the resulset I do:
[...]
$var(cf_idx) = 0;
while(is_avp_set("$(avp(s:cf_destinations)[0])"))
{
$ru = $(avp(s:cf_destinations)[0]); # Set the new RURI to call to
$(avp(s:cf_destinations)[0]) = $null; # Setting it to $null pull the value from the stack
$(avp(s:callee_fr_inv_timer)[*]) = $(avp(s:cf_timeouts)[0]) * 1000;
t_set_fr("$avp(s:callee_fr_inv_timer)");
$(avp(s:cf_timeouts)[0]) = $null;
route(ROUTE_ACC_CF); # Do the ACC
$(avp(s:acc_state)[*]) = "cfna";
$(avp(s:hih_cause)[*]) = "404";
$var(cf_idx) = $var(cf_idx) + 1;
append_branch();
}
route(ROUTE_EXECUTE_CF_LOOP); # Some final task and then t_relay
[...]
But only the last RURI get called
How do I do to accomplish this? ... I need to change the $ru of each new branch, so when request get loop-back to the proxy, it do again all the lookup logic.
Best regards