Hi Pavel,
Many thanks for your reaction. Good to know about the issues, saved me some important time with troubleshooting. Will try to find alternatives in this case since I already found some other limitations which stop me in having an enterprise solution.
Have a good one!
DanB
Hi Dan,
student of mine (Martin) realized that, but it was using Jabberd2 not opernfire XMPP server, because the Openfire did not register domain from the XMPP component correctly and did some other strange things. Here are parts of Martin communication
http://comments.gmane.org/gmane.comp.voip.openser.user/31713
palo73
-----Original Message----- From: sr-users-bounces@lists.sip-router.org [mailto:sr-users- bounces@lists.sip-router.org] On Behalf Of Dan-Cristian Bogos Sent: Friday, March 02, 2012 11:22 AM To: sr-users@lists.sip-router.org Subject: [SR-Users] XMPP module not passing subscribes coming from xmpp side
Hey Guys,
I was wondering if anyone having experience with using xmpp module as presence gateway between SIP and XMPP. I started evaluating it and till now got some weird results, not sure if it is just my setup which does not match the one widely used or the module is incomplete.
Regarding my setup, I use OpenFIRE 3.7.1 on one side and Kamailio 3.2.0 out of debian packages on the other.
The issue I got right now is that the subscribe coming from XMPP side produces no action/reply on SIP side. Bellow you can see the packet coming from OpenFIRE: # T 2012/03/02 09:49:57.743750 127.0.0.1:5275 -> 127.0.0.1:49965 [AP] <presence id="4h8F6-19" to="dan4@gw.mydomain.com" type="subscribe" from="dan@mydomain.com"><c xmlns="http://jabber.org/protocol/caps" ext="voice-v1 video-v1 camera-v1 " hash="sha-1" node="http://jitsi.org" ver="ohjz8WKq0ZQRiNWRNcapX4BBHLk="/></presence> """
Anyone here got this working somehow?
Ta, DanB
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi- bin/mailman/listinfo/sr-users
Message: 5 Date: Fri, 2 Mar 2012 11:44:12 +0100 From: Reda Aouad reda.aouad@gmail.com Subject: [SR-Users] Registration Limits To: "SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users Mailing List" sr-users@lists.sip-router.org Message-ID: CAA30pc7pkPcBSfMSdRpvCSHNm0kiSw9r13huUe4jikiEPdcr1Q@mail.gmail.com Content-Type: text/plain; charset="iso-8859-1"
Hi,
Is there a way to ensure single-registration per user-agent for a user, which overwrites previous registration ? Or is there a way to limit the number of registrations per user, but overwriting the earliest registration for each new one ?
Thanks, Reda
All,
For the sake of archiving, this issue was solved. The problem was not on Kamailio side but user one (I was only using one domain on the XMPP side, without adding the sip part in the to field of xmpp). After inserting it correctly, I have now presence as well as txt messages passing through the gateway smooth.
DanB
Hello,
thanks for writing back. The addressing pattern should be made configurable, so it will work with normal uris for local service -- maybe it will be added before next major release, let's see how the time allows it.
Cheers, Daniel
On 3/12/12 12:55 PM, Dan-Cristian Bogos wrote:
All,
For the sake of archiving, this issue was solved. The problem was not on Kamailio side but user one (I was only using one domain on the XMPP side, without adding the sip part in the to field of xmpp). After inserting it correctly, I have now presence as well as txt messages passing through the gateway smooth.
DanB
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hello,
I just committed on master branch a patch that should allow addresses in straight 'username@domain' format, meaning that the delimiter-like addresses will not be used, working for the case you do SIP-XMPP gatewaying only for your local SIP users.
There is a new parameter, gwmap, that will allow mapping sip domains to xmpp domains. If the gwmap parameter is not set, the old addressing mode is used -- see README for more details.
I had no testbed to play with it so far, but at least it compiles. If you can give it a try and report the results, would be appreciated. The xmpp module should work on 3.2, by just copying the version from master branch, if this helps you testing it easier.
Cheers, Daniel
On 3/12/12 4:04 PM, Daniel-Constantin Mierla wrote:
Hello,
thanks for writing back. The addressing pattern should be made configurable, so it will work with normal uris for local service -- maybe it will be added before next major release, let's see how the time allows it.
Cheers, Daniel
On 3/12/12 12:55 PM, Dan-Cristian Bogos wrote:
All,
For the sake of archiving, this issue was solved. The problem was not on Kamailio side but user one (I was only using one domain on the XMPP side, without adding the sip part in the to field of xmpp). After inserting it correctly, I have now presence as well as txt messages passing through the gateway smooth.
DanB
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Wow,
That is all good news Daniel, thanks for your efforts.
Please give me a couple of days to install and test it. Will report the results for sure.
Have a good one!
DanB
On Mon, Mar 19, 2012 at 3:16 PM, Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
I just committed on master branch a patch that should allow addresses in straight 'username@domain' format, meaning that the delimiter-like addresses will not be used, working for the case you do SIP-XMPP gatewaying only for your local SIP users.
There is a new parameter, gwmap, that will allow mapping sip domains to xmpp domains. If the gwmap parameter is not set, the old addressing mode is used -- see README for more details.
I had no testbed to play with it so far, but at least it compiles. If you can give it a try and report the results, would be appreciated. The xmpp module should work on 3.2, by just copying the version from master branch, if this helps you testing it easier.
Cheers, Daniel
On 3/12/12 4:04 PM, Daniel-Constantin Mierla wrote:
Hello,
thanks for writing back. The addressing pattern should be made configurable, so it will work with normal uris for local service -- maybe it will be added before next major release, let's see how the time allows it.
Cheers, Daniel
On 3/12/12 12:55 PM, Dan-Cristian Bogos wrote:
All,
For the sake of archiving, this issue was solved. The problem was not on Kamailio side but user one (I was only using one domain on the XMPP side, without adding the sip part in the to field of xmpp). After inserting it correctly, I have now presence as well as txt messages passing through the gateway smooth.
DanB
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany http://www.asipto.com/index.php/kamailio-advanced-training/