Hi Fuad,
I think you should put the db return value in am avp before using it in the
sl_send_reply.
$avp(ip) = $avp(ra=>ip)
Or whatever the syntax is. Make sure that the DB query is returning the
required value.
Also I guess just using a 302 is not enough and you need to set the proper
contact
Hello Daniel
After all Kamailio was not calling set_contact_alias
on reply received from itself. So in reply_route block calling following
code
resolved the issue.
if (src_ip == "KAMAILIO_IP_ADDRESS" && status == "200") {
if ($fU == "click2call") {
Dear Support,
Kindly find below my Database Table (kamailio.ext). Column names are "ext"
and "ip"
mysql> select * from ext
-> ;
+--++
| ext | ip |
+--++
| 202 | 192.168.55.157 |
| 203 | 192.168.55.158 |
| 204 | 192.168.55.159 |
Thanks Daniel,
just completed the building of all Centos and Redhat rpms with RADIUS
support.
Regards,
Antonio.
Il 28/04/2016 17:46, Daniel-Constantin Mierla ha scritto:
Hello,
thanks for pursuing further on this!
I granted you (user r4ndomx) access to kamailio project on opensuse
build
Hello Daniel
I forgot to mention when I sent the capture file.
There is only single Kamailio instance running but It listens multiple
ports.
5090 for outside traffic and 5060 for inside traffic (other Kamailio
servers, FS servers, etc.)
On Wed, Apr 27, 2016 at 7:49 PM, huseyin kalyoncu
Hello,
thanks for pursuing further on this!
I granted you (user r4ndomx) access to kamailio project on opensuse
build service. You can make there the same setting as you did for your
repo to get the radius packages built.
Let me know if you need anything else.
Cheers,
Daniel
On 27/04/16
Hi.
Try something like this
$var(valor)=0;
$var(valor) = $dbr(ra=>[0,0]);
Use $var(valor) for that purpose.
I will check address table if you plan to use some ip authentication or
similar.
Its more powerful if you are looking for that
BR
2016-04-28 16:19 GMT+02:00 Shahid Mehmood
Thanx ur kind reply
sql_query("cb", "select ip from ext where ext='$rU'", "ra");
$var(a)= sql_result_free("ra");
i have an other question . how i get data return from sql query. i get 1
from sql_result_free("ra"); i need ip address like below
mysql> select ip from ext where ext=202
-> ;
Just a point . Its not needed to resend same email every day. Will try to
do the best with mailing list, but sometimes we are ill, occupied.. or just
do not know what to answer..
BR
2016-04-27 16:18 GMT+02:00 Shahid Mehmood :
> Dear All,
> i am getting error
Ups Sorry
#!ifdef WITH_MYSQL
loadmodule "db_mysql.so"
#!endif
modparam("sqlops","sqlcon","cb=>mysql://root:pass@IP/kamailio")
if($rU=~"^1[0-9][0-9]$")
{
sql_query("cb", "select asterisk from x where extension='$rU'","valora");
sql_result_free("valora");
}
With no issues..
Any error on mysql¿
Hi José
Ivailo is correct here, you need to have p-cscf *be* the SBC or at least
sit in front of one if it is not the SBC. If not you will effectively be
sending "junk" to the PCRF and it will be impossible for it to signal the
correct setup of bearers between UE and P-CSCF/SBC.
Then, re. youre
Hi Ivo,
That answers to my doubts.
Thank you
Regards
José
2016-04-27 23:22 GMT+01:00 Ivailo Dobrev :
> Hi Jose,
>
> Framed IP or some king of hashing over IP/identitiy/APN... is used from
> PCRF for session binding. If I understand question right the short answer
> is
Hi Daniel.
I have create pool request as you have proposed.
https://github.com/kamailio/kamailio/pull/587
After this patches problem with memory leak was solved for me.
Thank you.
--
Best regards,
Sergey Basov e-mail: sergey.v.ba...@gmail.com
tel: (+38067) 403-62-54
Hi Jose,
Framed IP or some king of hashing over IP/identitiy/APN... is used from
PCRF for session binding. If I understand question right the short
answer is that reservation from PCRF is made by
Media-Component-Description not by framed IP address. In your
architecture if Kamailio instance
14 matches
Mail list logo