[asterisk-users] IAX2 Call Transfer

Wolfgang Pichler wpichler at yosd.at
Thu May 27 12:55:23 CDT 2010


Hi all,

i do have the following setup

Incoming call over DAHDI -> to another machine using IAX2 -> Agent at
this machine starts an attended transfer to an external number
This new initiated call does go over IAX2 -> the machine the original
call came in -> DAHDI out into the world.
Agent does release the channel -> so asterisk does bridge the channel
which is at the agent machine with the channel the agent created for
the new outbound call.

So as far as i do understand this right - the media path after the
transfer is still DAHDI -> machine 1 -> machine agent -> machine 1 ->
DAHDI.
Or is the IAX2 Protocol smart enough to detect this - and does not
send the media across the line ?

If IAX2 is not smart enough - how could i make this possible ?

I already thought that something like this could do that trick:
Incoming DAHDI channel -> do dial IAX2 trunk on the same machine -> so
it is a native IAX2 channel -> go to agent machine - agent does create
outbound IAX2 channel - agent does transfer -> now asterisk can handle
it native - and will bridge channels on the first machine.

Would this work ?

best regards,
Wolfgang Pichler



More information about the asterisk-users mailing list