Re: [pjsip] Presence subscription is not working

JL
JOHAN LANTZ
Thu, Apr 4, 2013 8:08 AM

If pjsip can not parse your pidf you can take care of it yourself in the
pjsua callbacks, look at "on_buddy_evsub_state" for instance.

If you are having this problem between two pjsua client, you have some
other problem.s

/johan

El 25/03/13 18:11, "pjsip-request@lists.pjsip.org"
pjsip-request@lists.pjsip.org escribió:

Send pjsip mailing list submissions to
pjsip@lists.pjsip.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
or, via email, send a message with subject or body 'help' to
pjsip-request@lists.pjsip.org

You can reach the person managing the list at
pjsip-owner@lists.pjsip.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pjsip digest..."

Today's Topics:

  1. Re: Presence subscription is not working (Kchitiz Saxena)

Message: 1
Date: Mon, 25 Mar 2013 22:41:03 +0530
From: Kchitiz Saxena kchitiz.saxena@gmail.com
To: pjsip list pjsip@lists.pjsip.org
Subject: Re: [pjsip] Presence subscription is not working
Message-ID:
CABxBViHGbdwvhU0s8SfJRapjO9zyWmu09r6wZN_kgG3rVjJ_sA@mail.gmail.com
Content-Type: text/plain; charset="iso-8859-1"

pjsua_buddy_add calls pjsua_buddy_subscribe_pres itself. You dont have to
call pjsua_buddy_subscribe_pres after pjsua_buddy_add. One reason of
unknown status could be parsing errors in PIDF document. You can check the
document coming from the server and check the PJSUA logs.

On Mon, Mar 25, 2013 at 6:55 PM, Manisha Khare
MK0065294@techmahindra.comwrote:

Hi all,

I am trying to subscribe the presence of my buddy, but everytime i am
getting PJSUA_BUDDY_STATUS_UNKNOWN. after doing pjsua_buddy_add i am
subscribing presence using pjsua_buddy_subscribe_pres. but still i am
getting PJSUA_BUDDY_STATUS_UNKNOWN.

even in iPjsua i am getting the same status.

Can anybody help me in this. For the record i am using iptel.org as a
SIP
server.

Thanks
Manisha


---=======

---==================Disclaimer:

This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review the policy at <a href="http://www.techmahindra.com/Disclaimer.html ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href=" http://tim.techmahindra.com/tim/disclaimer.html">
http://tim.techmahindra.com/tim/disclaimer.html</a> internally within
Tech

Mahindra.
---===============================

---===========================


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

If pjsip can not parse your pidf you can take care of it yourself in the pjsua callbacks, look at "on_buddy_evsub_state" for instance. If you are having this problem between two pjsua client, you have some other problem.s /johan El 25/03/13 18:11, "pjsip-request@lists.pjsip.org" <pjsip-request@lists.pjsip.org> escribió: >Send pjsip mailing list submissions to > pjsip@lists.pjsip.org > >To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >or, via email, send a message with subject or body 'help' to > pjsip-request@lists.pjsip.org > >You can reach the person managing the list at > pjsip-owner@lists.pjsip.org > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of pjsip digest..." > > >Today's Topics: > > 1. Re: Presence subscription is not working (Kchitiz Saxena) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Mon, 25 Mar 2013 22:41:03 +0530 >From: Kchitiz Saxena <kchitiz.saxena@gmail.com> >To: pjsip list <pjsip@lists.pjsip.org> >Subject: Re: [pjsip] Presence subscription is not working >Message-ID: > <CABxBViHGbdwvhU0s8SfJRapjO9zyWmu09r6wZN_kgG3rVjJ_sA@mail.gmail.com> >Content-Type: text/plain; charset="iso-8859-1" > >pjsua_buddy_add calls pjsua_buddy_subscribe_pres itself. You dont have to >call pjsua_buddy_subscribe_pres after pjsua_buddy_add. One reason of >unknown status could be parsing errors in PIDF document. You can check the >document coming from the server and check the PJSUA logs. > >On Mon, Mar 25, 2013 at 6:55 PM, Manisha Khare ><MK0065294@techmahindra.com>wrote: > >> >> Hi all, >> >> I am trying to subscribe the presence of my buddy, but everytime i am >> getting PJSUA_BUDDY_STATUS_UNKNOWN. after doing pjsua_buddy_add i am >> subscribing presence using pjsua_buddy_subscribe_pres. but still i am >> getting PJSUA_BUDDY_STATUS_UNKNOWN. >> >> even in iPjsua i am getting the same status. >> >> Can anybody help me in this. For the record i am using iptel.org as a >>SIP >> server. >> >> Thanks >> Manisha >> >>========================================================================= >>===================================================Disclaimer: >> This message and the information contained herein is proprietary and >> confidential and subject to the Tech Mahindra policy statement, you may >> review the policy at <a >>href="http://www.techmahindra.com/Disclaimer.html >> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a >>href=" >> http://tim.techmahindra.com/tim/disclaimer.html"> >> http://tim.techmahindra.com/tim/disclaimer.html</a> internally within >> Tech >> >>Mahindra.================================================================ >>============================================================ >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >
MK
Manisha Khare
Mon, Apr 8, 2013 1:29 PM

Hi Johan,

Thanks for the answer. I ahve solved the issue. I have one more question. Does pjsip support conference chat?

Thanks & Regards,
Manisha Khare | Tech Mahindra Ltd.
Sharda Annex,1st floor, Sharda Center, Pune 411 057, INDIA
 Office:  +91-20-42250000 |  Extn. : 1888
Mobile No:- 8956256535, 9049563499
Email: manisha.khare@techmahindra.com
www.techmahindra.com


From: pjsip [pjsip-bounces@lists.pjsip.org] On Behalf Of JOHAN LANTZ [johan@tid.es]
Sent: Thursday, April 04, 2013 1:38 PM
To: pjsip@lists.pjsip.org
Subject: Re: [pjsip] Presence subscription is not working

If pjsip can not parse your pidf you can take care of it yourself in the
pjsua callbacks, look at "on_buddy_evsub_state" for instance.

If you are having this problem between two pjsua client, you have some
other problem.s

/johan

El 25/03/13 18:11, "pjsip-request@lists.pjsip.org"
pjsip-request@lists.pjsip.org escribió:

Send pjsip mailing list submissions to
pjsip@lists.pjsip.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
or, via email, send a message with subject or body 'help' to
pjsip-request@lists.pjsip.org

You can reach the person managing the list at
pjsip-owner@lists.pjsip.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of pjsip digest..."

Today's Topics:

  1. Re: Presence subscription is not working (Kchitiz Saxena)

Message: 1
Date: Mon, 25 Mar 2013 22:41:03 +0530
From: Kchitiz Saxena kchitiz.saxena@gmail.com
To: pjsip list pjsip@lists.pjsip.org
Subject: Re: [pjsip] Presence subscription is not working
Message-ID:
CABxBViHGbdwvhU0s8SfJRapjO9zyWmu09r6wZN_kgG3rVjJ_sA@mail.gmail.com
Content-Type: text/plain; charset="iso-8859-1"

pjsua_buddy_add calls pjsua_buddy_subscribe_pres itself. You dont have to
call pjsua_buddy_subscribe_pres after pjsua_buddy_add. One reason of
unknown status could be parsing errors in PIDF document. You can check the
document coming from the server and check the PJSUA logs.

On Mon, Mar 25, 2013 at 6:55 PM, Manisha Khare
MK0065294@techmahindra.comwrote:

Hi all,

I am trying to subscribe the presence of my buddy, but everytime i am
getting PJSUA_BUDDY_STATUS_UNKNOWN. after doing pjsua_buddy_add i am
subscribing presence using pjsua_buddy_subscribe_pres. but still i am
getting PJSUA_BUDDY_STATUS_UNKNOWN.

even in iPjsua i am getting the same status.

Can anybody help me in this. For the record i am using iptel.org as a
SIP
server.

Thanks
Manisha


---=======

---==================Disclaimer:
This message and the information contained herein is proprietary and
confidential and subject to the Tech Mahindra policy statement, you may
review the policy at <a href="http://www.techmahindra.com/Disclaimer.html ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href=" http://tim.techmahindra.com/tim/disclaimer.html">
http://tim.techmahindra.com/tim/disclaimer.html</a> internally within
Tech

Mahindra.
---===============================

---===========================


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/201303
25/7d213806/attachment.html>


Subject: Digest Footer


pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


End of pjsip Digest, Vol 67, Issue 192



Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo.
This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at:
http://www.tid.es/ES/PAGINAS/disclaimer.aspx


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



---=========================Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/tim/disclaimer.html">http://tim.techmahindra.com/tim/disclaimer.html</a> internally within Tech Mahindra.


---=========================

Hi Johan, Thanks for the answer. I ahve solved the issue. I have one more question. Does pjsip support conference chat? Thanks & Regards, Manisha Khare | Tech Mahindra Ltd. Sharda Annex,1st floor, Sharda Center, Pune 411 057, INDIA  Office: +91-20-42250000 | Extn. : 1888 Mobile No:- 8956256535, 9049563499 Email: manisha.khare@techmahindra.com www.techmahindra.com ________________________________________ From: pjsip [pjsip-bounces@lists.pjsip.org] On Behalf Of JOHAN LANTZ [johan@tid.es] Sent: Thursday, April 04, 2013 1:38 PM To: pjsip@lists.pjsip.org Subject: Re: [pjsip] Presence subscription is not working If pjsip can not parse your pidf you can take care of it yourself in the pjsua callbacks, look at "on_buddy_evsub_state" for instance. If you are having this problem between two pjsua client, you have some other problem.s /johan El 25/03/13 18:11, "pjsip-request@lists.pjsip.org" <pjsip-request@lists.pjsip.org> escribió: >Send pjsip mailing list submissions to > pjsip@lists.pjsip.org > >To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >or, via email, send a message with subject or body 'help' to > pjsip-request@lists.pjsip.org > >You can reach the person managing the list at > pjsip-owner@lists.pjsip.org > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of pjsip digest..." > > >Today's Topics: > > 1. Re: Presence subscription is not working (Kchitiz Saxena) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Mon, 25 Mar 2013 22:41:03 +0530 >From: Kchitiz Saxena <kchitiz.saxena@gmail.com> >To: pjsip list <pjsip@lists.pjsip.org> >Subject: Re: [pjsip] Presence subscription is not working >Message-ID: > <CABxBViHGbdwvhU0s8SfJRapjO9zyWmu09r6wZN_kgG3rVjJ_sA@mail.gmail.com> >Content-Type: text/plain; charset="iso-8859-1" > >pjsua_buddy_add calls pjsua_buddy_subscribe_pres itself. You dont have to >call pjsua_buddy_subscribe_pres after pjsua_buddy_add. One reason of >unknown status could be parsing errors in PIDF document. You can check the >document coming from the server and check the PJSUA logs. > >On Mon, Mar 25, 2013 at 6:55 PM, Manisha Khare ><MK0065294@techmahindra.com>wrote: > >> >> Hi all, >> >> I am trying to subscribe the presence of my buddy, but everytime i am >> getting PJSUA_BUDDY_STATUS_UNKNOWN. after doing pjsua_buddy_add i am >> subscribing presence using pjsua_buddy_subscribe_pres. but still i am >> getting PJSUA_BUDDY_STATUS_UNKNOWN. >> >> even in iPjsua i am getting the same status. >> >> Can anybody help me in this. For the record i am using iptel.org as a >>SIP >> server. >> >> Thanks >> Manisha >> >>========================================================================= >>===================================================Disclaimer: >> This message and the information contained herein is proprietary and >> confidential and subject to the Tech Mahindra policy statement, you may >> review the policy at <a >>href="http://www.techmahindra.com/Disclaimer.html >> ">http://www.techmahindra.com/Disclaimer.html</a> externally and <a >>href=" >> http://tim.techmahindra.com/tim/disclaimer.html"> >> http://tim.techmahindra.com/tim/disclaimer.html</a> internally within >> Tech >> >>Mahindra.================================================================ >>============================================================ >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> >-------------- next part -------------- >An HTML attachment was scrubbed... >URL: ><http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/201303 >25/7d213806/attachment.html> > >------------------------------ > >Subject: Digest Footer > >_______________________________________________ >pjsip mailing list >pjsip@lists.pjsip.org >http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > >------------------------------ > >End of pjsip Digest, Vol 67, Issue 192 >************************************** ________________________________ Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo. This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at: http://www.tid.es/ES/PAGINAS/disclaimer.aspx _______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@lists.pjsip.org http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org ============================================================================================================================Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at <a href="http://www.techmahindra.com/Disclaimer.html">http://www.techmahindra.com/Disclaimer.html</a> externally and <a href="http://tim.techmahindra.com/tim/disclaimer.html">http://tim.techmahindra.com/tim/disclaimer.html</a> internally within Tech Mahindra.============================================================================================================================