On Tue, 2010-08-03 at 16:04 -0500, Danny Nicholas wrote: > From: [email protected] > [mailto:[email protected]] On Behalf Of > [email protected] > Subject: [asterisk-users] Using SIP to dial extension that will give > anoutside line > > > > > You could try this: > > > > ; use lwatsu line > > Exten => 1234,1,dial(SIP/3001ww5551212) > > > > If dialing extension SIP/3001 from asterisk connects to the lwatsu > with an open line, the ww5551212 will wait 1 second, the dial on using > the lwatsu. > Actually, you nee to dial like this:
exten => 1234,1,Dial(SIP/lwatsu_sip/${NUMBER})
lwatsu_sip must be a defined peer in your sip.conf and ${NUMBER} would
be the number you wish to dial through that peer. If you need to send
the DTMF after the call is connected you can use the D option in the
dial command. It is up to the PBX to interpret the number you sent
using its internal dialplan.
--
Telecomunicaciones Abiertas de México S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001
signature.asc
Description: This is a digitally signed message part
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
