chester c young
2007-Jan-03 11:05 UTC
[asterisk-users] API: how to bridge originated call?
(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
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@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"
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@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@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"
chester c young
2007-Jan-03 19:22 UTC
[asterisk-users] API: how to bridge originated call?
how is this fitting into 1.4? - can it be compiled against 1.4 or only 1.2? - if not, are there leanings in that direction? __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
For 1.4, you can try the trunk patch, it may work, PLEASE READ the bugtracker, there someone seems to have tested this in 1.4. On 1/3/07, chester c young <chestercyoung@yahoo.com> wrote:> how is this fitting into 1.4? > > - can it be compiled against 1.4 or only 1.2? > > - if not, are there leanings in that direction? > > __________________________________________________ > 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"