[asterisk-users] AGI transfer question

Roy Kidder asterisk at jehster.net
Thu Aug 17 05:32:52 MST 2006


I'm looking for some guidance on setting up an extension (associated with
a physical port) properly and being able to transfer calls in an AGI
script.

I started out my home brew system with just an fxo port attached to the
PSTN. Now, I've added a fxs port and I'd like to hang a phone off of it
(TDM411). My current extensions.conf looks like this:

exten => s,1,Wait,1
exten => s,2,Answer
(and so on)

and it works just fine picking up an incoming call and launching into my
AGI script. But I'd like to expand the system to be able to transfer calls
between the fxo and fxs ports in an AGI script. Basically, a very simply
PBX. So, an incoming call on the fxo could be sent to the fxs. And an
outbound call when the phone on the fxs port is picked up, would be able
to "dial 9" to get out.


Thanks in advance,
Roy



More information about the asterisk-users mailing list