Hi:
I posted a question to the list yesterday. I am a subscriber and the
attributes for my profile have me included on all MSG traffic but I
have not seen the MSG go out. Can you check on that? Should I resend
the question? Thank you.
Martin Lane
Luis Guaman wrote:
>
> Thanks Santiago, now it works great!
>
> siremis/metadata/Config.xml with changes:
>
> <?xml version="1.0" standalone="no"?>
>
> <Config>
>
> <DataSource>
>
> <Database Name="Default" Driver="Pdo_Mysql" Server="x.x.x.x"
> DBName="openser" User="openser" Password="xxxx" />
>
> <Database Name="Siremis" Driver="Pdo_Mysql" Server="x.x.x.x"
> DBName="openser" User="openser" Password="xxxx" />
>
> </DataSource>
>
> </Config>
>
so that was missing in the sample metadata/Config.xml file -- I did a
quick 0.9.4 release to fix it.
http://siremis.asipto.com/pub/downloads/siremis/siremis-0.9.4.tgz
I will do a separate email to announce it.
Best regards,
Ramona
> *De:* Santiago Gimeno [mailto:santiago.gimeno@gmail.com]
> *Enviado el:* Jueves, 01 de Octubre de 2009 4:27
> *Para:* Luis Guaman
> *CC:* users(a)lists.kamailio.org
> *Asunto:* Re: [Kamailio-Users] Siremis JSON error
>
> Hi Luis,
>
> I ran into this problem too. In order to solve it I had to add a new
> Database element to the siremis/metadata/Config.xml file with the Name
> attribute set to Default and pointing to your openser database. I
> don't know the reason of having two Databases elements pointing to the
> same databases though.
>
> Best regards,
>
> Santi
>
> 2009/9/30 Luis Guaman <luis.guaman(a)interlancompu.com
> <mailto:luis.guaman@interlancompu.com>>
>
> Hi,
>
> When we tried to run a Siremis Chart got the following error message:
>
> “Open Flash Chart
>
> JSON Parse Error [Syntax Error]
>
> Error at character 0, line 1:
>
> 0: <body style='font-family:Arial; font-size:12px;
> background-color:#FCFCFC;'>Error m”
>
> Some help??
>
> Atentamente,
>
> Luis Guamán
>
> Desarrollo de Negocios
>
> República 396 y Diego de Almagro
>
> Ph:+593.2.2526585
>
> Cel:+593.9.4264354
>
> Quito - Ecuador
>
> logoReducido
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users(a)lists.kamailio.org <mailto:Users@lists.kamailio.org>
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users(a)lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
SER Users:
Thanks in advance for any help!
I am running ser 0.9.6 and have a relatively simple cfg file. I have only
four (4) digit extensions, no PSTN, no NAT and I do not care about
authorization so my config file is basically the Hello World ser.cfg with my
system parameters and a few statements in route that allowed me to create
standing conference rooms and an echo application with sems.
Now I need to implement call forwarding and I have been able to setup the
MySQL ser usr_preferences table per chapter 10 of the 'SER - Getting
Started' and the 'mySQL newbie? Problems with mySQL and SER?' documents.
After adding the call forwarding functionality discussed in chapter 10
inside my config file any number dialed to a SIP device rings busy. All SIP
devices register and can call the conference rooms or the echo application
but they can not call each other. I will spare you my WireShark logs but
can provide if that is needed.
I'm looking for trouble shooting suggestions. Is there a way to print to
the std i/o from inside the cfg file? This is the first time I needed to
handle the INVITE message so I've included my INVITE Message Handler and the
Call Forwarding Handler that I added for this effort:
if (method=="ACK") {
route(1);
break;
} if (method=="INVITE") {
route(3);
break;
} if (method=="REGISTER") {
route(2);
break;
};
...
route[3] {
# ----------------------------------------------------------------------
# INVITE Message Handler
# ----------------------------------------------------------------------
# Note: We are using this fuction only as a hook into the
# blind call forwarding feature. Simply want to change the
# R-URI and relay the message.
if (avp_db_load("$ruri/username", "s:callfwd")) {
setflag(22);
avp_pushto("$ruri", "s:callfwd");
# Would love to do a printf here to see if this code is being hit!!!
# Wireshark show INVITE messages are being sent.
# debug/printf("\n\n****** Inside route(3) ********\n\n");
# At this point the a blind call forwarding record was found and the
# new destination was written in the R-URI.
# DEBUG: try just calling route(1).
# route(1);
# Send to Call Forwarding Handler
route(6);
break;
};
route(1);
}
route[6] {
# ----------------------------------------------------------------------
# Blind Call Forwarding Handler
#
# This must be done as a route block because sl_send_reply() cannot be
# called from the failure_route block
# ----------------------------------------------------------------------
lookup("aliases");
if (!is_uri_host_local()) {
if (!isflagset(22)) {
append_branch();
};
route(1);
break;
};
if (!lookup("location")) {
if (uri=~"^sip:[0-9]{4}@") {
route(1);
break;
};
sl_send_reply("404", "User Not Found");
break;
};
# DEBUG: There are no alias' and we are not sending calls to other
# networks. We may just need to call route(1) and not this
# function.
route(1);
}
Hi Luis,
I ran into this problem too. In order to solve it I had to add a new
Database element to the siremis/metadata/Config.xml file with the Name
attribute set to Default and pointing to your openser database. I don't know
the reason of having two Databases elements pointing to the same databases
though.
Best regards,
Santi
2009/9/30 Luis Guaman <luis.guaman(a)interlancompu.com>
> Hi,
>
> When we tried to run a Siremis Chart got the following error message:
>
>
>
> “Open Flash Chart
>
>
>
> JSON Parse Error [Syntax Error]
>
> Error at character 0, line 1:
>
>
>
> 0: <body style='font-family:Arial; font-size:12px;
> background-color:#FCFCFC;'>Error m”
>
>
>
> Some help??
>
>
>
> Atentamente,
>
>
>
> Luis Guamán
>
> Desarrollo de Negocios
>
> República 396 y Diego de Almagro
>
> Ph:+593.2.2526585
>
> Cel:+593.9.4264354
>
> Quito - Ecuador
>
> [image: logoReducido]
>
>
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users(a)lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>