[asterisk-bugs] [JIRA] (ASTERISK-28969) res_pjsip: AMI command for show endpoint does not reflect active channels

PeppeP (JIRA) noreply at issues.asterisk.org
Mon Jun 29 08:44:25 CDT 2020


    [ https://issues.asterisk.org/jira/browse/ASTERISK-28969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251273#comment-251273 ] 

PeppeP commented on ASTERISK-28969:
-----------------------------------

query: https://127.0.0.1:8089/amxml?action=pjsipshowendpoints
answer: <ajax-response><response type="object" id="unknown"><generic response="Success" eventlist="start" message="A listing of Endpoints follows, presented as EndpointList events"/></response><response type="object" id="unknown"><generic event="EndpointList" objecttype="endpoint" objectname="106" transport="udp" aor="106" auths="106-iauth" outboundauths="" contacts="106/sip:106 at 192.168.2.241:5062," devicestate="In use" activechannels=""/></response><response type="object" id="unknown"><generic event="EndpointList" objecttype="endpoint" objectname="102" transport="udp" aor="102" auths="102-iauth" outboundauths="" contacts="102/sip:102 at 192.168.2.180:40681;transport=udp," devicestate="In use" activechannels=""/></response><response type="object" id="unknown"><generic event="EndpointListComplete" eventlist="Complete" listitems="2"/></response></ajax-response>

core show channels
Channel              Location             State   Application(Data)             
PJSIP/102-00000000   106 at first:119        Up      Dial(PJSIP/106,,)             
PJSIP/106-00000001   (None)               Up      AppDial((Outgoing Line))      
2 active channels
1 active call
1 call processed

pjsip show endpoints

 Endpoint:  <Endpoint/CID.....................................>  <State.....>  <Channels.>
    I/OAuth:  <AuthId/UserName...........................................................>
        Aor:  <Aor............................................>  <MaxContact>
      Contact:  <Aor/ContactUri..........................> <Hash....> <Status> <RTT(ms)..>
  Transport:  <TransportId........>  <Type>  <cos>  <tos>  <BindAddress..................>
   Identify:  <Identify/Endpoint.........................................................>
        Match:  <criteria.........................>
    Channel:  <ChannelId......................................>  <State.....>  <Time.....>
        Exten: <DialedExten...........>  CLCID: <ConnectedLineCID.......>
==========================================================================================

 Endpoint:  102                                                  In use        1 of 100
     InAuth:  102-iauth/102
        Aor:  102                                                1
      Contact:  102/sip:102 at 192.168.2.180:40681;transport= 5df17455e0 NonQual         nan
  Transport:  udp                       udp      0      0  192.168.2.182:5060
    Channel: PJSIP/102-00000000/Dial                             Up            00:02:57   
        Exten: 106                       CLCID: "" <106>

 Endpoint:  106                                                  In use        1 of 100
     InAuth:  106-iauth/106
        Aor:  106                                                1
      Contact:  106/sip:106 at 192.168.2.241:5062             816c80a7a3 NonQual         nan
  Transport:  udp                       udp      0      0  192.168.2.182:5060
    Channel: PJSIP/106-00000001/AppDial                          Up            00:02:57   
        Exten:                           CLCID: "clarabella" <102>

 
Objects found: 2


> res_pjsip: AMI command for show endpoint does not reflect active channels
> -------------------------------------------------------------------------
>
>                 Key: ASTERISK-28969
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28969
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 16.11.1, 17.5.1
>         Environment: na
>            Reporter: PeppeP
>            Assignee: PeppeP
>            Severity: Minor
>
> pjsipshowendpoint and pjsipshowendpoint ami commands return always empty activechannels field.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list