Hi<br><br>1) I'm trying to get the hang of mod_dingaling and I noticed that when I send a message from <a href="mailto:gservat@gmail.com">gservat@gmail.com</a> to <a href="mailto:znog@gmail.com">znog@gmail.com</a> (the latter being the client profile setup on FS), mod_dingaling tries to send another message again from the same sender/recipient which the google talk server rejects with the error shown below. Any ideas why this is?<br>
<br>-------------------------------------------------------------------------------<br>
<message to="<a href="mailto:znog@gmail.com">znog@gmail.com</a>" type="chat" id="4BF947C10A146B61_2"
iconset="classic" from="<a href="http://gservat@gmail.com/gmail.988E8E36">gservat@gmail.com/gmail.988E8E36</a>"><br>
<body>testing</body><br>
<met:google-mail-signature xmlns:met="google:metadata">12b790b93955e670</met:google-mail-signature><br>
<cha:active xmlns:cha="<a href="http://jabber.org/protocol/chatstates">http://jabber.org/protocol/chatstates</a>"></cha:active><br>
<nos:x value="disabled" xmlns:nos="google:nosave"></nos:x><br>
<arc:record otr="false" xmlns:arc="<a href="http://jabber.org/protocol/archive">http://jabber.org/protocol/archive</a>"></arc:record><br>
</message><br>
<br>
2008-11-17 00:57:40 [NOTICE] libdingaling.c:1276 on_log() SecSEND:<br>
-------------------------------------------------------------------------------<br>
<message to="<a href="mailto:znog@gmail.com">znog@gmail.com</a>" type="chat" from="<a href="http://gservat@gmail.com/gmail.988E8E36">gservat@gmail.com/gmail.988E8E36</a>"><br>
<body>testing</body><br>
</message><br>
<br>
2008-11-17 00:57:41 [INFO] libdingaling.c:1274 on_log() SecRECV:<br>
-------------------------------------------------------------------------------<br>
<message to="<a href="http://gservat@gmail.com/gmail.988E8E36">gservat@gmail.com/gmail.988E8E36</a>" type="error" from="<a href="mailto:znog@gmail.com">znog@gmail.com</a>"><br>
<body>testing</body><br>
<error code="400" type="modify"><br>
<bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></bad-request><br>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">If set, the
'from' attribute must be set to the user's full JID.</text><br>
</error><br>
-------------------------------------------------------------------------------<br>
<br><br>2) I was trying to use the "chat jingle" interface to send a message to a contact and it didn't work. I used the following command:<br><br>FreeSWITCH> chat jingle|<a href="mailto:znog@gmail.com">znog@gmail.com</a>|<a href="mailto:gservat@gmail.com">gservat@gmail.com</a>|testing<br>
<br>-------------------------------------------------------------------------------<br><message to="<a href="mailto:gservat@gmail.com">gservat@gmail.com</a>" type="chat" from="<a href="mailto:dp%2Bznog@gmail.com">dp+znog@gmail.com</a>"><br>
<body>testing</body><br></message><br><br>2008-11-17 01:02:34 [INFO] libdingaling.c:1274 on_log() SecRECV:<br>-------------------------------------------------------------------------------<br><message to="<a href="mailto:dp%2Bznog@gmail.com">dp+znog@gmail.com</a>" type="error" from="<a href="mailto:gservat@gmail.com">gservat@gmail.com</a>"><br>
<body>testing</body><br> <error code="400" type="modify"><br> <bad-request xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"></bad-request><br> <text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">If set, the 'from' attribute must be set to the user's full JID.</text><br>
</error><br></message><br>-------------------------------------------------------------------------------<br><br>I tried modifying mod_dingaling.c's chat_send() function to see if the "dp+" part was annoying the Google Talk server (ie. forced it to leave the "from" as is) but it didn't help.<br>
<br>Just for the record, my jingle client profile looks like this:<br><br><include><br> <!-- Client Profile (Original mode) --><br> <profile type="client"><br> <param name="name" value="<a href="mailto:znog@gmail.com">znog@gmail.com</a>"/><br>
<param name="login" value="<a href="http://znog@gmail.com/gtalk">znog@gmail.com/gtalk</a>"/><br> <param name="password" value="pass-goes-here"/><br> <param name="dialplan" value="XML"/><br>
<param name="context" value="public"/><br> <param name="message" value="Call me"/><br> <param name="rtp-ip" value="$${bind_server_ip}"/><br>
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/><br> <param name="auto-login" value="true"/><br> <!-- <param name="auto-reply" value="auto-reply looks disabled in the mod_dingaling.c code"/> --><br>
<!-- SASL "plain" or "md5" --><br> <param name="sasl" value="plain"/><br> <!-- if the server where the jabber is hosted is not the same as the one in the jid --><br>
<param name="server" value="<a href="http://talk.google.com">talk.google.com</a>"/><br> <!-- Enable TLS or not --><br> <param name="tls" value="true"/><br>
<!-- disable to trade async for more calls --><br> <param name="use-rtp-timer" value="true"/><br> <!-- default extension (if one cannot be determined) --><br> <param name="exten" value="inbound_gtalk"/><br>
<!-- VAD choose one --><br> <!-- <param name="vad" value="in"/> --><br> <!-- <param name="vad" value="out"/> --><br> <param name="vad" value="both"/><br>
<!--<param name="avatar" value="/path/to/tiny.jpg"/>--><br> <!--<param name="candidate-acl" value="dl-candidates"/>--><br> </profile><br></include><br>
<br>Any help would be appreciated and in return I will update the mod_dingaling WIKI page :-)<br><br>Regards,<br>Gonzalo<br>