On 03/02/2010 11:25 AM, Even André Fiskvik wrote:
Thanks for the answers Daniel.
On 1. mars 2010, at 12.23, Daniel-Constantin Mierla wrote:
Hello,
On 02/28/2010 06:43 PM, Even André Fiskvik wrote:
Reading through various earlier discussion though, I've found an issue that I wonder wether has been solved or not. In some mailing-lists I saw that only text/plain MESSAGEs was supported through the xmpp gateway, is this still true?
yes and 'no' :-). Yes because nothing was done in this respect to the module itself. 'No' because now (kamailio 3.0) you can use transformations to get content of xml documents and if the body is xhtml.
That's good to know.
If that's the case, is there any way to get CounterPath eyeBeam/Bria to work in the decribed scenario? As to my knowledge it can only send text/html ?
You can build a new message with uac module or update the existing SIP message (content type, body), do msg_apply_changes(): http://kamailio.org/docs/modules/3.0.x/modules_k/textops.html#id2513318
and they use xmpp functions.
I did a "quick" hack to support relying the MESSAGE by just setting the content-type to text/plain for now to do some testing. The error about unsupported content-type thus went away.
You can use ngrep to sniff the network to see connection between kamailio (openser) and xmpp server as well as run kamailio in debug mode in order to get more verbose log messages for each operation.
I've tried sniffing traffic on the server, and it doesn't seem like kamailio tries to connect to the XMPP server at all :/ Any clues what might be causing this?
Did you run in debug mode? Can you post the log messages?
I've attached my kamailio config-file as well if anyone would take
You sent the email only to me. Did you intend it for mailing list? I recommend to keep sending to mailing list apart of messages with private data. In this way many can reply and other can learn from discussion.
a look at it (the main config is in xmpp.cfg) and also a diagram showing how the components are realated to each other.
I will try to look over configs when I get some time -- because of a trip ahead I am pretty constrained today.
Cheers, Daniel
On 2. mars 2010, at 14.25, Daniel-Constantin Mierla wrote:
You can use ngrep to sniff the network to see connection between kamailio (openser) and xmpp server as well as run kamailio in debug mode in order to get more verbose log messages for each operation.
I've tried sniffing traffic on the server, and it doesn't seem like kamailio tries to connect to the XMPP server at all :/ Any clues what might be causing this?
Did you run in debug mode? Can you post the log messages?
By debug-mode I guess you mean "debug=4" and without forking? Is this sufficient? I din't include any log messages as it didn't seem to be anything related to calling xmpp functions there at all :/
I've attached my kamailio config-file as well if anyone would take
You sent the email only to me. Did you intend it for mailing list? I recommend to keep sending to mailing list apart of messages with private data. In this way many can reply and other can learn from discussion.
I'm truly sorry, the message was of course ment to go to the list. I'm used to messages going to the list default when using the "reply" button.
a look at it (the main config is in xmpp.cfg) and also a diagram showing how the components are realated to each other.
I will try to look over configs when I get some time -- because of a trip ahead I am pretty constrained today.
Thanks, that sounds great. However I must mention that I tried downgrading to kamailio 1.5.4, and when I use the same config there I can see from the log that it tries to connect to the XMPP server. Might something be broken either in my 3.0.0 install or in 3.0.0 in general?
Best regards, Even André
On 03/02/2010 02:42 PM, Even André Fiskvik wrote:
On 2. mars 2010, at 14.25, Daniel-Constantin Mierla wrote:
You can use ngrep to sniff the network to see connection between kamailio (openser) and xmpp server as well as run kamailio in debug mode in order to get more verbose log messages for each operation.
I've tried sniffing traffic on the server, and it doesn't seem like kamailio tries to connect to the XMPP server at all :/ Any clues what might be causing this?
Did you run in debug mode? Can you post the log messages?
By debug-mode I guess you mean "debug=4" and without forking? Is this sufficient?
You should let forking on. In case you want messages to standard error instead of syslog, set log_stderror=yes
I din't include any log messages as it didn't seem to be anything related to calling xmpp functions there at all :/
Did you put a xlog message just before it to be sure the cfg execution reaches that point?
I've attached my kamailio config-file as well if anyone would take
You sent the email only to me. Did you intend it for mailing list? I recommend to keep sending to mailing list apart of messages with private data. In this way many can reply and other can learn from discussion.
I'm truly sorry, the message was of course ment to go to the list. I'm used to messages going to the list default when using the "reply" button.
np, this ML requiers"reply all" :-).
a look at it (the main config is in xmpp.cfg) and also a diagram showing how the components are realated to each other.
I will try to look over configs when I get some time -- because of a trip ahead I am pretty constrained today.
Thanks, that sounds great. However I must mention that I tried downgrading to kamailio 1.5.4, and when I use the same config there I can see from the log that it tries to connect to the XMPP server. Might something be broken either in my 3.0.0 install or in 3.0.0 in general?
not much was changed. Can you list the processes with kamctl ps for both versions?
Cheers, Daniel
On Tuesday 02 March 2010, Even André Fiskvik wrote:
I'm truly sorry, the message was of course ment to go to the list. I'm used to messages going to the list default when using the "reply" button.
Hi Daniel,
what about configuring the mailman in a way that mails goes by default to the list instead of the sender?
Cheers,
Henning