< Previous by Date | Date Index | Next by Date > |
< Previous in Thread | Thread Index | Next in Thread > |
Did you add application/pidf+xml to the supported Mime types of
the MasterProfile? See MasterProfile.hxx. You also need to add a publication
hander to DialogUsageManager (addClientPublicationHandler). Scott From: resiprocate-users-bounces@xxxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-users-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of phanivenkata.krishna@xxxxxxxxx Hi, I’m trying out the Presence functionality with resip stack
(Resiprocate version: 1.0.2) and struck at handling Publish method. I have
created my own Subscription and Publication handler classes to handle the
respective call-back methods. I’m using X-Lite soft SIP client. Xlite sends a Publish method when its state is changed. However,
the response “415 Unsupported Media Type” is sent in return. I felt that this message is returned from Stack itself before
triggering the call-back method. Also, how to send application/pidf+xml information in Notify
message with user state etc? Any information would be of great help. Thanks in advance. Regards, Krishna ----------------- PUBLISH sip:46001@xxxxxxxxxxxxxx SIP/2.0 Via: SIP/2.0/UDP
172.16.58.216:38300;branch=z9hG4bK-d87543-7a4b8c31901a935f-1--d87543- Max-Forwards: 70 Contact: <sip:46001@xxxxxxxxxxxxx:38300> To: "46001"<sip:46001@xxxxxxxxxxxxxx> From:
"46001"<sip:46001@xxxxxxxxxxxxxx>;tag=dd61654b Call-ID: ZjIyMGVmMjc5MzJiYjdjYmEwNmEwYmIyNWNmMDYyZDA. CSeq: 1 PUBLISH Expires: 3600 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO Content-Type: application/pidf+xml Supported: timer User-Agent: X-Lite release 1006e stamp 34025 Event: presence Content-Length: 424 <?xml version='1.0' encoding='UTF-8'?><presence
xmlns='urn:ietf:params:xml:ns:pidf' xmlns:dm='urn:ietf:params:xml:ns:pidf:data-model'
xmlns:rpid='urn:ietf:params:xml:ns:pidf:rpid'
xmlns:c='urn:ietf:params:xml:ns:pidf:cipid'
entity='pres:46001@xxxxxxxxxxxxxx'><tuple
id='t791f641e'><status><basic>open</basic></status></tuple><dm:person
id='p723f9e43'><rpid:activities><rpid:unknown/></rpid:activities></dm:person></presence> ----------------- SIP/2.0 415 Unsupported Media Type Via: SIP/2.0/UDP
172.16.58.216:38300;branch=z9hG4bK-d87543-7a4b8c31901a935f-1--d87543- To: "46001"<sip:46001@xxxxxxxxxxxxxx>;tag=61053e0d From: "46001"<sip:46001@xxxxxxxxxxxxxx>;tag=dd61654b Call-ID: ZjIyMGVmMjc5MzJiYjdjYmEwNmEwYmIyNWNmMDYyZDA. CSeq: 1 PUBLISH Content-Length: 0
|