[Asterisk-Users] Double Transfers.

Piotr A. Sygula psygula at net-shapers.com
Tue Nov 8 23:35:08 MST 2005


I'm sure this has came up in the past, and I've looked for it, probably
just didn't know what it's called, but I digress.

Let's say we have a company with two locations, A and B, both locations
have PSTN connections through asterisk with analog handsets.  IAX2
channels in both directions are configured between the two * boxen.

A call comes in through PSTN in A.  Extension 101 in A picks up the
call, and then transfers it to x. 201 in B.  So far, no problem.  IAX2
is used to bridge the call across two locations.  So x.201 in B is
happily chatting with some client from A and decides to transfer the
call back to x 101 in A.  

Here's where the trouble starts for me.  When that second transfer is
made, the * box in B tries to handle it by forming another IAX2
connection back to A.  This results in unbearable call quality for
somewhat obvious reasons.  It seems like what should happen is a message
from * B to * A to transfer the PSTN initiated call to A's local
extension, and it seems that this functionality has to be in place.

I know I can do that through FOP, assuming I'm connected to A's FOP in
B.  Is there any way to configure the dialplan to have * behave that
way?  I would call that a "smart" transfer.

I know I have to be missing something..  Anyone care to point me in the
right direction?  Thanx in advance.

**
***
****
Peter A. Sygula
President/Chief Security Officer - NetShapers, Inc.
< http://www.net-shapers.com  >






More information about the asterisk-users mailing list