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

Ross Beer (JIRA) noreply at issues.asterisk.org
Fri Jul 5 18:39:03 CDT 2013


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

Ross Beer commented on ASTERISK-22020:
--------------------------------------

The issue is that the person who makes the call is seeing 'Anonymous' after the call is answered. 

For example the call flow is:

Originate Call -> H323 -> Asterisk -> SIP -> PSTN

The PSTN phone shows the correct Caller ID which is set in the H323 packet. However Asterisk's caller id is set to 'Anonymous', this string is passed back in the progress Q931 packet and is then show on the screen of the phone which is Originating the call.

As Asterisk is acting as a gateway converting H323 to SIP the phone originating the call should show the telephone number dialed and not the 'Anonymous' string. 

In effect the PSTN number should be shown as this is the actual endpoint and not Asterisk it's self.

There is no issue with calls from the PSTN in the reverse flow.
                
> 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
>            Assignee: 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