Re: [Asterisk-Users] IVR menus on different DIDs
In each of included context You specified menu items like: exten = 1,1,Do_something and diffrent context have exten = 1,1,Do_something_else If You include= both context only first 1,1, should be aded to dialplan. second will not be added becouse there is 1,1,.. alredy. You can check it CLIshow dialplan and You should see context [iax] and only one '1' extension available. Użytkownik Christian Gansberger napisał: i didn't thought of that, and i tried it - it works when i use the Goto command before i had one incoming context like [iax] which includes the different sub-contexts of the three ivr-menus - and the menupoints of the first listet included context were played. Interesting. thanks to you Filip ! On 7/4/06, Filip Drągowski [EMAIL PROTECTED] wrote: Looking (not so deep) at Your logs... mostly cdr INSERT INTO... for me, it's looks that both calls was handled in [iax] context so... You specified [ivr-menu-number-context] - how do You make a jump to such context ? You have 3 dids 10,20,0 and 3 context,don't you ? where dids patterns are matched and proper jumps are executed ? in my opionion there should be somethnig like: calls incoming on did line go to [iax] context [iax] first_did,1,goto(first_did_context|s|1) second_did,1,goto(second_did_context|s|1) third_did,1,goto(third_did_context|s|1) did You try something like this ? F. So ... where can I get some help on my problem? thx christian ___ --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] IVR menus on different DIDs
So ...where can I get some help on my problem?thxchristian ___ --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] IVR menus on different DIDs
Looking (not so deep) at Your logs... mostly cdr INSERT INTO... for me, it's looks that both calls was handled in [iax] context so... You specified [ivr-menu-number-context] - how do You make a jump to such context ? You have 3 dids 10,20,0 and 3 context,don't you ? where dids patterns are matched and proper jumps are executed ? in my opionion there should be somethnig like: calls incoming on did line go to [iax] context [iax] first_did,1,goto(first_did_context|s|1) second_did,1,goto(second_did_context|s|1) third_did,1,goto(third_did_context|s|1) did You try something like this ? F. So ... where can I get some help on my problem? thx christian ___ --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] IVR menus on different DIDs
i didn't thought of that, and i tried it - it works when i use the Goto commandbefore i had one incoming context like [iax] which includes the different sub-contexts ofthe three ivr-menus - and the menupoints of the first listet included context were played. Interesting.thanks to you Filip !On 7/4/06, Filip Drągowski [EMAIL PROTECTED] wrote:Looking (not so deep) at Your logs... mostly cdr INSERT INTO...for me, it's looks that both calls was handled in [iax] context so...You specified [ivr-menu-number-context] - how do You make a jump to suchcontext ?You have 3 dids 10,20,0 and 3 context,don't you ?where dids patterns are matched and proper jumps are executed ? in my opionion there should be somethnig like:calls incoming on did line go to [iax] context[iax]first_did,1,goto(first_did_context|s|1)second_did,1,goto(second_did_context|s|1)third_did,1,goto(third_did_context|s|1) did You try something like this ?F. So ... where can I get some help on my problem? thx christian ___ --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 listTo 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] IVR menus on different DIDs
On 7/1/06, Christian Gansberger [EMAIL PROTECTED] wrote: Hi all, So the first ivr-menu is reached with 123456-10 and the context is first-ivr [first-ivr] exten = 12345610,1,Answer exten = 12345610,2,Set(TIMEOUT(digit)=2) exten = 12345610,3,Set(TIMEOUT(response)=10) exten = 12345610,4,Background(${FIRST_IVR_MENU_SELECTION_MSG}) exten = 1,1,Noop(First IVR-Menu point 1 was selected) exten = 2,1,Noop(First IVR-Menu point 2 was selected) exten = 3,1,Noop(First IVR-Menu point 3 was selected) So everythin is fine, i can make my choice and the right Noop is shown in CLI. [second-ivr] exten = 12345620,1,Answer exten = 12345620,2,Set(TIMEOUT(digit)=2) exten = 12345620,3,Set(TIMEOUT(response)=10) exten = 12345620,4,Background(${SECOND_IVR_MENU_SELECTION_MSG}) exten = 1,1,Noop(Second IVR-Menu point 1 was selected) exten = 2,1,Noop(Second IVR-Menu point 2 was selected) exten = 3,1,Noop(Second IVR-Menu point 3 was selected) When i call the 12345620 i hear the right Background message, but when i press button 1 - the CLI shows up the Noop(First IVR-Menu point 1 was selected). So that is the wrong one. Is this the right behaviour of asterisk, so i can only have one IVR-menu for a Telefonnr? thanks Christian Gansberger Asterisk version 1.2.7.1 ___ --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 No it is not. Please attach the relevant part of the log from /var/log/asterisk/full. Also, as a reference, you might wish to check FreePBX project can generate IVR dial logic using a simple web management interface. -- Cheers, Maxim Vexler Free as in Freedom - Do u GNU ? ___ --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] IVR menus on different DIDs
So here is the full log: at the end i have 3 ivr in my config first DID = 10second DID = 20third DID = 0i can hear the right message for my choices, but when i press 1 i always get the file from my third ivr menu First-ivr: logsJul 1 13:27:21 VERBOSE[17872] logger.c: -- Accepting AUTHENTICATED call from 213.235.242.217: requested format = alaw, requested prefs = (), actual format = alaw, host prefs = (alaw|ulaw|gsm), priority = mineJul 1 13:27:22 VERBOSE[18125] logger.c: -- Executing NoOp(IAX2/wuk-bony-iax-sil-5, Dialed number was: 1236300010) in new stack Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Executing Answer(IAX2/wuk-bony-iax-sil-5, ) in new stackJul 1 13:27:22 DEBUG[17852] channel.c: Avoiding initial deadlock for 'IAX2/wuk-bony-iax-sil-5' Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Executing Set(IAX2/wuk-bony-iax-sil-5, TIMEOUT(digit)=2) in new stackJul 1 13:27:22 VERBOSE[18125] logger.c: -- Digit timeout set to 2 Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Executing Set(IAX2/wuk-bony-iax-sil-5, TIMEOUT(response)=10) in new stackJul 1 13:27:22 VERBOSE[18125] logger.c: -- Response timeout set to 10 Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Executing BackGround(IAX2/wuk-bony-iax-sil-5, /var/lib/asterisk/sounds/new-mexico) in new stackJul 1 13:27:22 DEBUG[18125] channel.c: Scheduling timer at 160 sample intervals Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Playing '/var/lib/asterisk/sounds/new-mexico' (language 'de')Jul 1 13:27:22 DEBUG[17872] chan_iax2.c: Ooh, voice format changed to 8Jul 1 13:27:23 DEBUG[18125] channel.c: Scheduling timer at 0 sample intervalsJul 1 13:27:23 DEBUG[18125] channel.c: Scheduling timer at 0 sample intervalsJul 1 13:27:27 VERBOSE[18125] logger.c: == CDR updated on IAX2/wuk-bony-iax-sil-5 Jul 1 13:27:27 VERBOSE[18125] logger.c: -- Executing Set(IAX2/wuk-bony-iax-sil-5, COUNT=1) in new stackJul 1 13:27:27 VERBOSE[18125] logger.c: -- Executing BackGround(IAX2/wuk-bony-iax-sil-5, /var/lib/asterisk/sounds/sound.gyn/MP3verh/F_Einleitung4) in new stack Jul 1 13:27:27 DEBUG[18125] channel.c: Scheduling timer at 160 sample intervalsJul 1 13:27:27 VERBOSE[18125] logger.c: -- Playing '/var/lib/asterisk/sounds/sound.gyn/MP3verh/F_Einleitung4' (language 'de') Jul 1 13:27:31 DEBUG[17870] chan_sip.c: Scheduled a registration timeout for sip1.sil.at id #2716Jul 1 13:27:31 DEBUG[17870] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on ' [EMAIL PROTECTED]' Request 128: FoundJul 1 13:27:31 DEBUG[17870] chan_sip.c: Stopping retransmission on ' [EMAIL PROTECTED]' of Request 128: Match FoundJul 1 13:27:31 DEBUG[17870] chan_sip.c: Registration successfulJul 1 13:27:31 DEBUG[17870] chan_sip.c: Cancelling timeout 2716 Jul 1 13:27:34 DEBUG[17872] chan_iax2.c: Immediately destroying 5, having received hangupJul 1 13:27:34 DEBUG[18125] channel.c: Scheduling timer at 0 sample intervalsJul 1 13:27:34 VERBOSE[18125] logger.c: == Spawn extension (iax, 1, 2) exited non-zero on 'IAX2/wuk-bony-iax-sil-5' Jul 1 13:27:34 DEBUG[18125] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.Jul 1 13:27:34 DEBUG[18125] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('2006-07-01 13:27:22','\ [EMAIL PROTECTED] +4312361899201','+4312361899201','1','iax', 'IAX2/wuk-bony-iax-sil-5','','BackGround','/var/lib/asterisk/sounds/sound.gyn/MP3verh/F_Einleitung4',12,12,'ANSWERED',3,'')Jul 1 13:27:34 DEBUG[18125] chan_iax2.c: We're hanging up IAX2/wuk-bony-iax-sil-5 with cause 16 now... Jul 1 13:27:34 DEBUG[18125] chan_iax2.c: Really destroying IAX2/wuk-bony-iax-sil-5 now...Jul 1 13:27:34 VERBOSE[18125] logger.c: -- Hungup 'IAX2/wuk-bony-iax-sil-5'Second IVR: logJul 1 13:28:58 VERBOSE[17872] logger.c: -- Accepting AUTHENTICATED call from 213.235.242.217: requested format = alaw, requested prefs = (), actual format = alaw, host prefs = (alaw|ulaw|gsm), priority = mineJul 1 13:28:58 VERBOSE[18145] logger.c: -- Executing NoOp(IAX2/wuk-bony-iax-sil-10, Dialed number was: 1236300020) in new stack Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Executing Answer(IAX2/wuk-bony-iax-sil-10, ) in new stackJul 1 13:28:58 DEBUG[17852] channel.c: Avoiding initial deadlock for 'IAX2/wuk-bony-iax-sil-10' Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Executing Set(IAX2/wuk-bony-iax-sil-10, TIMEOUT(digit)=2) in new stackJul 1 13:28:58 VERBOSE[18145] logger.c: -- Digit timeout set to 2 Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Executing Set(IAX2/wuk-bony-iax-sil-10, TIMEOUT(response)=10) in new stackJul 1 13:28:58 VERBOSE[18145] logger.c: -- Response timeout set to 10 Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Executing BackGround(IAX2/wuk-bony-iax-sil-10, /var/lib/asterisk/sounds/illinois) in new stackJul 1 13:28:58 DEBUG[18145] channel.c: Scheduling timer at 160 sample intervals Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Playing '/var/lib/asterisk/sounds/illinois'