Hi all,
Kamailio sends a Contact set to modparam "server_address" in the "presence" module when replying to SUBSCRIBE. Now I've seen in some clients (e.g. eyebeam) and libs (e.g. eXosip) that they send subsequent SUBSCRIBEs to this contact. In case of eXosip, it's for automatically refreshing the subscription.
Problem is, that I can't tell what to put into "server_address" to handle this correctly, since just putting in the domain of my server (like "sip:my.domain") doesn't work, and putting in some generic URI like "sip:server@my.domain") doesn't make sense also, since the user doesn't exist.
So, how are you supposed to handle this? Any thoughts?
Andreas
Hello,
do not to set the server_address parameter. It will auto-detect it.
Cheers, Daniel
On 12/12/08 22:11, Andreas Granig wrote:
Hi all,
Kamailio sends a Contact set to modparam "server_address" in the "presence" module when replying to SUBSCRIBE. Now I've seen in some clients (e.g. eyebeam) and libs (e.g. eXosip) that they send subsequent SUBSCRIBEs to this contact. In case of eXosip, it's for automatically refreshing the subscription.
Problem is, that I can't tell what to put into "server_address" to handle this correctly, since just putting in the domain of my server (like "sip:my.domain") doesn't work, and putting in some generic URI like "sip:server@my.domain") doesn't make sense also, since the user doesn't exist.
So, how are you supposed to handle this? Any thoughts?
Andreas
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Daniel,
Thanks. That's always my favorite answer ;)
Andreas
Daniel-Constantin Mierla wrote:
Hello,
do not to set the server_address parameter. It will auto-detect it.
Cheers, Daniel
On 12/12/08 22:11, Andreas Granig wrote:
Hi all,
Kamailio sends a Contact set to modparam "server_address" in the "presence" module when replying to SUBSCRIBE. Now I've seen in some clients (e.g. eyebeam) and libs (e.g. eXosip) that they send subsequent SUBSCRIBEs to this contact. In case of eXosip, it's for automatically refreshing the subscription.
Problem is, that I can't tell what to put into "server_address" to handle this correctly, since just putting in the domain of my server (like "sip:my.domain") doesn't work, and putting in some generic URI like "sip:server@my.domain") doesn't make sense also, since the user doesn't exist.
So, how are you supposed to handle this? Any thoughts?
Andreas
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Hi Andreas,
On 12/15/08 15:00, Andreas Granig wrote:
Daniel,
Thanks. That's always my favorite answer ;)
great!
However, I saw this statement: "just putting in the domain of my server (like "sip:my.domain") doesn't work"
Is it a problem in kamailio with this format? Should be accepted as it is a valid uri for a contact.
Cheers, Daniel
Andreas
Daniel-Constantin Mierla wrote:
Hello,
do not to set the server_address parameter. It will auto-detect it.
Cheers, Daniel
On 12/12/08 22:11, Andreas Granig wrote:
Hi all,
Kamailio sends a Contact set to modparam "server_address" in the "presence" module when replying to SUBSCRIBE. Now I've seen in some clients (e.g. eyebeam) and libs (e.g. eXosip) that they send subsequent SUBSCRIBEs to this contact. In case of eXosip, it's for automatically refreshing the subscription.
Problem is, that I can't tell what to put into "server_address" to handle this correctly, since just putting in the domain of my server (like "sip:my.domain") doesn't work, and putting in some generic URI like "sip:server@my.domain") doesn't make sense also, since the user doesn't exist.
So, how are you supposed to handle this? Any thoughts?
Andreas
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Daniel,
I just checked again, and the errors were caused by my script trying to assign the (non-existent) user-part of the R-URI to an AVP. Sorry for the confusion.
Andreas
Daniel-Constantin Mierla wrote:
Hi Andreas,
On 12/15/08 15:00, Andreas Granig wrote:
Daniel,
Thanks. That's always my favorite answer ;)
great!
However, I saw this statement: "just putting in the domain of my server (like "sip:my.domain") doesn't work"
Is it a problem in kamailio with this format? Should be accepted as it is a valid uri for a contact.
Cheers, Daniel
Andreas
Daniel-Constantin Mierla wrote:
Hello,
do not to set the server_address parameter. It will auto-detect it.
Cheers, Daniel
On 12/12/08 22:11, Andreas Granig wrote:
Hi all,
Kamailio sends a Contact set to modparam "server_address" in the "presence" module when replying to SUBSCRIBE. Now I've seen in some clients (e.g. eyebeam) and libs (e.g. eXosip) that they send subsequent SUBSCRIBEs to this contact. In case of eXosip, it's for automatically refreshing the subscription.
Problem is, that I can't tell what to put into "server_address" to handle this correctly, since just putting in the domain of my server (like "sip:my.domain") doesn't work, and putting in some generic URI like "sip:server@my.domain") doesn't make sense also, since the user doesn't exist.
So, how are you supposed to handle this? Any thoughts?
Andreas
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
On 12/15/08 15:21, Andreas Granig wrote:
Daniel,
I just checked again, and the errors were caused by my script trying to assign the (non-existent) user-part of the R-URI to an AVP. Sorry for the confusion.
no problem. good that it was sorted out.
Cheers, Daniel
Andreas
Daniel-Constantin Mierla wrote:
Hi Andreas,
On 12/15/08 15:00, Andreas Granig wrote:
Daniel,
Thanks. That's always my favorite answer ;)
great!
However, I saw this statement: "just putting in the domain of my server (like "sip:my.domain") doesn't work"
Is it a problem in kamailio with this format? Should be accepted as it is a valid uri for a contact.
Cheers, Daniel
Andreas
Daniel-Constantin Mierla wrote:
Hello,
do not to set the server_address parameter. It will auto-detect it.
Cheers, Daniel
On 12/12/08 22:11, Andreas Granig wrote:
Hi all,
Kamailio sends a Contact set to modparam "server_address" in the "presence" module when replying to SUBSCRIBE. Now I've seen in some clients (e.g. eyebeam) and libs (e.g. eXosip) that they send subsequent SUBSCRIBEs to this contact. In case of eXosip, it's for automatically refreshing the subscription.
Problem is, that I can't tell what to put into "server_address" to handle this correctly, since just putting in the domain of my server (like "sip:my.domain") doesn't work, and putting in some generic URI like "sip:server@my.domain") doesn't make sense also, since the user doesn't exist.
So, how are you supposed to handle this? Any thoughts?
Andreas
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users