Hi,
I would to query the Cassandra database for other information with either CQL or other commands.
Could this be done through means of either avpops or sqlops, like an MySQL database.
This could be done through an external script but I would like to utilize the connection that is already
established.
Thanks,
Bou
Below is the example from http://kamailio.org/docs/modules/3.2.x/modules/tm.htm :
failure_route[0]{
if (t_check_status("5[0-9][0-9]")){
# I do not like the 5xx responses,
# so I give another chance to "foobar.com",
# and I drop all the replies to make sure that
# they are not forwarded to the caller.
t_drop_replies();
rewritehostport("foobar.com");
append_branch();
t_relay();
}
}
Why do append_branch() is present before t_relay().
I'm asking because I didn't used it in failure routes and call rerouting on various conditions worked great.
Hello all,
i sometimes get a very late reply from a broken client which triggers the
following error 9because the call was already continued in another branch):
ERROR: tm [t_reply.c:1193]: ERROR: t_should_relay_response: status rewrite by
UAS: stored: 408, received: 200
Not a problem perse, but i would like to catch this error in the script's
on_reply route because I need to prevent some actions on the reply if it will
not be forwarded to the UAC. Is there a way to do this?
--
Greetings,
Alex Hermann
Hello,
eleven years ago, the first piece of code of the project was committed.
Last year we organized a public event, for the 10 years celebration,
presentations and more details about it at:
* http://sip-router.org/10-years-ser/
For the 11th year, I made a news with the summary of the past year -
definitively it was lot of work, adding many new features:
* http://www.kamailio.org/w/2012/09/kamailio-at-11-years/
Looking forward to the next year celebration, surely it will list
another great set of new features!
Many thanks to everyone helping the project, from advocating to development!
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Hi,
I'm new to Kamailio and would like to set it up with a "circular replication database" on several servers (master-to-master).
Before running 'kamdbctl create' I edited kamctlrc and set DBENGINE to MYSQL (I can use either MySQL or PostgreSQL or both - I just need to use a cluster of servers).
What would you suggest?
Should I set DBENGINE=MYSQL and configure a cluster of databases as described here:
http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-replication-multi-mast…
Or does kamailio provide another way to do the same job? What does the db_cluster module do and where/how should I use it?
Thanks,
Vieri
i have this piece of config code:
modparam("dialplan", "attrs_pvar", "$var(plan)")
...
xlog("L_INFO", "Translating <$var(calling_number)> based on dpid 4\n");
if (dp_translate("4", "$var(calling_number)")) {
xlog("L_INFO", "Found attrs <$var(plan)>\n");
...
dpid 4 has three entries:
109 4 10 1 ^\+1 0 na
107 4 10 1 ^\+358 0 fi
108 4 10 1 ^\+46 0 se
thus in each entry attrs field has some two letter value.
when the above piece of code is executed, i get to syslog
Aug 31 19:06:51 wheezy2 /usr/sbin/sip-proxy[7162]: INFO: Translating <+35892345670> based on dpid 4
Aug 31 19:06:51 wheezy2 /usr/sbin/sip-proxy[7162]: INFO: Found attrs <0>
if i restart the proxy, attrs value may change to some other bogus
value.
any ideas?
-- juha
Hi,
I fetched the latest source code from OpenIMSCore SVN repository and generated the debian packages on squeeze.
Everything is working fine so far except the icscf module which fails to start.
I think that there is something wrong with the configuration.
Here is the output messages:
root@spawn:~# icscf.sh
Listening on
udp: xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx]:5060
tcp: xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx]:5060
Aliases:
tcp: spawn:5060
udp: spawn:5060
*: ims.mydomain.com:*
*: icscf.ims.mydomain.com:*
------ Semaphore Arrays --------
key semid owner perms nsems
root@spawn:~# 0(4597) ERROR: mk_proxy: could not resolve hostname: ""
0(4597) ERROR: fixup_hostport2proxy: bad host name in URI <>
ERROR: error -478 while trying to fix configuration
0(4597) INFO:destroy_diameter_peer(): Bye Bye from C Diameter Peer test
As you can see mk_proxy is called with a empty hostname!
I have pasted my configuration and more verbose debug output:
configuration: http://pastebin.com/nDQM1KLM
debug output: http://pastebin.com/d6jh0CHF
Any help would be appreciated.
--
Regards,
Siavash Safi
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)