Hello,
thanks for troubleshooting and fix. I would rather change the define, like:
#define IMC_MEMBER_SKIP (1<<4)
It should be safer for similar cases in future usages.
I'll look into the code soon.
Cheers,
Daniel
On 8/2/13 10:40 AM, Shankar wrote:
>
> Hello,
>
> While testing group chat via IMC module, we found that owner of a chat
> room could not destroy the room or invite new users to a chat room
> after few message exchange.
>
> We had modified the code at "imc_cmd.c" to fix this issue.
>
> Fix,
>
> member->flags &= ~IMC_MEMBER_SKIP; à member->flags &= ~(IMC_MEMBER_SKIP);
>
> where
>
> ~IMC_MEMBER_SKIP is defined as '#define IMC_MEMBER_SKIP 1<<4'.
>
> Here ~ takes precedence over the << operator. With this fix the owner
> of the chat-room is able to invite new users during a chat and destroy
> the room.
>
> Regards,
>
> Shankar
>
>
>
> _______________________________________________
> 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
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Hello,
While testing group chat via IMC module, we found that owner of a chat room
could not destroy the room or invite new users to a chat room after few
message exchange.
We had modified the code at imc_cmd.c to fix this issue.
Fix,
member->flags &= ~IMC_MEMBER_SKIP; à member->flags &= ~(IMC_MEMBER_SKIP);
where
~IMC_MEMBER_SKIP is defined as #define IMC_MEMBER_SKIP 1<<4.
Here ~ takes precedence over the << operator. With this fix the owner of the
chat-room is able to invite new users during a chat and destroy the room.
Regards,
Shankar
Hey everyone, currently i have this configuration set on kamailio:
modparam("dispatcher", "list_file", "/etc/kamailio/dispatcher.list")
modparam("dispatcher", "force_dst", 0) #forzado de la reescritura direccion
de destino
modparam("dispatcher", "flags", 2) #banderas de funcionamiento, 2 significa
"soporte para failover"
modparam("dispatcher", "dst_avp", "$avp(dsdst)")
modparam("dispatcher", "grp_avp", "$avp(dsgrp)")
modparam("dispatcher", "cnt_avp", "$avp(dscnt)")
modparam("dispatcher", "ds_ping_method", "OPTIONS")
modparam("dispatcher", "ds_ping_interval", 5) #tiempo que transcurre antes
de verificar nuevamente una salida inactiva
modparam("dispatcher", "ds_probing_threshhold", 5) #Numero de intentos
antes de marcar una salida como inactiva
modparam("dispatcher", "ds_ping_reply_codes",
"class=2;code=403;code=488;class=3")
modparam("dispatcher", "ds_probing_mode", 1)
modparam("dispatcher", "ds_hash_expire", 3600)
modparam("dispatcher", "ds_hash_initexpire", 60)
#loadmodule "dispatcher.so"
####### Routing Logic ########
# Main SIP request routing logic
# - processing of any incoming SIP request starts with this route
# - note: this is the same as route { ... }
request_route {
if (is_method("SUBSCRIBE")){
if (src_ip == 192.168.2.1 | src_ip == 192.168.2.2){
t_relay();
}
route(REGISTRAR);
}
if (src_ip == 192.168.2.1 | src_ip == 192.168.2.2){
t_relay();
}
else{
route(ASTERISK);
}
}
route[ASTERISK]{
ds_select_dst("1", "8");
t_relay();
exit();
}
Everything else is left with the same basic configuration it had when i
installed the software.
I want to use it kinda of a sip router, so what Kamailio does is just
forward the packets betwen my Asterisk boxes and the Sip Phones. Currently
it seems to work (partially) but i have doubts about if this is correctly
done (it's the first time using Kamailio and i need this working withing a
week at most).
As you can see i use the module dispatcher for failover/failback (this is
the purpose of using Kamailio, a failover/failback setup). One major
problem i've found with this setup is, if the phones are currently
connected and working with one of my 2 asterisk boxes and if that box
fails, Kamailio starts sending the traffic to the second box (as intended),
but the phones don't try to subscribe to the new asterisk box, rather they
just keep sending traffic (and obviously kamailio forwarding it).
Sometimes one of the phones subscribe to the new box, but that's not always
the case, the packets reach the new Asterisk box, but since the phones
aren't registered to it, they can't make calls.
Other times the behavior of the setup is rather weird, i can call some
extensions and some others i can not (even though they are registered
within the asterisk box) The traffic gets to the Asterisk box (as shown in
the asterisk logs) but the call is shown as "service unavailable". I've
checked a lot of times the Asterisk setup and it seems to be fine so i
think it has something to do with Kamailio.
I know this might be a really bad configuration file, but it's been at most
3 days since i started using Kamailio which i sometimes find kinda hard to
understand and i really need this working within a week.
To summarize all i want is kamailio forwarding packets between the
currently active server and the phones so if it fails, then the packets go
to the second one, the phones must re-subscribe to the new active server.
Hi,
We are trying to install and run kamailio for video call , we have installed it successfully . When we are running Kamailio without mysql support it gets start and we are able to make video call with help of soft phone. But when we are running it with mysql support it gets exit with following error , Please suggest me where I'm doing mistake.
db_check_api(): module db_mysql/kamailio does not export db_use_table function
Kind regards
Rama Shankar
DISCLAIMER AND PRIVILEGE NOTICE: This e-mail message contains confidential, copyright, proprietary and legally privileged information. It should not be used by anyone who is not the original intended recipient. If you have erroneously received this message, please delete it immediately and notify the sender. The recipient must note and understand that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of BCCL subsidiaries and associated companies, Collectively Times Group.
Hello,
Anyone aware of free/opensource client which can be used to test
org.openmobilealliance.user-profile of xcap server in kamailio module.
Please help.
Regards,
Shankar
Hello everyone,
I'm experiencing the problem described in subject.
My UAC is Vega Europa 50 with t38 enabled, and it sends different port
numbers for audio in initial request and for image in t38 reinvite, but
when my script calls force_rtp_proxy(), rtpproxy replies with same port
numbers for both requests. My script routes requests to Asterisk box, and
when my Vega Europa starts t38 rtp, Asterisk doesn't treat this traffic as
a valid udptl.
Here is a dialog between Vega and Kamailio
http://pastebin.com/raw.php?i=K5mGdCpU
Here is a snippet from kamailio log http://pastebin.com/raw.php?i=qvemH76J
I would appreciate any help,
Fedor.
Make sure you are preparing and getting the apache config by using make
command in siremis folder.
PS: Please do not create new email threads on each reply.
On Thu, Aug 1, 2013 at 6:21 PM, Premchandiran <
premchandiran.marimuthu(a)plintron.com> wrote:
> Hi Salman , ****
>
> I tried the #a2enmod rewrite and restarted the apache2 still the same
> issue . ****
>
> I changed AllowOverride All to AllowOverride None since I was getting 43
> forbidden . ****
>
> ** **
>
> Alias /siremis "/opt/siremis-4.0.0/siremis"****
>
> <Directory "/opt/siremis-4.0.0/siremis">****
>
> Options Indexes FollowSymLinks MultiViews****
>
> #AllowOverride All****
>
> AllowOverride None****
>
> Allow from all****
>
> <FilesMatch "\.xml$">****
>
> Allow from all****
>
> </FilesMatch>****
>
> <FilesMatch "\.inc$">****
>
> Allow from all****
>
> </FilesMatch>****
>
> </Directory>****
>
> ** **
>
> Regards,****
>
> *Prem Chandiran M***
>
> _______________________________________________
> 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
>
>
--
Regards
**************************
Muhammad Salman
***************************
Hi,
Is it possible to configure two Kamailio servers with shared
registration database? Any SIP UA can be registered on any server but
it must transparently call another SIP UA which can be registered on
the same or on another Kamailio server.
Is where any example of this configuration?
--
WBR,
Eugene Prokopiev
Hi Salman ,
I tried the #a2enmod rewrite and restarted the apache2 still the same issue
.
I changed AllowOverride All to AllowOverride None since I was getting 43
forbidden .
Alias /siremis "/opt/siremis-4.0.0/siremis"
<Directory "/opt/siremis-4.0.0/siremis">
Options Indexes FollowSymLinks MultiViews
#AllowOverride All
AllowOverride None
Allow from all
<FilesMatch "\.xml$">
Allow from all
</FilesMatch>
<FilesMatch "\.inc$">
Allow from all
</FilesMatch>
</Directory>
Regards,
Prem Chandiran M