[asterisk-users] API: how to bridge originated call?

Moises Silva moises.silva at gmail.com
Wed Jan 3 12:27:21 MST 2007


By the way, Chester, please report results to the bug I sent you, is
very imortant the users feedback to get this into Asterisk

Regards

On 1/3/07, Moises Silva <moises.silva at gmail.com> wrote:
> I have uploaded a working patch for version 1.2.12.1, and other that
> seems to work in Trunk, but few people is reporting results, you can
> help to get this into Asterisk, go here:
>
> http://bugs.digium.com/view.php?id=5841
>
> The patch I ported to 1.2.12.1 is working fine, I have tested in my
> servers, is the one called "bridge-1.2.12.1.patch", there are other
> ones that say trunk, obviously only work with the trunk version of
> Asterisk.
>
> Kind Regards
>
> On 1/3/07, chester c young <chestercyoung at yahoo.com> wrote:
> > (my pstn calls are coming in thru an upstream asterisk server, so the
> > called and calling phone number is passed as an extension.)
> >
> > when caller comes in on 5551111, he will go to extension 1234 where he
> > will wait for the API to make a call to 9992222 for him.  how do I
> > bridge the two calls?
> >
> > extensions.conf:
> >
> > ;context where caller comes in
> > [caller]
> > 5551111,s,1 Answer()
> > 5551111,s,n UserEvent(Init) ;this lets me know the connection for
> > 5551111
> > 5551111,1234,1 Noop(caller waits to be bridged)
> > 5551111,1234,2 Background(soothingmusic)
> >
> > ;context for connection - is this needed?
> > [connect]
> >
> >
> > from the API:
> >
> > (do I need to create a new context/extension first?)
> >
> > Action: Originate
> > Channel: IAX2/upstream/9992222  <-- calls 999222 thru upsteam IAX
> > Context: ??
> > Exten: ??
> > Priority: ??
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
> --
> "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"
>


-- 
"Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"


More information about the asterisk-users mailing list