List Info

Thread: Re: Adding page about SIP devices supporting presence PUBLISH




Re: Adding page about SIP devices supporting presence PUBLISH
user name
2007-10-08 02:43:25
El Friday 05 October 2007 14:21:41 Juha Heinanen escribió:
> Iñaki Baz Castillo writes:
>  > In order to avoid this issue it could be nice to
query a BD table
>  > looking for the "User-Agent" and just
exec "pua_set_publish()" if the
>  > device doesn't support presence PUBLISH.
>
> why cannot methods field of usrloc table be used?

I don't understand what you mean. "methods" field
in "usrloc" table just means 
allowed receiving methods for that the device, but not which
methods it can 
generate.

For example, Twinkle 1.1 that support presence sends this
"Allow" header:

Allow:
INVITE,ACK,BYE,CANCEL,OPTIONS,PRACK,REFER,NOTIFY,SUBSCRIBE,I
NFO,MESSAGE

And Linksys PAP2, that doesn't support presence, sends this
one:

Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS,
REFER

Maybe devices which send PUBLISH allow always a received
SUBSCRIBE, but 
having "SUBSCRIBE" in "Allow" header
dones't mean supporting PUBLISH. Does 
it?

Regards.


-- 
Iñaki Baz Castillo
ibcin.ilimit.es

_______________________________________________
Users mailing list
Usersopenser.org
htt
p://openser.org/cgi-bin/mailman/listinfo/users

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )