Re: How do I bind a outbound call?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> that you have written is like me, or do I mistake?

> thanks

You DO need a bridge, if that's what you're asking. The bridge is used to connect the two channels. ARI Does not support Originate to anything else but a Stasis Application. Unlike AMI's Originate which takes a source and destination (channel/extension/app etc), Stasis will only allow you to originate a channel into a Stasis app. I think the reasoning here was mostly to do with security etc, but either way, you need to bridge both the calls.

You might just be better off using AMI's originate! It would be easier for you, you could set the PSTN as the first leg and your sip extension as the second.

https://wiki.asterisk.org/wiki/display/AST/Asterisk+11+ManagerAction_Originate


> > I'm doing a predictive dialer by ARI, that is:
> >
> > asterisk call 2 number phone (to PSTN) in outbound, when one phone PSTN answer (we suppose answer first phone) then asterisk call my sip phone, when I answer then asterisk bind, by a bridge, the first channel (PSTN) and my sip phone and hang up the second calling (PSTN).
> >
> > is it right? exist a ARI function redirect from PSTN to my sip phone without bridge?
> > thanks

> The general pattern here would be, in my opinion.

> Originate 1st channel (PSTN)
> On Answer Originate 2nd channel (local sip extension)
> On Answer Create a bridge and add 1st and second channels to the bridge
> On Hang-up destroy bridge


_______________________________________________
asterisk-app-dev mailing list
asterisk-app-dev@xxxxxxxxxxxxxxxx
http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev





[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux