Hi, Have your php create a call file in the outgoing directory and asterisk will take care of dialing the number using whatever channel you define in your call file.
Jimmy > -----Original Message----- > From: tiagodura...@gmail.com > Sent: Fri, 1 May 2009 11:02:58 -0400 > To: asterisk-users@lists.digium.com > Subject: [asterisk-users] AGI - Ways to create a call > > Hi guys, > > I've being trying to create a 'click2call' for internal use in the > place I work. The idea is pretty simple and actually I've a simple > click2call working working already... > > Well, my question is: do you guys have any tip in different ways to > create a call in Asterisk using AGI + PHP? > > Right now I'm only using simple PHP and sockets to talk to the > Asterisks using the manager. The thing is that I've about 7 Asterisk > servers in different locations and the channels sometimes are a little > hard to deal. I think it'd be easier if I could just put the source # > in a context of the dialplan and the Asterisk take care of defining > the channel it'll use. > > > Thank you! > > Best regards, > > -- > Tiago Durante > > ,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,.,., > Perseverance is the hard work you do after you > get tired of doing the hard work you already did. > -- Newt Gingrich > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users