Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] PJSIP subscribe


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
annusfictus at gmail.com
Guest





PostPosted: Mon Jun 06, 2016 12:14 pm    Post subject: [asterisk-users] PJSIP subscribe Reply with quote

Hello,

I'm trying to use presence with PJSIP and I have a "issue".

I created correctly hint priorities like:

exten => 1000,hint,PJSIP/1000
exten => 1001,hint,PJSIP/1001

Extension 1000 can subscribe extension 1001 y vice-versa. The problem is
when the extension 1000 make or receive a call. In the softphone where
the extension is present on buddy list, the extension appear go offline.
When hang-up the extension return on-line.

On the Asterisk console the command core show hints show the correct
state for the extension.

On my tests I used XLite, Bria and Jitsi.

Any hint?

Thank you

Regards.



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
gjoseph at digium.com
Guest





PostPosted: Tue Jun 07, 2016 9:37 am    Post subject: [asterisk-users] PJSIP subscribe Reply with quote

On Mon, Jun 6, 2016 at 11:13 AM, Annus Fictus <annusfictus@gmail.com (annusfictus@gmail.com)> wrote:
Quote:
Hello,

I'm trying to use presence with PJSIP and  I have a "issue".

I created correctly hint priorities like:

exten => 1000,hint,PJSIP/1000
exten => 1001,hint,PJSIP/1001

Extension 1000 can subscribe extension 1001 y vice-versa. The problem is when the extension 1000 make or receive a call. In the softphone where the extension is present on buddy list, the extension appear go offline. When hang-up the extension return on-line.


This is what Asterisk sends when an endpoint is "InUse":


xmlns:ep="urn:ietf:params:xml:ns:pidf:rpid:rpid-person">
   <note>
      On the phone
   </note>
   <tuple id="1180">
       <status>
          <basic>
              closed
          </basic>
       </status>
       <contact priority="1">
           &lt;sip:1184@xxxx.com ([email]lt%3Bsip%3A1184@xxxx.com[/email])&gt;
       </contact>
   </tuple>
   <pp:person>
      <status>
         <ep:activities>
             ep:busy
         </ep:activities>
      </status>
   </pp:person>
</presence>





I can confirm that Bria shows offline but if the client is using the tuple status instead of the person status then I can see why.
 

Quote:

On the Asterisk console the command core show hints show the correct state for the extension.

On my tests I used XLite, Bria and Jitsi.

Any hint?

Thank you

Regards.



--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
              http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




--
George JosephDigium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org
Back to top
annusfictus at gmail.com
Guest





PostPosted: Tue Jun 07, 2016 10:04 am    Post subject: [asterisk-users] PJSIP subscribe Reply with quote

Hello,

thank you for the answer... how can I see the correct status?

any configuration on asterisk or softphone side?

Regards

El 07/06/2016 a las 16:36, George Joseph escribió:
Quote:
I can confirm that Bria shows offline but if the client is using the
tuple status instead of the person status then I can see why.


--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services