[asterisk-dev] [Code Review] ETSI Explicit Call Transfer (ECT) support. (libpri portion)
Tilghman Lesher
tlesher at digium.com
Wed Apr 21 12:33:30 CDT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/521/#review1869
-----------------------------------------------------------
/team/group/ccss/libpri.h
<https://reviewboard.asterisk.org/r/521/#comment4061>
Generally with API calls, it's preferable to spell out words, rather than use abbreviations. In this case, I think "pri_transfer_response" would be preferable.
/team/group/ccss/pri.c
<https://reviewboard.asterisk.org/r/521/#comment4062>
Add braces to new conditionals, for coding guidelines.
/team/group/ccss/pri.c
<https://reviewboard.asterisk.org/r/521/#comment4063>
Kill whitespace.
/team/group/ccss/pri_facility.c
<https://reviewboard.asterisk.org/r/521/#comment4064>
Could we change "enc" to "encode"?
/team/group/ccss/pri_facility.c
<https://reviewboard.asterisk.org/r/521/#comment4065>
"rsp" to "response".
There are more, but you get the idea.
- Tilghman
On 2010-02-19 15:30:49, rmudgett wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/521/
> -----------------------------------------------------------
>
> (Updated 2010-02-19 15:30:49)
>
>
> Review request for Asterisk Developers.
>
>
> Summary
> -------
>
> Added ability to send and receive ETSI Explicit Call Transfer (ECT) messages to eliminate tromboned calls.
>
> Added ETSI support to an existing API call to send ECT messages when the upper level indicates to transfer specified calls.
>
> The libpri API was extended to indicate to the upper layer that the far end requests the transfer of the indicated calls.
>
> This is a two part review request. Asterisk and libpri. This is the libpri portion.
> https://reviewboard.asterisk.org/r/520/ is the asterisk portion.
>
> Note: This change is based off of the libpri/team/group/ccss branch because of needed infrastructure improvements done in that branch.
>
>
> Diffs
> -----
>
> /team/group/ccss/libpri.h 1499
> /team/group/ccss/pri.c 1499
> /team/group/ccss/pri_facility.h 1499
> /team/group/ccss/pri_facility.c 1499
> /team/group/ccss/pri_internal.h 1499
> /team/group/ccss/pri_q931.h 1499
> /team/group/ccss/q931.c 1499
>
> Diff: https://reviewboard.asterisk.org/r/521/diff
>
>
> Testing
> -------
>
> A -- *1 -- *2 -- B&C
>
> Party A is on an ISDN phone.
>
> A calls B
> A puts B on hold
> A calls C
> A hangs up to initiate transfer
> The B and C parties are now connected to each other and the calls are only connected through *2.
>
> A calls B
> A puts B on hold
> A calls C
> A puts C on hold to retrieve B
> A hangs up to initiate transfer
> The B and C parties are now connected to each other and the calls are only connected through *2.
>
> Repeat the above two tests but party A uses the EctExecute message instead of disconnecting to transfer the calls.
>
> All four tests passed.
>
>
> Thanks,
>
> rmudgett
>
>
More information about the asterisk-dev
mailing list