I have looked for this inside the kamctl and I don't find it, I don't believe that it was that the export error,
somebody that has installed sermyadmin in suse 11?
regards ..
rickygm
Wednesday, October 1, 2008 12:24:06 PM, Iñaki Baz Castillo wrote:
Subject: Re: [Kamailio-Users] sermyadmin setup suse 11
Please, don't send an image attachment, just copy the console output.
This error is very common and is related to "phplib" field.
Modify /etc/openserctl and set it to "no" (or something similar..).
Look for the exact error in Google for more responses.
--
Hello,
in the last time several enhancements were added to registrar module to
help in dealing with user location records. This correlated with the new
modue pv shall give lot of control over the destination set for calls.
To get the latest devel version, check out the latest svn - svn co
https://openser.svn.sourceforge.net/svnroot/openser/trunk kamailio
The news in registrar module are:
- ability to unregister all contacts for a SIP addres - there is a new
function: unregister(table, uri)
- ability to store and maintain single contact per user - the save()
function accepts a new value for flags parameter (0x04) to restrict to
one single record in location table
- ability to access the attributes of all contacts for a user - there
are two new functions: reg_fetch_contacts(table, uri, profile) and
reg_free_contacts(profile) to make available/release the contacts for a
SIP uri. After fetching the contacts, the attributes can be accessed via
pseudo variable $ulc(profile=>attr)
For more details see the README:
http://www.kamailio.org/docs/modules/devel/registrar.html
Here are couple of use cases:
1) only one contact per user
save("location", "0x04");
Note that if you have couple of phones registering for same user, the
one that sent last REGISTER message will be the only ringing.
2) check if a user is calling from a registered device and if not, deny
the call
if(!reg_fetch_contacts("location", "$fu", "caller"))
{
sl_send_reply("403", "Please register first");
exit;
}
$var(i) = 0;
$var(found) = 0;
$var(contact) = $(ct{nameaddr.uri});
while($var(found) == 0 && $var(i) < $(ulc(caller=>count)))
{
$if($var(contact)==$(ulc(caller=>addr)[$var(i)]))
$var(found) = 1;
else
$var(i) = $var(i) + 1;
}
if($var(found) == 0)
{
sl_send_reply("403", "Please register first");
exit;
}
Testing and feedback is very much appreciated.
For the future:
- unregister() to get a $ulc(...) variable as parameter to unregister a specific contact
- drop a branch via pv module
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
Hi,
I just want to know how RLS handles SUBSCRIBE messages without using XCAP.
I assume that the server already has the list information.
I want send the SUBSRIBE message with resource list format:
SUBSCRIBE sip:list@domain
.
.
supported:eventlist
Accept:application/rlmi+xml
Accept:multipart/related
I added rls, presence, presence_xml, and pua modlues in the configuration
file.
I do not have any problems to run the server.
Which database should I add list@doamin <list@doamin> to?
How do I add the resource list?
What kind of format do I need to add a list if I want to add joe@domain,
bob@domain, tom@domain ?
Do you have some kind of examples?
Thanks you.
Jeon
Hi, I am trying to install sermyadmin 0.8 with the patch of security, but when I export the file openser.sql, it shows me this error:
INSERT INTO `jsec_user_role_rel` (`id`, `version`, `role_id`, `user_id`) V' at line 1
if I try to export it again, it shows me an error message of having duplicated domain I erase the data of the domain chart, but same the same error
ERROR 1062 (23000) at line 6: Duplicate entry '1' for key 1
God blesses, any help is welcome
rickygm
Hi, we are a small hosted VOIP company. We need a box that can take IN
multiple origination providers and route the calls to the appropriate
customer instance on our hosted platform. We use switchvox. We would
also like to have 2-3 outbound routes to gain price efficiency and
redundancy. I need someone that can implement this box and train us how
to use it. you can email me to start a dialogue. We are looking for a
consultant to help us with this.
Hi, figure 2 of
http://www.kamailio.org/docs/modules/devel/presence_dialoginfo.html shows the
presence server sending the NOTIFY directly to the watcher.
Is it possible to send the NOTIFY through the proxy?
Well, since NOTIFY is in-dialog it's just needed that the proxy does RR in the
initial SUBSCRIBE before forwarding it to presence server, am I right?
Thanks.
--
Iñaki Baz Castillo
Hello,
The software contains bug fixes for parallel prepaid calls.
Changelog since 6.6.8
cdrtool (6.6.9) unstable; urgency=low
* Purge old entries from prepaid_history table
* Fixed wrong return to call control engine because
sessionDoesNotExist
variable was not initialized properly at each request
* Print the call id in the syslog when calculating rate
The software can be downloaded from:
http://download.ag-projects.com/CDRTool/
For people running Debian testing or unstable on an i386 architecture
there
is an official public repository provided by AG Projects. To use it, add
these lines in /etc/apt/sources.list
# AG Projects software
deb http://ag-projects.com/debian unstable main
deb-src http://ag-projects.com/debian unstable main
Install the AG Projects debian software signing key:
wget http://download.ag-projects.com/agp-debian-gpg.key
apt-key add agp-debian-gpg.key
After that, run:
apt-get update
apt-get install cdrtool
Regards,
Adrian