[asterisk-dev] [Code Review] 2511: Add core API for attended transfers and partially hide masquerade usage.

Mark Michelson mmichelson at digium.com
Fri May 17 08:58:37 CDT 2013


On 05/16/2013 09:41 AM, Olle E. Johansson wrote:
>
> 16 maj 2013 kl. 16:31 skrev "rmudgett" <reviewboard at asterisk.org 
> <mailto:reviewboard at asterisk.org>>:
>
>> This is an automatically generated e-mail. To reply, visit: 
>> https://reviewboard.asterisk.org/r/2511/
>>
>>
>> /team/group/bridge_construction/main/bridging.c 
>> <https://reviewboard.asterisk.org/r/2511/diff/2-3/?file=37839#file37839line4933> 
>> (Diff revisions 2 - 3)
>> static enum ast_transfer_result blind_transfer_bridge(struct ast_channel *transferer,
>> 4887 	
>> 	return  AST_BRIDGE_TRANSFER_INVALID;
>> 	4909 	
>> 			"BridgeAttendedTransfer",  &cause);
>>
>> For local channels, you should use the form:
>> _{phony-exten}@{phony-context}/m
>>
>> _attended at transfer/m
>
> Please do NOT add the use of "@" as a separator in any new APIs. Thank 
> you.
>
> That will make it even harder to start trying to use "user at domain" as 
> an extension.
>
> /O
>

In this case, that's not going to happen. "_attended at transfer/m" is the 
name of a local channel destination. Local channel destinations are 
always of the form exten at context.

In this particular case, the call will never actually be sent to 
"_attended at transfer" because the local channel is set to either bridge 
or masquerade instead of actually going into the dialplan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130517/fbb8471d/attachment.htm>


More information about the asterisk-dev mailing list