Hello,
I try to set up an IM gateway between a Jabber server (namely jabberd2) and OpenSER. I have not been a really original person as I have just followed the small tutorial given by Daniel-Constantin Mierla at FOSDEM 2007. But I have a small issue here. I have no problem sending messages from a jabber client to a SIP client but sometimes I can't send a message from my SIP client to the jabber client. I get the following trace : Apr 18 13:02:01 devlnx /usr/local/sbin/openser[12925]: message to XMPP : from sip:8374@mydomain.test to sip:antoine* xmpp.mydomain.test@sip-xmpp.mydomain.test Apr 18 13:02:01 devlnx /usr/local/sbin/openser[12925]: xmpp: invalid content-type 0x300ff Apr 18 13:02:02 devlnx /usr/local/sbin/openser[12930]: message to XMPP : from sip:8374@mydomain.test to sip:antoine* xmpp.mydomain.test@sip-xmpp.mydomain.test Apr 18 13:02:02 devlnx /usr/local/sbin/openser[12930]: xmpp: unable to write to command pipe: Bad file descriptor
From time to time I get an error message saying :
Apr 18 12:04:01 devlnx /usr/local/sbin/openser[12440]: WARNING: script writer didn't release transaction
When i send a message successfully I get :
Apr 18 12:47:32 devlnx /usr/local/sbin/openser[12718]: message to XMPP : from sip:8374@mydomain.test to sip:antoine* xmpp.mydomain.test@sip-xmpp.mydomain.test Apr 18 12:47:32 devlnx /usr/local/sbin/openser[12718]: xmpp: invalid content-type 0x300ff Apr 18 12:47:33 devlnx /usr/local/sbin/openser[12715]: message to XMPP : from sip:8374@mydomain.test to sip:antoine* xmpp.mydomain.test@sip-xmpp.mydomain.test
My configuration file is the classic, out of the box openser.cfg for a proxy with the configuration described in the FOSDEM presentation included before the uri checking.
Do you have an idea of what the problem can be, and how I can solve this ?
Thank you in advance for your answers,
Antoine
hi, I use debian package from repository deb http://www.openser.org/debian sarge main and It is not fixed with the same problem and we must get a newer version from svn. When this version from debian will be updated?
Regards, Tsitsi
Works fine now, thanks.
Regards, Andreas
Daniel-Constantin Mierla wrote:
There was a parameter missing when sending the fifo command. Should be fixed on svn. Thanks, Daniel
On 03/20/07 02:02, Daryl Sanders wrote:
I'm not sure what the problem is but I am experiencing the same thing when I try to add an alias in 1.2 with ALIASES_TYPE="UL".
- Daryl
On 3/19/07, Andreas Granig <[EMAIL PROTECTED]> wrote:
Hi,
I have a OpenSER 1.2 with mi_fifo running, but adding an alias fails:
/usr/local/openser-1.2# ./sbin/openserctl alias add 1000 sip:[EMAIL PROTECTED] database engine 'MYSQL' loaded Control engine 'FIFO' loaded is_user: user counter=0 entering fifo_cmd ul_add aliases [EMAIL PROTECTED] sip:[EMAIL PROTECTED] 0 1.00 0 0 4294967295 400 Too few or too many arguments FIFO command was: :ul_add:openser_receiver_17638 aliases [EMAIL PROTECTED] sip:[EMAIL PROTECTED] 0 1.00 0 0 4294967295
In etc/openser/openserctlrc I have ALIASES_TYPE="UL", and the mi_fifo module config looks like this:
88 loadmodule "mi_fifo.so" 89 modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo") 90 modparam("mi_fifo", "fifo_mode", 0660) 91 modparam("mi_fifo", "fifo_group", "openser") 92 modparam("mi_fifo", "fifo_user", "openser") 93 modparam("mi_fifo", "reply_dir", "/tmp/") 94 modparam("mi_fifo", "reply_indent", "\t")
Am I missing something somewhere?
Cheers, Andreas
--------------------------------- Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses.
Hello,
On 04/18/07 16:30, Antoine Fressancourt wrote:
Hello,
I try to set up an IM gateway between a Jabber server (namely jabberd2) and OpenSER. I have not been a really original person as I have just followed the small tutorial given by Daniel-Constantin Mierla at FOSDEM 2007. But I have a small issue here. I have no problem sending messages from a jabber client to a SIP client but sometimes I can't send a message from my SIP client to the jabber client. I get the following trace : Apr 18 13:02:01 devlnx /usr/local/sbin/openser[12925]: message to XMPP : from < sip:8374@mydomain.test mailto:sip:8374@mydomain.test> to <sip:antoine*xmpp.mydomain.test@sip-xmpp.mydomain.test mailto:xmpp.mydomain.test@sip-xmpp.mydomain.test> Apr 18 13:02:01 devlnx /usr/local/sbin/openser[12925]: xmpp: invalid content-type 0x300ff
Could you attach a sip trace to such case?
Apr 18 13:02:02 devlnx /usr/local/sbin/openser[12930]: message to XMPP : from <sip:8374@mydomain.test mailto:sip:8374@mydomain.test> to <sip:antoine* xmpp.mydomain.test@sip-xmpp.mydomain.test mailto:xmpp.mydomain.test@sip-xmpp.mydomain.test> Apr 18 13:02:02 devlnx /usr/local/sbin/openser[12930]: xmpp: unable to write to command pipe: Bad file descriptor
I will investigate.
From time to time I get an error message saying : Apr 18 12:04:01 devlnx /usr/local/sbin/openser[12440]: WARNING: script writer didn't release transaction
Indeed, the script should have made usage of t_reply() instead of sl_send_reply() after the transaction was create with t_newtran().
Cheers, Daniel
When i send a message successfully I get :
Apr 18 12:47:32 devlnx /usr/local/sbin/openser[12718]: message to XMPP : from < sip:8374@mydomain.test mailto:sip:8374@mydomain.test> to <sip:antoine*xmpp.mydomain.test@sip-xmpp.mydomain.test mailto:xmpp.mydomain.test@sip-xmpp.mydomain.test> Apr 18 12:47:32 devlnx /usr/local/sbin/openser[12718]: xmpp: invalid content-type 0x300ff Apr 18 12:47:33 devlnx /usr/local/sbin/openser[12715]: message to XMPP : from <sip:8374@mydomain.test mailto:sip:8374@mydomain.test> to <sip:antoine* xmpp.mydomain.test@sip-xmpp.mydomain.test mailto:xmpp.mydomain.test@sip-xmpp.mydomain.test>
My configuration file is the classic, out of the box openser.cfg for a proxy with the configuration described in the FOSDEM presentation included before the uri checking.
Do you have an idea of what the problem can be, and how I can solve this ?
Thank you in advance for your answers,
Antoine
Users mailing list Users@openser.org http://openser.org/cgi-bin/mailman/listinfo/users
Hello,
I investigated the problem putting my OpenSER in debug mode and it occurs that the problem does not exist when OpenSER is launched with "fork=no" instead of "fork=yes".
Though, I will try to have a closer look at my openser.cfg file and try to set up your solution as it appears that I have a transaction problem with the presence module as well.
Thank you very much for your help,
Antoine