[asterisk-users] Using files .call or AMI

Roger Burton West roger at firedrake.org
Sat Feb 12 17:20:11 CST 2011


On Sat, Feb 12, 2011 at 10:19:16PM +0000, Edwin Quijada wrote:
>This works for me.! but the agent has to dial the number ?
>How could be the context for do this ? U can give an example ?

I'm using this to place calls from local IP-phones over the PSTN. So my
script will generate, say:

Channel: SIP/lanphone
Context: from-lan
Extension: 08001234567

taking the 0800... from the list of customer details.

SIP/lanphone is the ID of the "originating" phone. Extension is the
sequence the agent would dial if he were placing the call himself.
The "originating" phone rings; when it's picked up, the Asterisk server
calls the "Extension" number and bridges the two calls, so the local
agent hears ringing tones from the far end. All the agent has to do is
pick up the phone when it rings and put it down when the call is over.



More information about the asterisk-users mailing list