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.
On Mon, Jun 6, 2016 at 11:13 AM, Annus Fictus <annusfictus at gmail.com> wrote:> 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 at xxxx.com> </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.> > 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 Joseph Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160607/1de602b9/attachment.html>
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?:> 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.
Hello, How can I know if is a BUG and report on Asterisk-Jira? Thank you Regards -------- Mensaje reenviado -------- Asunto: PJSIP subscribe Fecha: Mon, 6 Jun 2016 19:13:35 +0200 De: Annus Fictus <annusfictus at gmail.com> Para: Asterisk Users Mailing List - Non-Commercial Discussion <asterisk-users at lists.digium.com> 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160608/73914a37/attachment.html>
On Wed, Jun 8, 2016 at 8:48 AM, Annus Fictus <annusfictus at gmail.com> wrote:> Hello, > > How can I know if is a BUG and report on Asterisk-Jira? >Asterisk is sending the correct "ep:busy" status but the clients appear to not be using it. I'm not sure what else we can do on the Asterisk side.> Thank you > > Regards > > > -------- Mensaje reenviado -------- > Asunto: PJSIP subscribe > Fecha: Mon, 6 Jun 2016 19:13:35 +0200 > De: Annus Fictus <annusfictus at gmail.com> <annusfictus at gmail.com> > Para: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users at lists.digium.com> <asterisk-users at lists.digium.com> > > 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 >-- George Joseph Digium, Inc. | Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160608/9e5f2450/attachment.html>