[Asterisk-Dev] Disabling native bridging altogether?
Kevin P. Fleming
kpfleming at digium.com
Thu Jul 21 13:40:31 MST 2005
Peter Hsu wrote:
> My asterisk server seems to be sporadically attempting native transfers
> when I don't expect it to. I've set notransfer=yes in my iax.conf both
> in the general section and for each of my outgoing peers. I also
> include the t, T, and L(some int > 0) tags when doing the transfer.
You are confusing native bridging and native transfers (which are one
step below).
Native bridging means it allows the channel driver (chan_iax2 in this
case) to handle the audio bridging, rather than sending the audio up the
stack into the res_features bridge. This is more efficient, and using
'Tt' will not stop it, since chan_iax2 can bridge the audio and still
stop bridging when DTMF arrives, since DTMF is always out of band in IAX2.
Native transfers are something else entirely (IAX2 specific), and
control what will happen when one IAX2 peer calls another _through_ your
box. If "notransfer" is not set, then your box will drop out of the
path, and allow the two IAX2 peers to talk directly to each other.
> -- Stopped music on hold on Local/test at outgoing-2
> -- Attempting native bridge of IAX2/Gafachi-out/2 and IAX2/Gafachi-out/1
Why don't you start by describing why you think you need to keep this
native bridge from happening, instead of finding ways to mangle the code
involved...
More information about the asterisk-dev
mailing list