[asterisk-bugs] [JIRA] (ASTERISK-22020) ooh323 Q931DisplayIE causes Anonymous on phone displays

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Jul 5 11:15:03 CDT 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-22020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Mudgett updated ASTERISK-22020:
---------------------------------------

    Description: 
When using Asterisk as a H323 <-> SIP gateway there is an issue with handsets on the H323 PBX showing 'Anonymous' on their displays which is the default Caller ID on Asterisk config.

The phones should display the called party number which requires the following modification on the source code:

{code}
 if(!ooUtilsIsStrEmpty(call->calledPartyNumber) && (pq931Msg->messageType != Q931StatusMsg))
   {
      msgbuf[i++] = Q931DisplayIE;
      ieLen = strlen(call->calledPartyNumber)+1;
      msgbuf[i++] = ieLen;
      memcpy(msgbuf+i, call->calledPartyNumber, ieLen-1);
      i += ieLen-1;
      msgbuf[i++] = '\0';
   }
{code}

Would it be possible to have an option in the config to allow the setting of the Q931DisplayIE to either the local caller ID or the called party number?

  was:
When using Asterisk as a H323 <-> SIP gateway there is an issue with handsets on the H323 PBX showing 'Anonymous' on their displays which is the default Caller ID on Asterisk config.

The phones should display the called party number which requires the following modification on the source code:

 if(!ooUtilsIsStrEmpty(call->calledPartyNumber) && (pq931Msg->messageType != Q931StatusMsg))
   {
      msgbuf[i++] = Q931DisplayIE;
      ieLen = strlen(call->calledPartyNumber)+1;
      msgbuf[i++] = ieLen;
      memcpy(msgbuf+i, call->calledPartyNumber, ieLen-1);
      i += ieLen-1;
      msgbuf[i++] = '\0';
   }

Would it be possible to have an option in the config to allow the setting of the Q931DisplayIE to either the local caller ID or the called party number?

    
> ooh323 Q931DisplayIE causes Anonymous on phone displays
> -------------------------------------------------------
>
>                 Key: ASTERISK-22020
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22020
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Addons/chan_ooh323
>    Affects Versions: 1.8.22.0
>            Reporter: Ross Beer
>
> When using Asterisk as a H323 <-> SIP gateway there is an issue with handsets on the H323 PBX showing 'Anonymous' on their displays which is the default Caller ID on Asterisk config.
> The phones should display the called party number which requires the following modification on the source code:
> {code}
>  if(!ooUtilsIsStrEmpty(call->calledPartyNumber) && (pq931Msg->messageType != Q931StatusMsg))
>    {
>       msgbuf[i++] = Q931DisplayIE;
>       ieLen = strlen(call->calledPartyNumber)+1;
>       msgbuf[i++] = ieLen;
>       memcpy(msgbuf+i, call->calledPartyNumber, ieLen-1);
>       i += ieLen-1;
>       msgbuf[i++] = '\0';
>    }
> {code}
> Would it be possible to have an option in the config to allow the setting of the Q931DisplayIE to either the local caller ID or the called party number?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list