Re: [asterisk-users] Callback script anyone
From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of J. Oquendo Sent: Thursday, August 12, 2010 3:02 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Callback script anyone Danny Nicholas wrote: >> From: asterisk-users-boun...@lists.digium.com >> > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of J. Oquendo > >> Subject: [asterisk-users] Callback script anyone >> > > > >> Without diving into too many details, does anyone have a simple callback >> > script that does the following: > > >> Caller --> Dial >> Asterisk --> "In order to place this call please enter a callback number >> > to place this call for your pin..." > >> Caller --> Enters DID to call back for pin >> Asterisk --> stores a number to either a flat file or DB. (From here I >> > can take care of the rest) > > >> I'm using Asterisk 1.4. >> > > > I'm a little confused; are you wanting a DISA setup where caller enters a > PIN to continue the call, or are you wanting the caller to enter a DID where > you will call him back with a PIN? > Enter a DID where we can call back with a PIN. Here's a simple snippet Exten => 1234,1,read(anumber,amessage,11) exten => 1234,n,Gotoif($[ "${LEN(${anumber})}" < "7"]?tooshort) exten => 1234,n,Gotoif($[ "${LEN(${anumber})}" <>= "${EXTEN}"]?spoof) exten => 1234,n,Set(DB(xkey)=${anumber}) writes anumber to the asterisk db exten => 1234,n(tooshort),Playback(numtooshort) exten => 1234,n,Goto(1) exten => 1234,n(spoof),playback(liar) exten => 1234,n,hangup On line 3 you probably would use ${CALLERID(num)} instead of ${EXTEN} and you would have to record the messages "amessage", "numtooshort" and "liar". You could use a MYSQL command or system command in line 4; I just write this kind of stuff to the asterisk DB for simplicity. -- _ -- 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
Re: [asterisk-users] Callback script anyone
Danny Nicholas wrote: >> From: asterisk-users-boun...@lists.digium.com >> > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of J. Oquendo > >> Subject: [asterisk-users] Callback script anyone >> > > > >> Without diving into too many details, does anyone have a simple callback >> > script that does the following: > > >> Caller --> Dial >> Asterisk --> "In order to place this call please enter a callback number >> > to place this call for your pin..." > >> Caller --> Enters DID to call back for pin >> Asterisk --> stores a number to either a flat file or DB. (From here I >> > can take care of the rest) > > >> I'm using Asterisk 1.4. >> > > > I'm a little confused; are you wanting a DISA setup where caller enters a > PIN to continue the call, or are you wanting the caller to enter a DID where > you will call him back with a PIN? > > > Enter a DID where we can call back with a PIN. -- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ J. Oquendo SGFA, SGFE, C|EH, CNDA, CHFI, OSCP, CPT "It takes 20 years to build a reputation and five minutes to ruin it. If you think about that, you'll do things differently." - Warren Buffett 227C 5D35 7DCB 0893 95AA 4771 1DCE 1FD1 5CCD 6B5E http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x5CCD6B5E -- _ -- 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
Re: [asterisk-users] Callback script anyone
>From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of J. Oquendo >Subject: [asterisk-users] Callback script anyone >Without diving into too many details, does anyone have a simple callback script that does the following: >Caller --> Dial >Asterisk --> "In order to place this call please enter a callback number to place this call for your pin..." >Caller --> Enters DID to call back for pin >Asterisk --> stores a number to either a flat file or DB. (From here I can take care of the rest) >I'm using Asterisk 1.4. I'm a little confused; are you wanting a DISA setup where caller enters a PIN to continue the call, or are you wanting the caller to enter a DID where you will call him back with a PIN? -- _ -- 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
[asterisk-users] Callback script anyone
Without diving into too many details, does anyone have a simple callback script that does the following: Caller --> Dial Asterisk --> "In order to place this call please enter a callback number to place this call for your pin..." Caller --> Enters DID to call back for pin Asterisk --> stores a number to either a flat file or DB. (From here I can take care of the rest) I'm using Asterisk 1.4. For those running managed PBX's that are concerned with security, feel free to contact me off-list for an explanation of the request for this script, etc. -- =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ J. Oquendo SGFA, SGFE, C|EH, CNDA, CHFI, OSCP, CPT "It takes 20 years to build a reputation and five minutes to ruin it. If you think about that, you'll do things differently." - Warren Buffett 227C 5D35 7DCB 0893 95AA 4771 1DCE 1FD1 5CCD 6B5E http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x5CCD6B5E -- _ -- 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
Re: SV: [Asterisk-Users] callback script?
You can get asterisk source from http://www.asterisk.org/ Arne Morten Johansen wrote: It's a sip channel. http://www.asteriskguru.com/tutorials/unknown_codec_received.html This might work, but I don't know where to find the source-code of asterisk. I've used the ebuilds in gentoo portage to compile asterisk. And I'm not exactly a linux type of guy, so this is not my field. I tried calling the cellphone from a hardware SIP phone and tried pushing some buttons on the cell. Same error appeared and I couldn't hear anything. :( Any ideas? Regards, Arne Morten Johansen -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Joseph Tanner Sendt: 6. februar 2006 12:33 Til: Asterisk Users Mailing List - Non-Commercial Discussion Emne: Re: [Asterisk-Users] callback script? Sorry for the blank email, here's what I meant to send: I haven't seen that error before, sorry. A quick search using google turned this up though: http://www.mail-archive.com/asterisk-users@lists.digium.com/msg08901.html Not sure if it's relevant in your case. What is asterisk using to dial your remote cellphone? Is it a sip, iax, or zap channel? Or are you calling out using a cellphone connected to your asterisk server (whether by a dock connected to a zap card, or bluetooth)? I've noticed that dtmf is not processed between two cellular phones on a cingular account (tried two different motorola phones plus a sony ericsson phone). It may be an issue with other carriers too, to test just call from one cellphone to another, press some keys, and see if the other side hears any dtmf tones. If not, then you'll have to find another way to do what you're trying to accomplish. Joseph Tanner On 2/6/06, Arne Morten Johansen <[EMAIL PROTECTED]> wrote: Thanks. I'm able to getting the asterisk calling back to my cellphone. But when I get to the authentication I get this message when I start to dial in my password: NOTICE[5178]: rtp.c:509 ast_rtp_read: Unknown RTP codec 96 received Is this a DTMF failure of some sort? Thanks again. -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Joseph Tanner Sendt: 4. februar 2006 11:51 Til: Asterisk Users Mailing List - Non-Commercial Discussion Emne: Re: [Asterisk-Users] callback script? This is what I use, more or less: http://mundy.org/blog/index.php?p=73 , go down to "Incoming Call Context" (about 1/3 down). I had to modify it a bit, as I actually need Asterisk to pick up and listen to some DTMF digits before hanging up and calling me back, but it works great for me, and requires no external agi scripts. Joseph Tanner On 2/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: On Thursday 02 February 2006 11:40, Arne Morten Johansen wrote: How do I setup a Callback script? This script does what I want to do. But how do I set it up? http://www.junghanns.net/en/callback.html I see it uses PHP for scriptlanguage. So where do I place it (the .agi)? /var/lib/asterisk/agi-bin and should be 755 benchev ___ --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 ___ --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 ___ --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 ___ --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 ___ --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 ___ --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
SV: [Asterisk-Users] callback script?
It's a sip channel. http://www.asteriskguru.com/tutorials/unknown_codec_received.html This might work, but I don't know where to find the source-code of asterisk. I've used the ebuilds in gentoo portage to compile asterisk. And I'm not exactly a linux type of guy, so this is not my field. I tried calling the cellphone from a hardware SIP phone and tried pushing some buttons on the cell. Same error appeared and I couldn't hear anything. :( Any ideas? Regards, Arne Morten Johansen -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Joseph Tanner Sendt: 6. februar 2006 12:33 Til: Asterisk Users Mailing List - Non-Commercial Discussion Emne: Re: [Asterisk-Users] callback script? Sorry for the blank email, here's what I meant to send: I haven't seen that error before, sorry. A quick search using google turned this up though: http://www.mail-archive.com/asterisk-users@lists.digium.com/msg08901.html Not sure if it's relevant in your case. What is asterisk using to dial your remote cellphone? Is it a sip, iax, or zap channel? Or are you calling out using a cellphone connected to your asterisk server (whether by a dock connected to a zap card, or bluetooth)? I've noticed that dtmf is not processed between two cellular phones on a cingular account (tried two different motorola phones plus a sony ericsson phone). It may be an issue with other carriers too, to test just call from one cellphone to another, press some keys, and see if the other side hears any dtmf tones. If not, then you'll have to find another way to do what you're trying to accomplish. Joseph Tanner On 2/6/06, Arne Morten Johansen <[EMAIL PROTECTED]> wrote: > Thanks. > > I'm able to getting the asterisk calling back to my cellphone. But when I get > to the authentication I get this message when I start to dial in my password: > > NOTICE[5178]: rtp.c:509 ast_rtp_read: Unknown RTP codec 96 received > > Is this a DTMF failure of some sort? > > Thanks again. > > -Opprinnelig melding- > Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Joseph Tanner > Sendt: 4. februar 2006 11:51 > Til: Asterisk Users Mailing List - Non-Commercial Discussion > Emne: Re: [Asterisk-Users] callback script? > > This is what I use, more or less: > http://mundy.org/blog/index.php?p=73 , go down to "Incoming Call > Context" (about 1/3 down). I had to modify it a bit, as I actually > need Asterisk to pick up and listen to some DTMF digits before hanging > up and calling me back, but it works great for me, and requires no > external agi scripts. > > Joseph Tanner > > On 2/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Thursday 02 February 2006 11:40, Arne Morten Johansen wrote: > > > How do I setup a Callback script? > > > > > > This script does what I want to do. But how do I set it up? > > > > > > http://www.junghanns.net/en/callback.html > > > > > > I see it uses PHP for scriptlanguage. So where do I place it (the .agi)? > > > > /var/lib/asterisk/agi-bin > > and should be 755 > > benchev > > ___ > > --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 > > > ___ > --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 > > > ___ > --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 > ___ --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 ___ --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
Re: [Asterisk-Users] callback script?
Sorry for the blank email, here's what I meant to send: I haven't seen that error before, sorry. A quick search using google turned this up though: http://www.mail-archive.com/asterisk-users@lists.digium.com/msg08901.html Not sure if it's relevant in your case. What is asterisk using to dial your remote cellphone? Is it a sip, iax, or zap channel? Or are you calling out using a cellphone connected to your asterisk server (whether by a dock connected to a zap card, or bluetooth)? I've noticed that dtmf is not processed between two cellular phones on a cingular account (tried two different motorola phones plus a sony ericsson phone). It may be an issue with other carriers too, to test just call from one cellphone to another, press some keys, and see if the other side hears any dtmf tones. If not, then you'll have to find another way to do what you're trying to accomplish. Joseph Tanner On 2/6/06, Arne Morten Johansen <[EMAIL PROTECTED]> wrote: > Thanks. > > I'm able to getting the asterisk calling back to my cellphone. But when I get > to the authentication I get this message when I start to dial in my password: > > NOTICE[5178]: rtp.c:509 ast_rtp_read: Unknown RTP codec 96 received > > Is this a DTMF failure of some sort? > > Thanks again. > > -Opprinnelig melding- > Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Joseph Tanner > Sendt: 4. februar 2006 11:51 > Til: Asterisk Users Mailing List - Non-Commercial Discussion > Emne: Re: [Asterisk-Users] callback script? > > This is what I use, more or less: > http://mundy.org/blog/index.php?p=73 , go down to "Incoming Call > Context" (about 1/3 down). I had to modify it a bit, as I actually > need Asterisk to pick up and listen to some DTMF digits before hanging > up and calling me back, but it works great for me, and requires no > external agi scripts. > > Joseph Tanner > > On 2/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Thursday 02 February 2006 11:40, Arne Morten Johansen wrote: > > > How do I setup a Callback script? > > > > > > This script does what I want to do. But how do I set it up? > > > > > > http://www.junghanns.net/en/callback.html > > > > > > I see it uses PHP for scriptlanguage. So where do I place it (the .agi)? > > > > /var/lib/asterisk/agi-bin > > and should be 755 > > benchev > > ___ > > --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 > > > ___ > --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 > > > ___ > --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 > ___ --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
Re: [Asterisk-Users] callback script?
On 2/6/06, Arne Morten Johansen <[EMAIL PROTECTED]> wrote: > Thanks. > > I'm able to getting the asterisk calling back to my cellphone. But when I get > to the authentication I get this message when I start to dial in my password: > > NOTICE[5178]: rtp.c:509 ast_rtp_read: Unknown RTP codec 96 received > > Is this a DTMF failure of some sort? > > Thanks again. > > -Opprinnelig melding- > Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Joseph Tanner > Sendt: 4. februar 2006 11:51 > Til: Asterisk Users Mailing List - Non-Commercial Discussion > Emne: Re: [Asterisk-Users] callback script? > > This is what I use, more or less: > http://mundy.org/blog/index.php?p=73 , go down to "Incoming Call > Context" (about 1/3 down). I had to modify it a bit, as I actually > need Asterisk to pick up and listen to some DTMF digits before hanging > up and calling me back, but it works great for me, and requires no > external agi scripts. > > Joseph Tanner > > On 2/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > On Thursday 02 February 2006 11:40, Arne Morten Johansen wrote: > > > How do I setup a Callback script? > > > > > > This script does what I want to do. But how do I set it up? > > > > > > http://www.junghanns.net/en/callback.html > > > > > > I see it uses PHP for scriptlanguage. So where do I place it (the .agi)? > > > > /var/lib/asterisk/agi-bin > > and should be 755 > > benchev > > ___ > > --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 > > > ___ > --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 > > > ___ > --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 > ___ --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
SV: [Asterisk-Users] callback script?
Thanks. I'm able to getting the asterisk calling back to my cellphone. But when I get to the authentication I get this message when I start to dial in my password: NOTICE[5178]: rtp.c:509 ast_rtp_read: Unknown RTP codec 96 received Is this a DTMF failure of some sort? Thanks again. -Opprinnelig melding- Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] På vegne av Joseph Tanner Sendt: 4. februar 2006 11:51 Til: Asterisk Users Mailing List - Non-Commercial Discussion Emne: Re: [Asterisk-Users] callback script? This is what I use, more or less: http://mundy.org/blog/index.php?p=73 , go down to "Incoming Call Context" (about 1/3 down). I had to modify it a bit, as I actually need Asterisk to pick up and listen to some DTMF digits before hanging up and calling me back, but it works great for me, and requires no external agi scripts. Joseph Tanner On 2/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On Thursday 02 February 2006 11:40, Arne Morten Johansen wrote: > > How do I setup a Callback script? > > > > This script does what I want to do. But how do I set it up? > > > > http://www.junghanns.net/en/callback.html > > > > I see it uses PHP for scriptlanguage. So where do I place it (the .agi)? > > /var/lib/asterisk/agi-bin > and should be 755 > benchev > ___ > --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 > ___ --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 ___ --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
Re: [Asterisk-Users] callback script?
This is what I use, more or less: http://mundy.org/blog/index.php?p=73 , go down to "Incoming Call Context" (about 1/3 down). I had to modify it a bit, as I actually need Asterisk to pick up and listen to some DTMF digits before hanging up and calling me back, but it works great for me, and requires no external agi scripts. Joseph Tanner On 2/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > On Thursday 02 February 2006 11:40, Arne Morten Johansen wrote: > > How do I setup a Callback script? > > > > This script does what I want to do. But how do I set it up? > > > > http://www.junghanns.net/en/callback.html > > > > I see it uses PHP for scriptlanguage. So where do I place it (the .agi)? > > /var/lib/asterisk/agi-bin > and should be 755 > benchev > ___ > --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 > ___ --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
Re: [Asterisk-Users] callback script?
On Thursday 02 February 2006 11:40, Arne Morten Johansen wrote: > How do I setup a Callback script? > > This script does what I want to do. But how do I set it up? > > http://www.junghanns.net/en/callback.html > > I see it uses PHP for scriptlanguage. So where do I place it (the .agi)? /var/lib/asterisk/agi-bin and should be 755 benchev ___ --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
[Asterisk-Users] callback script?
How do I setup a Callback script? This script does what I want to do. But how do I set it up? http://www.junghanns.net/en/callback.html I see it uses PHP for scriptlanguage. So where do I place it (the .agi)? Any tips would be appreciated. Thanks, Arne Morten Johansen. ___ --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
Re: [Asterisk-Users] callback script
You can leave the stuff in callback.agi the way it is. [enhanced-outgoing] exten => _1XX,1,Dial(SIP/000.000.000.000/${EXTEN}) exten => _1XX,2,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) exten => _1XX,3,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) exten => _1XX,4,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) exten => _011.,1,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) exten => _011.,2,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) exten => _011.,3,Dial(IAX2/[EMAIL PROTECTED]/${EXTEN}) [meetme] exten => 9928,1,setaccount(customer) exten => 9928,2,Playback(you-are-being-connected-broadcast) exten => 9928,3,AbsoluteTimeout(12600) exten => 9928,4,Conference(conference1/M/1) exten => 9929,1,SetGroup(customer) exten => 9929,2,setaccount(customer) exten => 9929,3,Playback(you-are-being-connected-to-the-service) exten => 9929,4,AbsoluteTimeout(12600) exten => 9929,5,Conference(conference1/L/1) That is what I have. You would want to replace the meetme stuff with whatever you want the other end to connect to. Darren wassim darwish wrote: Hi: Once i have seen the post of Darren Wiebe of suggestion of a callback configuration in extensions.conf and it was like this: [callback] exten => _.,1,AGI(callback.agi,LAKEVIEW,1234567890,9998,,meetme,enhanced-outgoing) But i didnt know what to add in meetme and enhanced-outgoing contexts. if any body knows about this configuration ,just show me what to put in the meetme and enhanced-outgoing contexts and what to edit in this part of callback.agi script: $outgoingclid = ""; $channel = ""; $context = ""; $church = ""; Regards; wassim __ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.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 -- Darren Wiebe [EMAIL PROTECTED] Aleph Communications ASTPP - Open Source Voip Billing & Calling Cards www.aleph-com.net/astpp ___ --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
[Asterisk-Users] callback script
Hi: Once i have seen the post of Darren Wiebe of suggestion of a callback configuration in extensions.conf and it was like this: [callback] exten => _.,1,AGI(callback.agi,LAKEVIEW,1234567890,9998,,meetme,enhanced-outgoing) But i didnt know what to add in meetme and enhanced-outgoing contexts. if any body knows about this configuration ,just show me what to put in the meetme and enhanced-outgoing contexts and what to edit in this part of callback.agi script: $outgoingclid = ""; $channel = ""; $context = ""; $church = ""; Regards; wassim __ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.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