VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
annusfictus at gmail.com Guest
|
Posted: Mon Jun 06, 2016 12:14 pm Post subject: [asterisk-users] PJSIP subscribe |
|
|
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
|
Posted: Tue Jun 07, 2016 9:37 am Post subject: [asterisk-users] PJSIP subscribe |
|
|
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">
      <sip:1184@xxxx.com ([email]lt%3Bsip%3A1184@xxxx.com[/email])>
    </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
|
Posted: Tue Jun 07, 2016 10:04 am Post subject: [asterisk-users] PJSIP subscribe |
|
|
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 |
|
|
|
|
|
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
|