[asterisk-bugs] [JIRA] (ASTERISK-22069) unexpected absence of connectedline update if set before answering

Matt Jordan (JIRA) noreply at issues.asterisk.org
Fri Jul 19 11:58:03 CDT 2013


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

Matt Jordan commented on ASTERISK-22069:
----------------------------------------

So, after some inspection, I think that is expected behavior.

The {{i}} is the inhibit flag - which is to say, "I want to set connected line information, but I don't want to send it yet". From the [wiki page on COLP|https://wiki.asterisk.org/wiki/display/AST/Manipulating+Party+ID+Information]:

{quote}
It is up to the channel technology to determine when to act upon connected line updates before the call is answered. ISDN will just store the updated information until the call is answered. SIP will immediately update the caller with a Re-INVITE.

Since the connected line information can be sent while a call is connected, you may need to prevent the channel driver from acting on a partial update. The 'i' option is used to inhibit the channel driver from sending the changed information immediately.
{quote}

Granted, that doesn't explicitly call out IAX. However, from some inspection, its behavior does appear to be to send a CNLINE update immediately upon receiving a connected line update control frame. That control frame is created by the {{CONNECTEDLINE}} function when set without the {{i}} option - and any call to it that does not specify the {{i}} option will trigger a full update of connected line information on that channel.

You should also get an automatic update when you get bridged or transferred, but that's the "normal" updates.

So: I don't think there is a bug here, but just the way that IAX happens to handle connected line.
                
> unexpected  absence of connectedline update if set before answering
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-22069
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-22069
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_iax2
>    Affects Versions: SVN
>            Reporter: Birger "WIMPy" Harzenetter
>            Assignee: Birger "WIMPy" Harzenetter
>            Severity: Minor
>         Attachments: iaxdebug
>
>
> chan_iax does not send connectedline information on answer if the CONNECTEDLINE function has been used with ",i".
> As the connectedline information isn't useful before answer, the presence or absence of ",i" shouldn't make a difference at that point.
> (At least) On chan_sip it actually doesn't make a difference.

--
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