<br>So here is the full log: <br>at the end i have 3 ivr in my config <br>first DID = 10<br>second DID = 20<br>third DID = 0<br><br>i can hear the right message for my choices, but when i press 1 i always get the file from my third ivr menu
<br><br><br>First-ivr: logs<br><br>Jul 1 13:27:21 VERBOSE[17872] logger.c: -- Accepting AUTHENTICATED call from <a href="http://213.235.242.217">213.235.242.217</a>:<br> > requested format = alaw,<br> > requested prefs = (),
<br> > actual format = alaw,<br> > host prefs = (alaw|ulaw|gsm),<br> > priority = mine<br>Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Executing NoOp("IAX2/wuk-bony-iax-sil-5", "Dialed number was: 1236300010") in new stack
<br>Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Executing Answer("IAX2/wuk-bony-iax-sil-5", "") in new stack<br>Jul 1 13:27:22 DEBUG[17852] channel.c: Avoiding initial deadlock for 'IAX2/wuk-bony-iax-sil-5'
<br>Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Executing Set("IAX2/wuk-bony-iax-sil-5", "TIMEOUT(digit)=2") in new stack<br>Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Digit timeout set to 2<br>
Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Executing Set("IAX2/wuk-bony-iax-sil-5", "TIMEOUT(response)=10") in new stack<br>Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Response timeout set to 10
<br>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 stack<br>Jul 1 13:27:22 DEBUG[18125] channel.c: Scheduling timer at 160 sample intervals
<br>Jul 1 13:27:22 VERBOSE[18125] logger.c: -- Playing '/var/lib/asterisk/sounds/new-mexico' (language 'de')<br>Jul 1 13:27:22 DEBUG[17872] chan_iax2.c: Ooh, voice format changed to 8<br>Jul 1 13:27:23 DEBUG[18125]
channel.c: Scheduling timer at 0 sample intervals<br>Jul 1 13:27:23 DEBUG[18125] channel.c: Scheduling timer at 0 sample intervals<br>Jul 1 13:27:27 VERBOSE[18125] logger.c: == CDR updated on IAX2/wuk-bony-iax-sil-5<br>
Jul 1 13:27:27 VERBOSE[18125] logger.c: -- Executing Set("IAX2/wuk-bony-iax-sil-5", "COUNT=1") in new stack<br>Jul 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
<br>Jul 1 13:27:27 DEBUG[18125] channel.c: Scheduling timer at 160 sample intervals<br>Jul 1 13:27:27 VERBOSE[18125] logger.c: -- Playing '/var/lib/asterisk/sounds/sound.gyn/MP3verh/F_Einleitung4' (language 'de')<br>
Jul 1 13:27:31 DEBUG[17870] chan_sip.c: Scheduled a registration timeout for <a href="http://sip1.sil.at">sip1.sil.at</a> id #2716<br>Jul 1 13:27:31 DEBUG[17870] chan_sip.c: (Provisional) Stopping retransmission (but retaining packet) on '
<a href="mailto:10dc3af6455f81d512b7e7ea0d83154f@213.129.253.253">10dc3af6455f81d512b7e7ea0d83154f@213.129.253.253</a>' Request 128: Found<br>Jul 1 13:27:31 DEBUG[17870] chan_sip.c: Stopping retransmission on '<a href="mailto:10dc3af6455f81d512b7e7ea0d83154f@213.129.253.253">
10dc3af6455f81d512b7e7ea0d83154f@213.129.253.253</a>' of Request 128: Match Found<br>Jul 1 13:27:31 DEBUG[17870] chan_sip.c: Registration successful<br>Jul 1 13:27:31 DEBUG[17870] chan_sip.c: Cancelling timeout 2716<br>
Jul 1 13:27:34 DEBUG[17872] chan_iax2.c: Immediately destroying 5, having received hangup<br>Jul 1 13:27:34 DEBUG[18125] channel.c: Scheduling timer at 0 sample intervals<br>Jul 1 13:27:34 VERBOSE[18125] logger.c: == Spawn extension (iax, 1, 2) exited non-zero on 'IAX2/wuk-bony-iax-sil-5'
<br>Jul 1 13:27:34 DEBUG[18125] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.<br>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','\"
crs@sojus\" <+4312361899201>','+4312361899201','1','iax', 'IAX2/wuk-bony-iax-sil-5','','BackGround','/var/lib/asterisk/sounds/sound.gyn/MP3verh/F_Einleitung4',12,12,'ANSWERED',3,'')<br>Jul 1 13:27:34 DEBUG[18125] chan_iax2.c: We're hanging up IAX2/wuk-bony-iax-sil-5 with cause 16 now...
<br>Jul 1 13:27:34 DEBUG[18125] chan_iax2.c: Really destroying IAX2/wuk-bony-iax-sil-5 now...<br>Jul 1 13:27:34 VERBOSE[18125] logger.c: -- Hungup 'IAX2/wuk-bony-iax-sil-5'<br><br>Second IVR: log<br><br>Jul 1 13:28:58 VERBOSE[17872]
logger.c: -- Accepting AUTHENTICATED call from <a href="http://213.235.242.217">213.235.242.217</a>:<br> > requested format = alaw,<br> > requested prefs = (),<br> > actual format = alaw,<br>
> host prefs = (alaw|ulaw|gsm),<br> > priority = mine<br>Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Executing NoOp("IAX2/wuk-bony-iax-sil-10", "Dialed number was: 1236300020") in new stack
<br>Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Executing Answer("IAX2/wuk-bony-iax-sil-10", "") in new stack<br>Jul 1 13:28:58 DEBUG[17852] channel.c: Avoiding initial deadlock for 'IAX2/wuk-bony-iax-sil-10'
<br>Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Executing Set("IAX2/wuk-bony-iax-sil-10", "TIMEOUT(digit)=2") in new stack<br>Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Digit timeout set to 2<br>
Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Executing Set("IAX2/wuk-bony-iax-sil-10", "TIMEOUT(response)=10") in new stack<br>Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Response timeout set to 10
<br>Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Executing BackGround("IAX2/wuk-bony-iax-sil-10", "/var/lib/asterisk/sounds/illinois") in new stack<br>Jul 1 13:28:58 DEBUG[18145] channel.c: Scheduling timer at 160 sample intervals
<br>Jul 1 13:28:58 VERBOSE[18145] logger.c: -- Playing '/var/lib/asterisk/sounds/illinois' (language 'de')<br>Jul 1 13:28:58 DEBUG[17872] chan_iax2.c: Ooh, voice format changed to 8<br>Jul 1 13:28:59 DEBUG[18145] channel.c
: Scheduling timer at 0 sample intervals<br>Jul 1 13:28:59 DEBUG[18145] channel.c: Scheduling timer at 0 sample intervals<br>Jul 1 13:29:02 VERBOSE[18145] logger.c: == CDR updated on IAX2/wuk-bony-iax-sil-10<br>Jul 1 13:29:02 VERBOSE[18145]
logger.c: -- Executing Set("IAX2/wuk-bony-iax-sil-10", "COUNT=1") in new stack<br>Jul 1 13:29:02 VERBOSE[18145] logger.c: -- Executing BackGround("IAX2/wuk-bony-iax-sil-10", "/var/lib/asterisk/sounds/sound.gyn/MP3verh/F_Einleitung4") in new stack
<br>Jul 1 13:29:02 DEBUG[18145] channel.c: Scheduling timer at 160 sample intervals<br>Jul 1 13:29:02 VERBOSE[18145] logger.c: -- Playing '/var/lib/asterisk/sounds/sound.gyn/MP3verh/F_Einleitung4' (language 'de')<br>
Jul 1 13:29:10 DEBUG[17872] chan_iax2.c: Immediately destroying 10, having received hangup<br>Jul 1 13:29:10 DEBUG[18145] channel.c: Scheduling timer at 0 sample intervals<br>Jul 1 13:29:10 VERBOSE[18145] logger.c: == Spawn extension (iax, 1, 2) exited non-zero on 'IAX2/wuk-bony-iax-sil-10'
<br>Jul 1 13:29:10 DEBUG[18145] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.<br>Jul 1 13:29:10 DEBUG[18145] 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:28:58','\"
crs@sojus\" <+4312361899201>','+4312361899201','1','iax', 'IAX2/wuk-bony-iax-sil-10','','BackGround','/var/lib/asterisk/sounds/sound.gyn/MP3verh/F_Einleitung4',12,12,'ANSWERED',3,'')<br>Jul 1 13:29:10 DEBUG[18145] chan_iax2.c: We're hanging up IAX2/wuk-bony-iax-sil-10 with cause 16 now...
<br>Jul 1 13:29:10 DEBUG[18145] chan_iax2.c: Really destroying IAX2/wuk-bony-iax-sil-10 now...<br>Jul 1 13:29:10 VERBOSE[18145] logger.c: -- Hungup 'IAX2/wuk-bony-iax-sil-10'<br>Jul 1 13:29:15 DEBUG[17870] chan_sip.c: Stopping retransmission on '
<a href="mailto:55e2b4541b5c85d97eef3f2e7e531b40@213.129.253.253">55e2b4541b5c85d97eef3f2e7e531b40@213.129.253.253</a>' of Request 102: Match Found<br>Jul 1 13:29:15 DEBUG[17870] chan_sip.c: Stopping retransmission on '<a href="mailto:6cbb26cc64ea35b6378686610efd675c@213.129.253.253">
6cbb26cc64ea35b6378686610efd675c@213.129.253.253</a>' of Request 102: Match Found<br>Jul 1 13:29:16 DEBUG[17872] chan_iax2.c: Peer lastms 1, historicms 1, maxms 5000<br><br>third ivr: log<br><br>Jul 1 13:33:33 VERBOSE[17872]
logger.c: -- Accepting AUTHENTICATED call from <a href="http://213.235.242.217">213.235.242.217</a>:<br> > requested format = alaw,<br> > requested prefs = (),<br> > actual format = alaw,<br>
> host prefs = (alaw|ulaw|gsm),<br> > priority = mine<br>Jul 1 13:33:33 VERBOSE[18198] logger.c: -- Executing Answer("IAX2/wuk-bony-iax-sil-17", "") in new stack<br>Jul 1 13:33:33 DEBUG[17852]
channel.c: Avoiding initial deadlock for 'IAX2/wuk-bony-iax-sil-17'<br>Jul 1 13:33:33 VERBOSE[18198] logger.c: -- Executing Set("IAX2/wuk-bony-iax-sil-17", "TIMEOUT(digit)=2") in new stack<br>Jul 1 13:33:33 VERBOSE[18198]
logger.c: -- Digit timeout set to 2<br>Jul 1 13:33:33 VERBOSE[18198] logger.c: -- Executing Set("IAX2/wuk-bony-iax-sil-17", "TIMEOUT(response)=10") in new stack<br>Jul 1 13:33:33 VERBOSE[18198]
logger.c: -- Response timeout set to 10<br>Jul 1 13:33:33 VERBOSE[18198] logger.c: -- Executing BackGround("IAX2/wuk-bony-iax-sil-17", "/var/lib/asterisk/sounds/sound.gyn/TelefonansageWAV/F_Telefonansage4") in new stack
<br>Jul 1 13:33:33 DEBUG[18198] channel.c: Scheduling timer at 160 sample intervals<br>Jul 1 13:33:33 VERBOSE[18198] logger.c: -- Playing '/var/lib/asterisk/sounds/sound.gyn/TelefonansageWAV/F_Telefonansage4' (language 'de')
<br>Jul 1 13:33:33 DEBUG[17872] chan_iax2.c: Ooh, voice format changed to 8<br>Jul 1 13:33:48 DEBUG[18198] channel.c: Scheduling timer at 0 sample intervals<br>Jul 1 13:33:48 DEBUG[18198] pbx.c: Oooh, got something to jump out with ('1')!
<br>Jul 1 13:33:50 VERBOSE[18198] logger.c: == CDR updated on IAX2/wuk-bony-iax-sil-17<br>Jul 1 13:33:50 VERBOSE[18198] logger.c: -- Executing Set("IAX2/wuk-bony-iax-sil-17", "COUNT=1") in new stack
<br>Jul 1 13:33:50 VERBOSE[18198] logger.c: -- Executing BackGround("IAX2/wuk-bony-iax-sil-17", "/var/lib/asterisk/sounds/sound.gyn/MP3verh/F_Einleitung4") in new stack<br>Jul 1 13:33:50 DEBUG[18198]
channel.c: Scheduling timer at 160 sample intervals<br>Jul 1 13:33:50 VERBOSE[18198] logger.c: -- Playing '/var/lib/asterisk/sounds/sound.gyn/MP3verh/F_Einleitung4' (language 'de')<br>Jul 1 13:34:00 DEBUG[17872] chan_iax2.c: Immediately destroying 17, having received hangup
<br>Jul 1 13:34:00 DEBUG[18198] channel.c: Scheduling timer at 0 sample intervals<br>Jul 1 13:34:00 VERBOSE[18198] logger.c: == Spawn extension (iax, 1, 2) exited non-zero on 'IAX2/wuk-bony-iax-sil-17'<br>Jul 1 13:34:00 DEBUG[18198] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.
<br>Jul 1 13:34:00 DEBUG[18198] 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:33:33','\"
crs@sojus\" <+4312361899201>','+4312361899201','1','iax', 'IAX2/wuk-bony-iax-sil-17','','BackGround','/var/lib/asterisk/sounds/sound.gyn/MP3verh/F_Einleitung4',27,27,'ANSWERED',3,'')<br>Jul 1 13:34:00 DEBUG[18198] chan_iax2.c: We're hanging up IAX2/wuk-bony-iax-sil-17 with cause 16 now...
<br>Jul 1 13:34:00 DEBUG[18198] chan_iax2.c: Really destroying IAX2/wuk-bony-iax-sil-17 now...<br>Jul 1 13:34:00 VERBOSE[18198] logger.c: -- Hungup 'IAX2/wuk-bony-iax-sil-17'<br><br>for completness here is the context of the third ivr:
<br><br>[infosys-gynmus-verh]<br><br>exten => ${GYN_NR_VERH},1,Answer<br>exten => ${GYN_NR_VERH},2,Set(TIMEOUT(digit)=2)<br>exten => ${GYN_NR_VERH},3,Set(TIMEOUT(response)=10)<br>exten => ${GYN_NR_VERH},4,Background(/var/lib/asterisk/sounds/sound.gyn/TelefonansageWAV/F_Telefonansage4)
<br><br>exten => 0,1,Goto(${GYN_NR_VERH}|2)<br><br>exten => 1,1,Set(COUNT=1)<br>exten => 1,2,Background(${GYN_FILE_VERH_PANEL1})<br><br>exten => 2,1,Set(COUNT=2)<br>exten => 2,2,Background(${GYN_FILE_VERH_PANEL2})
<br><br>exten => 3,1,Set(COUNT=3)<br>exten => 3,2,Background(${GYN_FILE_VERH_PANEL3})<br><br>exten => 4,1,Set(COUNT=4)<br>exten => 4,2,Background(${GYN_FILE_VERH_PANEL4})<br><br>exten => 5,1,Set(COUNT=5)<br>
exten => 5,2,Background(${GYN_FILE_VERH_PANEL5})<br><br>exten => 6,1,Set(COUNT=6)<br>exten => 6,2,Background(${GYN_FILE_VERH_PANEL6})<br><br>exten => 7,1,Set(COUNT=7)<br>exten => 7,2,Background(${GYN_FILE_VERH_PANEL7})
<br><br>exten => 8,1,Set(COUNT=8)<br>exten => 8,2,Background(${GYN_FILE_VERH_PANEL8})<br><br>;vorheriges anhoeren<br>exten => *,1,Set(GOTO=$[${COUNT}-1])<br>exten => *,2,Goto(${GOTO}|1)<br><br>;naechstes anhoeren
<br>exten => #,1,Set(GOTO=$[${COUNT}+1])<br>exten => #,2,Goto(${GOTO}|1)<br><br>exten => i,1,Set(LANGUAGE()=de)<br>exten => i,2,Playback(pbx-invalid)<br>exten => i,3,Goto(${GYN_NR_VERH}|4)<br><br><br><br><div>
<span class="gmail_quote">On 7/1/06, <b class="gmail_sendername">Maxim Vexler</b> <<a href="mailto:hq4ever@gmail.com">hq4ever@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 7/1/06, Christian Gansberger <<a href="mailto:c.gansberger@gmail.com">c.gansberger@gmail.com</a>> wrote:<br>><br>> Hi all,<br>><br>> So the first ivr-menu is reached with 123456-10 and the context is "first-ivr"
<br>><br>> [first-ivr]<br>> exten => 12345610,1,Answer<br>> exten => 12345610,2,Set(TIMEOUT(digit)=2)<br>> exten => 12345610,3,Set(TIMEOUT(response)=10)<br>> exten => 12345610,4,Background(${FIRST_IVR_MENU_SELECTION_MSG})
<br>><br>> exten => 1,1,Noop(First IVR-Menu point 1 was selected)<br>> exten => 2,1,Noop(First IVR-Menu point 2 was selected)<br>> exten => 3,1,Noop(First IVR-Menu point 3 was selected)<br>><br>> So everythin is fine, i can make my choice and the right Noop is shown in CLI.
<br>><br>><br>> [second-ivr]<br>> exten => 12345620,1,Answer<br>> exten => 12345620,2,Set(TIMEOUT(digit)=2)<br>> exten => 12345620,3,Set(TIMEOUT(response)=10)<br>> exten => 12345620,4,Background(${SECOND_IVR_MENU_SELECTION_MSG})
<br>><br>> exten => 1,1,Noop(Second IVR-Menu point 1 was selected)<br>> exten => 2,1,Noop(Second IVR-Menu point 2 was selected)<br>> exten => 3,1,Noop(Second IVR-Menu point 3 was selected)<br>><br>
> When i call the 12345620 i hear the right Background message, but when i press button 1 - the CLI shows up<br>> the "Noop(First IVR-Menu point 1 was selected)". So that is the wrong one.<br>><br>> Is this the right behaviour of asterisk, so i can only have one IVR-menu for a Telefonnr?
<br>><br>> thanks<br>><br>><br>> Christian Gansberger<br>> Asterisk version <a href="http://1.2.7.1">1.2.7.1</a><br>><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br>><br>> Asterisk-Users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>><br>><br>><br><br>No it is not.<br>Please attach the relevant part of the log from /var/log/asterisk/full.<br><br>Also, as a reference, you might wish to check FreePBX project can<br>generate IVR dial logic using a simple web management interface.
<br><br>--<br>Cheers,<br>Maxim Vexler<br><br>"Free as in Freedom" - Do u GNU ?<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com
</a> --<br><br>Asterisk-Users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>