[Kamailio-Devel] tcp connection reuse for notify requests?

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 1 19:16:09 CEST 2008


Hello,

On 09/30/08 22:23, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>  > no, the code should not be invite specific. Is kamailio trying to open a 
>  > new connection? 
>
> daniel,
>
> kamailio does open a new connection.
>
>  > You can run with higher debug level to see how it looks 
>  > for the tcp connection to use. Is presence server in same instance with 
>  > location server?
>
> this has nothing to do with location server. 

wrong wording in my side, sorry. I actually wanted to see if there is a 
record-route header because of an intermediate proxy, or the 
communication is done directly from presence server to phone.

However, I could get the answer from your other emails.

Cheers,
Daniel



>  i can publish my presence
> without registering and anyone (also non-local users) can subscribe to
> it. 
>
> at present, there is no 'received' field in active_watchers table. so i
> cannot understand how kamailio presence server could send notify using
> the same connection that subscribe is using unless i rewrite contact
> header before calling handle_subscribe that would cause notify to be
> sent using wrong r-uri.
>
> -- juha
>
> _______________________________________________
> Devel mailing list
> Devel at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/devel
>
>   

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the Devel mailing list