[Asterisk-code-review] app dial/queue/followme: 'I' options to block initial update... (asterisk[13])
Alexei Gradinari
asteriskteam at digium.com
Thu Oct 4 17:04:50 CDT 2018
Alexei Gradinari has posted comments on this change. ( https://gerrit.asterisk.org/10286 )
Change subject: app_dial/queue/followme: 'I' options to block initial updates in both directions
......................................................................
Patch Set 3:
> You can use the pjsip endpoint callerid_tag option string to
> indicate which tenant the
> endpoint represents. The interception routine can compare the
> channel's callerid tag
> with the updated connected line's tag. (You could compare the
> connected line tag with
> a parameter set on the interception routine's arguments instead of
> the callerid tag.)
> If they match you know it is one tenant member talking with
> another. If they don't
> match then you can use the fixed "public" identity of the connected
> line tenant.
The callerid_tag... it's an interesting thing.
If I'm correct there is only one way to get the channel caller id tag
inside the interception route using
${PJSIP_ENDPOINT(${CHANNEL(endpoint)},callerid_tag)}
What do you think if the callerid_tag can be retrieved by the CHANNEL function
directly using ast_sip_session.id.tag
like
${CHANNEL(pjsip,callerid_tag)}) or ${CHANNEL(callerid_tag)})
If you agree I can do a new patch which will add this to
channels/pjsip/dialplan_functions.c
> To reiterate: Blocking anything other than the initial connected
> line update is wrong.
Ok, this patch blocks only initial updates.
--
To view, visit https://gerrit.asterisk.org/10286
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: comment
Gerrit-Change-Id: I6ce9e151a2220ce9e95aa66666933cfb9e2a4a01
Gerrit-Change-Number: 10286
Gerrit-PatchSet: 3
Gerrit-Owner: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Alexei Gradinari <alex2grad at gmail.com>
Gerrit-Reviewer: Jenkins2 (1000185)
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
Gerrit-Comment-Date: Thu, 04 Oct 2018 22:04:50 +0000
Gerrit-HasComments: No
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20181004/86b02c51/attachment.html>
More information about the asterisk-code-review
mailing list