<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
How would be the dialplan for this context from-lan ?<div>??<br><br>*-------------------------------------------------------* <br>*-Edwin Quijada <br>*-Developer DataBase <br>*-JQ Microsistemas <br>
*-Soporte PostgreSQL<br>
*-www.jqmicrosistemas.com<br>*-809-849-8087<br>*-------------------------------------------------------*<br><br><br><br><br><br>&gt; Date: Sat, 12 Feb 2011 23:20:11 +0000<br>&gt; From: roger@firedrake.org<br>&gt; To: asterisk-users@lists.digium.com<br>&gt; Subject: Re: [asterisk-users] Using files .call or AMI<br>&gt; <br>&gt; On Sat, Feb 12, 2011 at 10:19:16PM +0000, Edwin Quijada wrote:<br>&gt; &gt;This works for me.! but the agent has to dial the number ?<br>&gt; &gt;How could be the context for do this ? U can give an example ?<br>&gt; <br>&gt; I'm using this to place calls from local IP-phones over the PSTN. So my<br>&gt; script will generate, say:<br>&gt; <br>&gt; Channel: SIP/lanphone<br>&gt; Context: from-lan<br>&gt; Extension: 08001234567<br>&gt; <br>&gt; taking the 0800... from the list of customer details.<br>&gt; <br>&gt; SIP/lanphone is the ID of the "originating" phone. Extension is the<br>&gt; sequence the agent would dial if he were placing the call himself.<br>&gt; The "originating" phone rings; when it's picked up, the Asterisk server<br>&gt; calls the "Extension" number and bridges the two calls, so the local<br>&gt; agent hears ringing tones from the far end. All the agent has to do is<br>&gt; pick up the phone when it rings and put it down when the call is over.<br>&gt; <br>&gt; --<br>&gt; _____________________________________________________________________<br>&gt; -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br>&gt;                http://www.asterisk.org/hello<br>&gt; <br>&gt; asterisk-users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;    http://lists.digium.com/mailman/listinfo/asterisk-users<br></div>                                               </body>
</html>