[Kamailio-Users] Contact of reply for SUBSCRIBE

Andreas Granig agranig at sipwise.com
Mon Dec 15 14:21:58 CET 2008


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 at 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 at lists.kamailio.org
>>>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>>>
>>>>   
>>>
> 




More information about the Users mailing list