Hi Daniel,
While debugging a 'no private memory left' issue by using `kamcmd
pkg.stats` we stumbled upon data we don't understand. Could you help
with some information?
`kamcmd pkg.stats`returns free values of about 8M per process with an
exception:
kamailio with no apparent problems: `timer` process: free value: 8M
used value: 100M real_used: 308M.
kamailio with no private memory left: `timer` process: free value: 8/9M
used value: 98M real_used: 662M
(both mentioned kamailios have roughly the same load)
Are these timer values normal? What is this real_used value and how can
it be bigger than the allocated pkg mem?
Additionally, how come we don't see the fifo process pkg stats in the
output of `kamcmd pkg.stats`?
We get the error message when doing reloading backlists via kamctl fifo.
Thank you,
Lucian Balaceanu
Dear all,
I got into the Kamailio world recently, and just wanted to get some info here about the compatibility between Siremis and Kamailio. From what I read, Siremis is wonderful web management tool for Kamailio. However the latest Siremis to date is 4.2.0 which was released more than a year ago. From the release note, it was intended to work with Kamailio 4.2, but Kamailio 4.4 has already released. I'm wondering if there's known compatibility issues between Siremis 4.2 and later released of Kamailio, like 4.3 and 4.4. Any information is appreciated.
Regards,Jay
Hello,
I am planning to insert the caller id in my Kamailio before sending the
call to sip vendor.
I am planning to send a prefix before the number and use that prefix in the
SQL query to select the CLID. I was thinking in the sqlops to select the
CLID and then append the result in the Remote-Party-ID:
modparam("sqlops","sqlcon","cb=>mysql://kamailio:abc@10.10.1.1/testdb")
modparam("sqlops","sqlcon","ca=>dbdriver://username:password@dbhost/dbname")
...
...
sql_query("ca", "select clid from mitable where prefix = $var(prefix)", "ra");
xlog("number of rows in table domain: $dbr(ra=>rows)\n");
sql_result_free("ra");
Question.....
¿Is there an specific module to do this or a there a better way?
Thank you
Nelson.-
How can I Catch Text Message in SIP Method Message ?
________________________________
[gh.ge]
ვლადიმერ გაბუნია
IT სამსახურის უფროსი
ტელ: (+995) 32 2505222 +8183
მობ: (995) 577 095333
შპს "ჯეო ჰოსპიტალს"
სათავო ოფისი
თბილისი 0160, ვაჟა-ფშაველას გამზ. № 16;
http://www.gh.ge <http://gh.ge>
Hi all
I have multiple auth credentials split among multiple databases (same server).
I want to extract the password from the correct database for each request and
pass it as arameter to the auth functions.
The problem is, how can I use sqlops and select the correct database in
realtime? the db connection already contains the database to connect to.
Would it if I use a default connection but I put the db I want i the query?
Something like:
select * from database.table ...
select * from $avp(s:database).table where i=1...
cheers,
Jon
If I have a string that contains pseudo variables, e.g,,
$var(uri_pattern) = "sip:$fU@tutpro.com";
is it somehow possible to replace them with their values, something like:
$var(uri) = eval("$var(uri_pattern)");
-- Juha
I noticed that 15 days ago there was rtpengine commit
https://github.com/sipwise/rtpengine/commit/aac8899b612dc8103b89f3f9c921f88…
titled "Release new version 4.4.0.0+0~mr4.4.0.0", but I could not find
the corresponding branch or tag.
If someone wants to use that version, is 'git archive
aac8899b612dc8103b89f3f9c921f88af3501303' the only way to do so?
-- Juha
אני אה כן
בתאריך 4 באפר׳ 2016 8:45 לפנה״צ, "Daniel-Constantin Mierla" <
miconda(a)gmail.com> כתב:
> Hello,
>
> can you run with debug=3 in config file and see if you get some hints from
> syslog messages about what happens ?
>
> Cheers,
> Daniel
>
> On 01/04/16 17:17, Igor Olhovskiy wrote:
>
> Hi!
> I want to create custom Presence server. Main idea - phones subscribes to
> it (for ex, extension 100@domain). This subscription actually lit BLF
> button on a phone.
> But main idea - change status of BLF can arrive from different locations
> via PUBLISH, I assume.
> Problem - phones has different type of SUBSCRIBE, like
> dialog(application/dialog-info+xml) or presence(application/pidf+xml). Some
> of phones are not fully follow RFC (Like using in SUBSCRIBE R-URI not
> domain, but IP, but in From or To - domains are used)
> Phones are registered elsewhere, not on Kamailio. After reading RFC
> (especially event:dialog part) I’ve found about SIP-If-Match part, but
> problem about sync this data across multiple PUBLISH locations.
> Can be Kamailio be a presence server in this scenario?
>
> For ex, SUBSCRIBE
>
> SUBSCRIBE sip:212.232.26.232:5060;transport=udp SIP/2.0
> Via: SIP/2.0/UDP 192.168.88.60:5060;branch=z9hG4bK1656003104;rport
> From: <sip:608@master.rufan.at>;tag=521811605
> To: <sip:*55@master.rufan.at>;tag=05ea6038656678bd0198b8977f3c0221.4e93
> Call-ID: 805970257-5060-2(a)BJC.BGI.II.GA
> CSeq: 20202 SUBSCRIBE
> Contact: <sip:608@192.168.88.60:5060>
> X-Grandstream-PBX: true
> Max-Forwards: 70
> User-Agent: Grandstream GXP2160 1.0.5.33
> Expires: 180
> Supported: replaces, path, timer, eventlist
> Event: dialog
> Accept: application/dialog-info+xml,multipart/related,application/rlmi+xml
> Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER,
> UPDATE, MESSAGE
> Content-Length: 0
>
>
> I’ve tried send to Kamailio this PUBLISH
>
> PUBLISH sip:*55@master.rufan.at:5060 SIP/2.0
> Via: SIP/2.0/UDP 10.0.20.71:5060;branch=z9hG4bK-6930-1-0
> Max-Forwards: 70
> To: <sip:*55@master.rufan.at>
> From: <sip:*55@master.rufan.at:5060>;tag=1
> Call-ID: 1-6930(a)127.0.1.1
> CSeq: 1 PUBLISH
> Contact: <sip:mod_sofia@127.0.1.1:5060>
> Event: presence
> Expires: 3600
> Content-Type: application/pidf+xml
> Content-Length: 486
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <presence xmlns='urn:ietf:params:xml:ns:pidf'
> xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model'
> xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid'
> xmlns:c='urn:ietf:params:xml:ns:pidf:cipid' entity='sip:*
> 55(a)master.rufan.at'>
> <tuple id='z9hG4bK-6930-1-0'>
> <status>
> <basic>open</basic>
> </status>
> </tuple>
> <dm:person id='1'>
> <rpid:activities>
> <rpid:on-the-phone/>
> </rpid:activities>
> <dm:note>Night</dm:note>
> </dm:person>
> </presence>
>
> Kamailio answers with 200OK, but after this - no NOTIFY to subscribed
> clients.
>
> --
> Best regards,
> Igor
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierlahttp://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> Kamailio World Conference, Berlin, May 18-20, 2016 - http://www.kamailioworld.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
>
>
Hi!
I want to create custom Presence server. Main idea - phones subscribes to
it (for ex, extension 100@domain). This subscription actually lit BLF
button on a phone.
But main idea - change status of BLF can arrive from different locations
via PUBLISH, I assume.
Problem - phones has different type of SUBSCRIBE, like
dialog(application/dialog-info+xml) or presence(application/pidf+xml). Some
of phones are not fully follow RFC (Like using in SUBSCRIBE R-URI not
domain, but IP, but in From or To - domains are used)
Phones are registered elsewhere, not on Kamailio. After reading RFC
(especially event:dialog part) I’ve found about SIP-If-Match part, but
problem about sync this data across multiple PUBLISH locations.
Can be Kamailio be a presence server in this scenario?
For ex, SUBSCRIBE
SUBSCRIBE sip:212.232.26.232:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 192.168.88.60:5060;branch=z9hG4bK1656003104;rport
From: <sip:608@master.rufan.at>;tag=521811605
To: <sip:*55@master.rufan.at>;tag=05ea6038656678bd0198b8977f3c0221.4e93
Call-ID: 805970257-5060-2(a)BJC.BGI.II.GA
CSeq: 20202 SUBSCRIBE
Contact: <sip:608@192.168.88.60:5060>
X-Grandstream-PBX: true
Max-Forwards: 70
User-Agent: Grandstream GXP2160 1.0.5.33
Expires: 180
Supported: replaces, path, timer, eventlist
Event: dialog
Accept: application/dialog-info+xml,multipart/related,application/rlmi+xml
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER,
UPDATE, MESSAGE
Content-Length: 0
I’ve tried send to Kamailio this PUBLISH
PUBLISH sip:*55@master.rufan.at:5060 SIP/2.0
Via: SIP/2.0/UDP 10.0.20.71:5060;branch=z9hG4bK-6930-1-0
Max-Forwards: 70
To: <sip:*55@master.rufan.at>
From: <sip:*55@master.rufan.at:5060>;tag=1
Call-ID: 1-6930(a)127.0.1.1
CSeq: 1 PUBLISH
Contact: <sip:mod_sofia@127.0.1.1:5060>
Event: presence
Expires: 3600
Content-Type: application/pidf+xml
Content-Length: 486
<?xml version="1.0" encoding="ISO-8859-1"?>
<presence xmlns='urn:ietf:params:xml:ns:pidf'
xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model'
xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid'
xmlns:c='urn:ietf:params:xml:ns:pidf:cipid' entity='sip:*55@master.rufan.at
'>
<tuple id='z9hG4bK-6930-1-0'>
<status>
<basic>open</basic>
</status>
</tuple>
<dm:person id='1'>
<rpid:activities>
<rpid:on-the-phone/>
</rpid:activities>
<dm:note>Night</dm:note>
</dm:person>
</presence>
Kamailio answers with 200OK, but after this - no NOTIFY to subscribed
clients.
--
Best regards,
Igor