Disa and language

Discussion in 'General' started by johnme, Nov 13, 2010.

  1. johnme

    Joined:
    Nov 28, 2008
    Messages:
    148
    Likes Received:
    0
    Hi

    I use elastix 2.0.2.
    I have instaled greek voice prompts in a folder called "el".
    I did put "language=el" to any place i can (sip,iax,dahdi,extentions,trunks).
    The problem is that when i use disa for outside dialing the language automatically returns to "en".

    Take a look...

    [root@pbx ~]# asterisk -rvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    Asterisk 1.6.2.13, Copyright (C) 1999 - 2010 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'core show license' for details.
    =========================================================================
    == Parsing '/etc/asterisk/asterisk.conf': == Found
    == Parsing '/etc/asterisk/extconfig.conf': == Found
    Connected to Asterisk 1.6.2.13 currently running on pbx (pid = 11426)
    Verbosity was 3 and is now 65
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [receiver@from-pstn:1] Set("SIP/003_Gsm-00000002", "__FROM_DID=receiver") in new stack
    -- Executing [receiver@from-pstn:2] Goto("SIP/003_Gsm-00000002", "s,1") in new stack
    -- Goto (from-pstn,s,1)
    -- Executing [s@from-pstn:1] ExecIf("SIP/003_Gsm-00000002", "0?Set(__FROM_DID=s)") in new stack
    -- Executing [s@from-pstn:2] Gosub("SIP/003_Gsm-00000002", "app-blacklist-check,s,1") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/003_Gsm-00000002", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("SIP/003_Gsm-00000002", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/003_Gsm-00000002", "") in new stack
    -- Executing [s@from-pstn:3] Set("SIP/003_Gsm-00000002", "CHANNEL(language)=el") in new stack
    -- Executing [s@from-pstn:4] ExecIf("SIP/003_Gsm-00000002", "0 ?Set(CALLERID(name)=+xxxxxxxxxxxx)") in new stack
    -- Executing [s@from-pstn:5] Set("SIP/003_Gsm-00000002", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@from-pstn:6] Set("SIP/003_Gsm-00000002", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [s@from-pstn:7] Goto("SIP/003_Gsm-00000002", "ivr-3,s,1") in new stack
    -- Goto (ivr-3,s,1)
    -- Executing [s@ivr-3:1] Set("SIP/003_Gsm-00000002", "MSG=custom/click_click") in new stack
    -- Executing [s@ivr-3:2] Set("SIP/003_Gsm-00000002", "LOOPCOUNT=0") in new stack
    -- Executing [s@ivr-3:3] Set("SIP/003_Gsm-00000002", "__DIR-CONTEXT=") in new stack
    -- Executing [s@ivr-3:4] Set("SIP/003_Gsm-00000002", "_IVR_CONTEXT_ivr-3=") in new stack
    -- Executing [s@ivr-3:5] Set("SIP/003_Gsm-00000002", "_IVR_CONTEXT=ivr-3") in new stack
    -- Executing [s@ivr-3:6] GotoIf("SIP/003_Gsm-00000002", "0?begin") in new stack
    -- Executing [s@ivr-3:7] Answer("SIP/003_Gsm-00000002", "") in new stack
    -- Executing [s@ivr-3:8] Wait("SIP/003_Gsm-00000002", "1") in new stack
    -- Executing [s@ivr-3:9] Set("SIP/003_Gsm-00000002", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3.000
    -- Executing [s@ivr-3:10] Set("SIP/003_Gsm-00000002", "TIMEOUT(response)=0") in new stack
    -- Response timeout set to 0.000
    -- Executing [s@ivr-3:11] Set("SIP/003_Gsm-00000002", "__IVR_RETVM=") in new stack
    -- Executing [s@ivr-3:12] ExecIf("SIP/003_Gsm-00000002", "1?Background(custom/click_click)") in new stack
    -- <SIP/003_Gsm-00000002> Playing 'custom/click_click.slin' (language 'el')
    == CDR updated on SIP/003_Gsm-00000002
    -- Executing [8@ivr-3:1] NoOp("SIP/003_Gsm-00000002", "Deleting: ") in new stack
    -- Executing [8@ivr-3:2] Set("SIP/003_Gsm-00000002", "__NODEST=") in new stack
    -- Executing [8@ivr-3:3] Goto("SIP/003_Gsm-00000002", "app-languages,1,1") in new stack
    -- Goto (app-languages,1,1)
    -- Executing [1@app-languages:1] NoOp("SIP/003_Gsm-00000002", "Changing Channel to language: el (Greek for disa)") in new stack
    -- Executing [1@app-languages:2] Set("SIP/003_Gsm-00000002", "CHANNEL(language)=el") in new stack
    -- Executing [1@app-languages:3] Goto("SIP/003_Gsm-00000002", "disa,1,1") in new stack
    -- Goto (disa,1,1)
    -- Executing [1@disa:1] Set("SIP/003_Gsm-00000002", "_DISA="disa,1,newcall"") in new stack
    -- Executing [1@disa:2] Set("SIP/003_Gsm-00000002", "_DISACONTEXT=from-internal-xfer") in new stack
    -- Executing [1@disa:3] Set("SIP/003_Gsm-00000002", "_KEEPCID=TRUE") in new stack
    -- Executing [1@disa:4] Set("SIP/003_Gsm-00000002", "_HANGUP=Tt") in new stack
    -- Executing [1@disa:5] Set("SIP/003_Gsm-00000002", "TIMEOUT(digit)=5") in new stack
    -- Digit timeout set to 5.000
    -- Executing [1@disa:6] Set("SIP/003_Gsm-00000002", "TIMEOUT(response)=10") in new stack
    -- Response timeout set to 10.000
    -- Executing [1@disa:7] DISA("SIP/003_Gsm-00000002", "no-password,disa-dial") in new stack
    -- Executing [*60@disa-dial:1] NoOp("SIP/003_Gsm-00000002", "called *60 in from-internal-xfer by disa,1,newcall") in new stack
    -- Executing [*60@disa-dial:2] Dial("SIP/003_Gsm-00000002", "Local/*60@from-internal-xfer,300,Tt") in new stack
    -- Called *60@from-internal-xfer
    -- Executing [*60@from-internal-xfer:1] Answer("Local/*60@from-internal-xfer-e1c9;2", "") in new stack
    -- Local/*60@from-internal-xfer-e1c9;1 answered SIP/003_Gsm-00000002
    -- Executing [*60@from-internal-xfer:2] Wait("Local/*60@from-internal-xfer-e1c9;2", "1") in new stack
    -- Executing [*60@from-internal-xfer:3] Set("Local/*60@from-internal-xfer-e1c9;2", "NumLoops=0") in new stack
    -- Executing [*60@from-internal-xfer:4] Set("Local/*60@from-internal-xfer-e1c9;2", "FutureTime=1289679067") in new stack
    -- Executing [*60@from-internal-xfer:5] Playback("Local/*60@from-internal-xfer-e1c9;2", "at-tone-time-exactly") in new stack
    -- <Local/*60@from-internal-xfer-e1c9;2> Playing 'at-tone-time-exactly.gsm' (language 'en')
    -- Executing [*60@from-internal-xfer:6] GotoIf("Local/*60@from-internal-xfer-e1c9;2", "1?hr24format") in new stack
    -- Goto (from-internal-xfer,*60,9)
    -- Executing [*60@from-internal-xfer:9] SayUnixTime("Local/*60@from-internal-xfer-e1c9;2", "1289679067,,kM 'and' S 'seconds'") in new stack
    -- <Local/*60@from-internal-xfer-e1c9;2> Playing 'digits/20.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-e1c9;2> Playing 'digits/2.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-e1c9;2> Playing 'digits/11.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-e1c9;2> Playing 'and.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-e1c9;2> Playing 'digits/oh.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-e1c9;2> Playing 'digits/7.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-e1c9;2> Playing 'seconds.gsm' (language 'en')
    -- Executing [*60@from-internal-xfer:10] Set("Local/*60@from-internal-xfer-e1c9;2", "TimeLeft=3") in new stack
    -- Executing [*60@from-internal-xfer:11] GotoIf("Local/*60@from-internal-xfer-e1c9;2", "0?playbeep") in new stack
    -- Executing [*60@from-internal-xfer:12] Wait("Local/*60@from-internal-xfer-e1c9;2", "1") in new stack
    -- Executing [*60@from-internal-xfer:13] Goto("Local/*60@from-internal-xfer-e1c9;2", "waitloop") in new stack
    -- Goto (from-internal-xfer,*60,10)
    -- Executing [*60@from-internal-xfer:10] Set("Local/*60@from-internal-xfer-e1c9;2", "TimeLeft=2") in new stack
    -- Executing [*60@from-internal-xfer:11] GotoIf("Local/*60@from-internal-xfer-e1c9;2", "0?playbeep") in new stack
    -- Executing [*60@from-internal-xfer:12] Wait("Local/*60@from-internal-xfer-e1c9;2", "1") in new stack
    -- Executing [*60@from-internal-xfer:13] Goto("Local/*60@from-internal-xfer-e1c9;2", "waitloop") in new stack
    -- Goto (from-internal-xfer,*60,10)
    -- Executing [*60@from-internal-xfer:10] Set("Local/*60@from-internal-xfer-e1c9;2", "TimeLeft=1") in new stack
    -- Executing [*60@from-internal-xfer:11] GotoIf("Local/*60@from-internal-xfer-e1c9;2", "0?playbeep") in new stack
    -- Executing [*60@from-internal-xfer:12] Wait("Local/*60@from-internal-xfer-e1c9;2", "1") in new stack
    -- Executing [*60@from-internal-xfer:13] Goto("Local/*60@from-internal-xfer-e1c9;2", "waitloop") in new stack
    -- Goto (from-internal-xfer,*60,10)
    -- Executing [*60@from-internal-xfer:10] Set("Local/*60@from-internal-xfer-e1c9;2", "TimeLeft=0") in new stack
    -- Executing [*60@from-internal-xfer:11] GotoIf("Local/*60@from-internal-xfer-e1c9;2", "1?playbeep") in new stack
    -- Goto (from-internal-xfer,*60,14)
    -- Executing [*60@from-internal-xfer:14] Playback("Local/*60@from-internal-xfer-e1c9;2", "beep") in new stack
    -- <Local/*60@from-internal-xfer-e1c9;2> Playing 'beep.gsm' (language 'en')
    -- Executing [*60@from-internal-xfer:15] Wait("Local/*60@from-internal-xfer-e1c9;2", "5") in new stack
    == Spawn extension (from-internal-xfer, *60, 15) exited non-zero on 'Local/*60@from-internal-xfer-e1c9;2'
    -- Executing [h@from-internal-xfer:1] Macro("Local/*60@from-internal-xfer-e1c9;2", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("Local/*60@from-internal-xfer-e1c9;2", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] NoOp("Local/*60@from-internal-xfer-e1c9;2", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:4] GotoIf("Local/*60@from-internal-xfer-e1c9;2", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("Local/*60@from-internal-xfer-e1c9;2", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,10)
    -- Executing [s@macro-hangupcall:10] GotoIf("Local/*60@from-internal-xfer-e1c9;2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,12)
    -- Executing [s@macro-hangupcall:12] Hangup("Local/*60@from-internal-xfer-e1c9;2", "") in new stack
    == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'Local/*60@from-internal-xfer-e1c9;2' in macro 'hangupcall'
    == Spawn extension (from-internal-xfer, h, 1) exited non-zero on 'Local/*60@from-internal-xfer-e1c9;2'
    == Spawn extension (disa-dial, *60, 2) exited non-zero on 'SIP/003_Gsm-00000002'

    Can anybody help with that?

    Thanks
    John
     
  2. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    From what I'm able to see, the language is setup correctly for greek, but for channel 003_Gsm, and when it goes into disa context, it switches to Local channel, and since greek wasnt set up for that Local channel, it uses the default language configuration for english.
    What you can do to solve it, is:
    Edit the app-languages context and edit the second line and leave it this way:
    Code:
    exten => 1,n,Set(__CHANNEL(language)=el)
    
    instead of:
    exten => 1,n,Set(CHANNEL(language)=el)
     
  3. johnme

    Joined:
    Nov 28, 2008
    Messages:
    148
    Likes Received:
    0
    Hi

    Thanks but it didnt work.

    This is my new app-languages in extentions_additional.conf

    [app-languages]
    include => app-languages-custom
    exten => 1,1,Noop(Changing Channel to language: el (Greek for disa))
    exten => 1,n,Set(_CHANNEL(language)=el)
    exten => 1,n,Goto(disa,1,1)

    ; end of [app-languages]

    Did i do something wrong?

    Thanks again
    John
     
  4. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    Yes, you made a mistake, I told you Set(__CHANNEL(language)=el) and not Set(_CHANNEL(language)=el)
    There is a big difference.
    Anyways, instead of overwriting your extensions_additionals.conf, I will recommend you to paste the same context under extensions_override_freepbx.conf
    Then execute a module reload from the CLI.
    If you have any issue, paste the CLI output with the changes that I have told you
     
  5. johnme

    Joined:
    Nov 28, 2008
    Messages:
    148
    Likes Received:
    0
    Hi

    I did it as you said but nothing happens...

    See the log:
    ogin as: root
    root@192.168.123.240's password:
    Last login: Sun Nov 14 20:01:24 2010 from 192.168.123.19

    Welcome to Elastix
    ----------------------------------------------------

    To access your Elastix System, using a separate workstation (PC/MAC/Linux)
    Open the Internet Browser using the following URL:
    http://192.168.123.240

    [root@pbx ~]# asterisk -rvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    Asterisk 1.6.2.13, Copyright (C) 1999 - 2010 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'core show license' for details.
    =========================================================================
    == Parsing '/etc/asterisk/asterisk.conf': == Found
    == Parsing '/etc/asterisk/extconfig.conf': == Found
    Connected to Asterisk 1.6.2.13 currently running on pbx (pid = 3081)
    Verbosity was 3 and is now 71
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [receiver@from-pstn:1] Set("SIP/003_Gsm-00000077", "__FROM_DID=receiver") in new stack
    -- Executing [receiver@from-pstn:2] Goto("SIP/003_Gsm-00000077", "s,1") in new stack
    -- Goto (from-pstn,s,1)
    -- Executing [s@from-pstn:1] ExecIf("SIP/003_Gsm-00000077", "0?Set(__FROM_DID=s)") in new stack
    -- Executing [s@from-pstn:2] Gosub("SIP/003_Gsm-00000077", "app-blacklist-check,s,1") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/003_Gsm-00000077", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("SIP/003_Gsm-00000077", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/003_Gsm-00000077", "") in new stack
    -- Executing [s@from-pstn:3] Set("SIP/003_Gsm-00000077", "CHANNEL(language)=el") in new stack
    -- Executing [s@from-pstn:4] ExecIf("SIP/003_Gsm-00000077", "0 ?Set(CALLERID(name)=+30XXXXXXXXXX)") in new stack
    -- Executing [s@from-pstn:5] Set("SIP/003_Gsm-00000077", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@from-pstn:6] Set("SIP/003_Gsm-00000077", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [s@from-pstn:7] Goto("SIP/003_Gsm-00000077", "ivr-3,s,1") in new stack
    -- Goto (ivr-3,s,1)
    -- Executing [s@ivr-3:1] Set("SIP/003_Gsm-00000077", "MSG=custom/click_click") in new stack
    -- Executing [s@ivr-3:2] Set("SIP/003_Gsm-00000077", "LOOPCOUNT=0") in new stack
    -- Executing [s@ivr-3:3] Set("SIP/003_Gsm-00000077", "__DIR-CONTEXT=") in new stack
    -- Executing [s@ivr-3:4] Set("SIP/003_Gsm-00000077", "_IVR_CONTEXT_ivr-3=") in new stack
    -- Executing [s@ivr-3:5] Set("SIP/003_Gsm-00000077", "_IVR_CONTEXT=ivr-3") in new stack
    -- Executing [s@ivr-3:6] GotoIf("SIP/003_Gsm-00000077", "0?begin") in new stack
    -- Executing [s@ivr-3:7] Answer("SIP/003_Gsm-00000077", "") in new stack
    -- Executing [s@ivr-3:8] Wait("SIP/003_Gsm-00000077", "1") in new stack
    -- Executing [s@ivr-3:9] Set("SIP/003_Gsm-00000077", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3.000
    -- Executing [s@ivr-3:10] Set("SIP/003_Gsm-00000077", "TIMEOUT(response)=0") in new stack
    -- Response timeout set to 0.000
    -- Executing [s@ivr-3:11] Set("SIP/003_Gsm-00000077", "__IVR_RETVM=") in new stack
    -- Executing [s@ivr-3:12] ExecIf("SIP/003_Gsm-00000077", "1?Background(custom/click_click)") in new stack
    -- <SIP/003_Gsm-00000077> Playing 'custom/click_click.slin' (language 'el')
    == CDR updated on SIP/003_Gsm-00000077
    -- Executing [8@ivr-3:1] NoOp("SIP/003_Gsm-00000077", "Deleting: ") in new stack
    -- Executing [8@ivr-3:2] Set("SIP/003_Gsm-00000077", "__NODEST=") in new stack
    -- Executing [8@ivr-3:3] Goto("SIP/003_Gsm-00000077", "app-languages,1,1") in new stack
    -- Goto (app-languages,1,1)
    -- Executing [1@app-languages:1] NoOp("SIP/003_Gsm-00000077", "Changing Channel to language: el (Greek for disa)") in new stack
    -- Executing [1@app-languages:2] Set("SIP/003_Gsm-00000077", "__CHANNEL(language)=el") in new stack
    -- Executing [1@app-languages:3] Goto("SIP/003_Gsm-00000077", "disa,1,1") in new stack
    -- Goto (disa,1,1)
    -- Executing [1@disa:1] Set("SIP/003_Gsm-00000077", "_DISA="disa,1,newcall"") in new stack
    -- Executing [1@disa:2] Set("SIP/003_Gsm-00000077", "_DISACONTEXT=from-internal-xfer") in new stack
    -- Executing [1@disa:3] Set("SIP/003_Gsm-00000077", "_KEEPCID=TRUE") in new stack
    -- Executing [1@disa:4] Set("SIP/003_Gsm-00000077", "_HANGUP=Tt") in new stack
    -- Executing [1@disa:5] Set("SIP/003_Gsm-00000077", "TIMEOUT(digit)=5") in new stack
    -- Digit timeout set to 5.000
    -- Executing [1@disa:6] Set("SIP/003_Gsm-00000077", "TIMEOUT(response)=10") in new stack
    -- Response timeout set to 10.000
    -- Executing [1@disa:7] DISA("SIP/003_Gsm-00000077", "no-password,disa-dial") in new stack
    -- Executing [*60@disa-dial:1] NoOp("SIP/003_Gsm-00000077", "called *60 in from-internal-xfer by disa,1,newcall") in new stack
    -- Executing [*60@disa-dial:2] Dial("SIP/003_Gsm-00000077", "Local/*60@from-internal-xfer,300,Tt") in new stack
    -- Called *60@from-internal-xfer
    -- Executing [*60@from-internal-xfer:1] Answer("Local/*60@from-internal-xfer-7b91;2", "") in new stack
    -- Local/*60@from-internal-xfer-7b91;1 answered SIP/003_Gsm-00000077
    -- Executing [*60@from-internal-xfer:2] Wait("Local/*60@from-internal-xfer-7b91;2", "1") in new stack
    -- Executing [*60@from-internal-xfer:3] Set("Local/*60@from-internal-xfer-7b91;2", "NumLoops=0") in new stack
    -- Executing [*60@from-internal-xfer:4] Set("Local/*60@from-internal-xfer-7b91;2", "FutureTime=1289843846") in new stack
    -- Executing [*60@from-internal-xfer:5] Playback("Local/*60@from-internal-xfer-7b91;2", "at-tone-time-exactly") in new stack
    -- <Local/*60@from-internal-xfer-7b91;2> Playing 'at-tone-time-exactly.gsm' (language 'en')
    -- Executing [*60@from-internal-xfer:6] GotoIf("Local/*60@from-internal-xfer-7b91;2", "1?hr24format") in new stack
    -- Goto (from-internal-xfer,*60,9)
    -- Executing [*60@from-internal-xfer:9] SayUnixTime("Local/*60@from-internal-xfer-7b91;2", "1289843846,,kM 'and' S 'seconds'") in new stack
    -- <Local/*60@from-internal-xfer-7b91;2> Playing 'digits/19.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-7b91;2> Playing 'digits/50.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-7b91;2> Playing 'digits/7.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-7b91;2> Playing 'and.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-7b91;2> Playing 'digits/20.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-7b91;2> Playing 'digits/6.gsm' (language 'en')
    -- <Local/*60@from-internal-xfer-7b91;2> Playing 'seconds.gsm' (language 'en')
    -- Executing [*60@from-internal-xfer:10] Set("Local/*60@from-internal-xfer-7b91;2", "TimeLeft=2") in new stack
    -- Executing [*60@from-internal-xfer:11] GotoIf("Local/*60@from-internal-xfer-7b91;2", "0?playbeep") in new stack
    -- Executing [*60@from-internal-xfer:12] Wait("Local/*60@from-internal-xfer-7b91;2", "1") in new stack
    -- Executing [*60@from-internal-xfer:13] Goto("Local/*60@from-internal-xfer-7b91;2", "waitloop") in new stack
    -- Goto (from-internal-xfer,*60,10)
    -- Executing [*60@from-internal-xfer:10] Set("Local/*60@from-internal-xfer-7b91;2", "TimeLeft=1") in new stack
    -- Executing [*60@from-internal-xfer:11] GotoIf("Local/*60@from-internal-xfer-7b91;2", "0?playbeep") in new stack
    -- Executing [*60@from-internal-xfer:12] Wait("Local/*60@from-internal-xfer-7b91;2", "1") in new stack
    -- Executing [*60@from-internal-xfer:13] Goto("Local/*60@from-internal-xfer-7b91;2", "waitloop") in new stack
    -- Goto (from-internal-xfer,*60,10)
    -- Executing [*60@from-internal-xfer:10] Set("Local/*60@from-internal-xfer-7b91;2", "TimeLeft=0") in new stack
    -- Executing [*60@from-internal-xfer:11] GotoIf("Local/*60@from-internal-xfer-7b91;2", "1?playbeep") in new stack
    -- Goto (from-internal-xfer,*60,14)
    -- Executing [*60@from-internal-xfer:14] Playback("Local/*60@from-internal-xfer-7b91;2", "beep") in new stack
    -- <Local/*60@from-internal-xfer-7b91;2> Playing 'beep.gsm' (language 'en')
    -- Executing [*60@from-internal-xfer:15] Wait("Local/*60@from-internal-xfer-7b91;2", "5") in new stack
    == Spawn extension (disa-dial, *60, 2) exited non-zero on 'SIP/003_Gsm-00000077'
    == Spawn extension (from-internal-xfer, *60, 15) exited non-zero on 'Local/*60@from-internal-xfer-7b91;2'
    -- Executing [h@from-internal-xfer:1] Macro("Local/*60@from-internal-xfer-7b91;2", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("Local/*60@from-internal-xfer-7b91;2", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] NoOp("Local/*60@from-internal-xfer-7b91;2", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:4] GotoIf("Local/*60@from-internal-xfer-7b91;2", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("Local/*60@from-internal-xfer-7b91;2", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,10)
    -- Executing [s@macro-hangupcall:10] GotoIf("Local/*60@from-internal-xfer-7b91;2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,12)
    -- Executing [s@macro-hangupcall:12] Hangup("Local/*60@from-internal-xfer-7b91;2", "") in new stack
    == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'Local/*60@from-internal-xfer-7b91;2' in macro 'hangupcall'
    == Spawn extension (from-internal-xfer, h, 1) exited non-zero on 'Local/*60@from-internal-xfer-7b91;2'


    Thanks
    John
     
  6. jgutierrez

    Joined:
    Feb 28, 2008
    Messages:
    5,737
    Likes Received:
    0
    Try the following:
    1. From any extension call to *98 (paste the CLI output), I want to see if it takes the el language as you have definied it on sip_general_custom.conf

    2. Once calling disa, dial *98 NOT *60, and paste the CLI output
     
  7. johnme

    Joined:
    Nov 28, 2008
    Messages:
    148
    Likes Received:
    0
    Hi

    The whole system is speaking Greek! Only Disa is the problem :angry:

    See the logs:

    1)
    Welcome to Elastix
    ----------------------------------------------------

    To access your Elastix System, using a separate workstation (PC/MAC/Linux)
    Open the Internet Browser using the following URL:
    http://192.168.123.240

    [root@pbx ~]# asterisk -rvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    Asterisk 1.6.2.13, Copyright (C) 1999 - 2010 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'core show license' for details.
    =========================================================================
    == Parsing '/etc/asterisk/asterisk.conf': == Found
    == Parsing '/etc/asterisk/extconfig.conf': == Found
    Connected to Asterisk 1.6.2.13 currently running on pbx (pid = 3081)
    Verbosity is at least 71
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [receiver@from-pstn:1] Set("SIP/003_Gsm-00000079", "__FROM_DID=receiver") in new stack
    -- Executing [receiver@from-pstn:2] Goto("SIP/003_Gsm-00000079", "s,1") in new stack
    -- Goto (from-pstn,s,1)
    -- Executing [s@from-pstn:1] ExecIf("SIP/003_Gsm-00000079", "0?Set(__FROM_DID=s)") in new stack
    -- Executing [s@from-pstn:2] Gosub("SIP/003_Gsm-00000079", "app-blacklist-check,s,1") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/003_Gsm-00000079", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("SIP/003_Gsm-00000079", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/003_Gsm-00000079", "") in new stack
    -- Executing [s@from-pstn:3] Set("SIP/003_Gsm-00000079", "CHANNEL(language)=el") in new stack
    -- Executing [s@from-pstn:4] ExecIf("SIP/003_Gsm-00000079", "0 ?Set(CALLERID(name)=+30XXXXXXXXXX)") in new stack
    -- Executing [s@from-pstn:5] Set("SIP/003_Gsm-00000079", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@from-pstn:6] Set("SIP/003_Gsm-00000079", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [s@from-pstn:7] Goto("SIP/003_Gsm-00000079", "ivr-3,s,1") in new stack
    -- Goto (ivr-3,s,1)
    -- Executing [s@ivr-3:1] Set("SIP/003_Gsm-00000079", "MSG=custom/click_click") in new stack
    -- Executing [s@ivr-3:2] Set("SIP/003_Gsm-00000079", "LOOPCOUNT=0") in new stack
    -- Executing [s@ivr-3:3] Set("SIP/003_Gsm-00000079", "__DIR-CONTEXT=") in new stack
    -- Executing [s@ivr-3:4] Set("SIP/003_Gsm-00000079", "_IVR_CONTEXT_ivr-3=") in new stack
    -- Executing [s@ivr-3:5] Set("SIP/003_Gsm-00000079", "_IVR_CONTEXT=ivr-3") in new stack
    -- Executing [s@ivr-3:6] GotoIf("SIP/003_Gsm-00000079", "0?begin") in new stack
    -- Executing [s@ivr-3:7] Answer("SIP/003_Gsm-00000079", "") in new stack
    -- Executing [s@ivr-3:8] Wait("SIP/003_Gsm-00000079", "1") in new stack
    -- Executing [s@ivr-3:9] Set("SIP/003_Gsm-00000079", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3.000
    -- Executing [s@ivr-3:10] Set("SIP/003_Gsm-00000079", "TIMEOUT(response)=0") in new stack
    -- Response timeout set to 0.000
    -- Executing [s@ivr-3:11] Set("SIP/003_Gsm-00000079", "__IVR_RETVM=") in new stack
    -- Executing [s@ivr-3:12] ExecIf("SIP/003_Gsm-00000079", "1?Background(custom/click_click)") in new stack
    -- <SIP/003_Gsm-00000079> Playing 'custom/click_click.slin' (language 'el')
    == CDR updated on SIP/003_Gsm-00000079
    -- Executing [8@ivr-3:1] NoOp("SIP/003_Gsm-00000079", "Deleting: ") in new stack
    -- Executing [8@ivr-3:2] Set("SIP/003_Gsm-00000079", "__NODEST=") in new stack
    -- Executing [8@ivr-3:3] Goto("SIP/003_Gsm-00000079", "app-languages,1,1") in new stack
    -- Goto (app-languages,1,1)
    -- Executing [1@app-languages:1] NoOp("SIP/003_Gsm-00000079", "Changing Channel to language: el (Greek for disa)") in new stack
    -- Executing [1@app-languages:2] Set("SIP/003_Gsm-00000079", "__CHANNEL(language)=el") in new stack
    -- Executing [1@app-languages:3] Goto("SIP/003_Gsm-00000079", "disa,1,1") in new stack
    -- Goto (disa,1,1)
    -- Executing [1@disa:1] Set("SIP/003_Gsm-00000079", "_DISA="disa,1,newcall"") in new stack
    -- Executing [1@disa:2] Set("SIP/003_Gsm-00000079", "_DISACONTEXT=from-internal-xfer") in new stack
    -- Executing [1@disa:3] Set("SIP/003_Gsm-00000079", "_KEEPCID=TRUE") in new stack
    -- Executing [1@disa:4] Set("SIP/003_Gsm-00000079", "_HANGUP=Tt") in new stack
    -- Executing [1@disa:5] Set("SIP/003_Gsm-00000079", "TIMEOUT(digit)=5") in new stack
    -- Digit timeout set to 5.000
    -- Executing [1@disa:6] Set("SIP/003_Gsm-00000079", "TIMEOUT(response)=10") in new stack
    -- Response timeout set to 10.000
    -- Executing [1@disa:7] DISA("SIP/003_Gsm-00000079", "no-password,disa-dial") in new stack
    -- Executing [*98@disa-dial:1] NoOp("SIP/003_Gsm-00000079", "called *98 in from-internal-xfer by disa,1,newcall") in new stack
    -- Executing [*98@disa-dial:2] Dial("SIP/003_Gsm-00000079", "Local/*98@from-internal-xfer,300,Tt") in new stack
    -- Called *98@from-internal-xfer
    -- Executing [*98@from-internal-xfer:1] Answer("Local/*98@from-internal-xfer-67ea;2", "") in new stack
    -- Local/*98@from-internal-xfer-67ea;1 answered SIP/003_Gsm-00000079
    -- Executing [*98@from-internal-xfer:2] Wait("Local/*98@from-internal-xfer-67ea;2", "1") in new stack
    -- Executing [*98@from-internal-xfer:3] NoOp("Local/*98@from-internal-xfer-67ea;2", "app-dialvm: Asking for mailbox") in new stack
    -- Executing [*98@from-internal-xfer:4] Read("Local/*98@from-internal-xfer-67ea;2", "MAILBOX,vm-login,,,3,2") in new stack
    -- <Local/*98@from-internal-xfer-67ea;2> Playing 'vm-login.gsm' (language 'en')
    -- User entered nothing, 2 chances left
    -- <Local/*98@from-internal-xfer-67ea;2> Playing 'vm-login.gsm' (language 'en')
    -- User entered nothing, 1 chance left
    -- <Local/*98@from-internal-xfer-67ea;2> Playing 'vm-login.gsm' (language 'en')
    -- User entered nothing.
    -- Executing [*98@from-internal-xfer:5] NoOp("Local/*98@from-internal-xfer-67ea;2", "app-dialvm: Got Mailbox ") in new stack
    -- Executing [*98@from-internal-xfer:6] Macro("Local/*98@from-internal-xfer-67ea;2", "get-vmcontext,") in new stack
    -- Executing [s@macro-get-vmcontext:1] Set("Local/*98@from-internal-xfer-67ea;2", "VMCONTEXT=") in new stack
    -- Executing [s@macro-get-vmcontext:2] GotoIf("Local/*98@from-internal-xfer-67ea;2", "1?200:300") in new stack
    -- Goto (macro-get-vmcontext,s,200)
    -- Executing [s@macro-get-vmcontext:200] Set("Local/*98@from-internal-xfer-67ea;2", "VMCONTEXT=default") in new stack
    -- Executing [*98@from-internal-xfer:7] Set("Local/*98@from-internal-xfer-67ea;2", "VMBOXEXISTSSTATUS=") in new stack
    -- Executing [*98@from-internal-xfer:8] GotoIf("Local/*98@from-internal-xfer-67ea;2", "0?good:bad") in new stack
    -- Goto (from-internal-xfer,*98,14)
    -- Executing [*98@from-internal-xfer:14] NoOp("Local/*98@from-internal-xfer-67ea;2", "app-dialvm: BAD mailbox @default") in new stack
    -- Executing [*98@from-internal-xfer:15] Wait("Local/*98@from-internal-xfer-67ea;2", "1") in new stack
    pbx*CLI>

    2)
    To access your Elastix System, using a separate workstation (PC/MAC/Linux)
    Open the Internet Browser using the following URL:
    http://192.168.123.240

    [root@pbx ~]# asterisk -rvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    Asterisk 1.6.2.13, Copyright (C) 1999 - 2010 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'core show license' for details.
    =========================================================================
    == Parsing '/etc/asterisk/asterisk.conf': == Found
    == Parsing '/etc/asterisk/extconfig.conf': == Found
    Connected to Asterisk 1.6.2.13 currently running on pbx (pid = 3081)
    Verbosity is at least 71
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [*98@from-internal:1] Answer("SIP/320-0000007a", "") in new stack
    == Extension Changed 320[ext-local] new state InUse for Notify User 300
    -- Executing [*98@from-internal:2] Wait("SIP/320-0000007a", "1") in new stack
    -- Executing [*98@from-internal:3] NoOp("SIP/320-0000007a", "app-dialvm: Asking for mailbox") in new stack
    -- Executing [*98@from-internal:4] Read("SIP/320-0000007a", "MAILBOX,vm-login,,,3,2") in new stack
    -- <SIP/320-0000007a> Playing 'vm-login.gsm' (language 'el')
    -- User entered nothing, 2 chances left
    -- <SIP/320-0000007a> Playing 'vm-login.gsm' (language 'el')
    -- User disconnected
    -- Executing [h@from-internal:1] Macro("SIP/320-0000007a", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/320-0000007a", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] NoOp("SIP/320-0000007a", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:4] GotoIf("SIP/320-0000007a", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("SIP/320-0000007a", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,10)
    -- Executing [s@macro-hangupcall:10] GotoIf("SIP/320-0000007a", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,12)
    -- Executing [s@macro-hangupcall:12] Hangup("SIP/320-0000007a", "") in new stack
    == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'SIP/320-0000007a' in macro 'hangupcall'
    == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/320-0000007a'
    == Extension Changed 320[ext-local] new state Idle for Notify User 300
    pbx*CLI>


    Thanks
    John
     
  8. johnme

    Joined:
    Nov 28, 2008
    Messages:
    148
    Likes Received:
    0
    Hi

    Something strange happens with Disa!

    First the language and now chan-spy(555)
    Please if you can try the same just to check that i'm not crazy.
    Version Elastix 2.0.2

    If i try to use disa direct (diall 555, or from an ivr and then from a misk destination) then everything works fine.

    If i try to use "555" from disa then i start spy my self!!!!#@!!#@ see the log...

    : root
    root@192.168.123.240's password:
    Last login: Tue Nov 16 16:18:16 2010 from 192.168.123.21

    Welcome to Elastix
    ----------------------------------------------------

    To access your Elastix System, using a separate workstation (PC/MAC/Linux)
    Open the Internet Browser using the following URL:
    http://192.168.123.240

    [root@pbx ~]# asterisk -rvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
    Asterisk 1.6.2.13, Copyright (C) 1999 - 2010 Digium, Inc. and others.
    Created by Mark Spencer <markster@digium.com>
    Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
    This is free software, with components licensed under the GNU General Public
    License version 2 and other licenses; you are welcome to redistribute it under
    certain conditions. Type 'core show license' for details.
    =========================================================================
    == Parsing '/etc/asterisk/asterisk.conf': == Found
    == Parsing '/etc/asterisk/extconfig.conf': == Found
    Connected to Asterisk 1.6.2.13 currently running on pbx (pid = 3077)
    Verbosity was 88 and is now 133
    == Using SIP RTP TOS bits 184
    == Using SIP RTP CoS mark 5
    -- Executing [receiver@from-pstn:1] Set("SIP/003_Gsm-00000046", "__FROM_DID=receiver") in new stack
    -- Executing [receiver@from-pstn:2] Goto("SIP/003_Gsm-00000046", "s,1") in new stack
    -- Goto (from-pstn,s,1)
    -- Executing [s@from-pstn:1] ExecIf("SIP/003_Gsm-00000046", "0?Set(__FROM_DID=s)") in new stack
    -- Executing [s@from-pstn:2] Gosub("SIP/003_Gsm-00000046", "app-blacklist-check,s,1") in new stack
    -- Executing [s@app-blacklist-check:1] GotoIf("SIP/003_Gsm-00000046", "0?blacklisted") in new stack
    -- Executing [s@app-blacklist-check:2] Set("SIP/003_Gsm-00000046", "CALLED_BLACKLIST=1") in new stack
    -- Executing [s@app-blacklist-check:3] Return("SIP/003_Gsm-00000046", "") in new stack
    -- Executing [s@from-pstn:3] Set("SIP/003_Gsm-00000046", "CHANNEL(language)=el") in new stack
    -- Executing [s@from-pstn:4] ExecIf("SIP/003_Gsm-00000046", "0 ?Set(CALLERID(name)=+30XXXXXXXXXX)") in new stack
    -- Executing [s@from-pstn:5] Set("SIP/003_Gsm-00000046", "__CALLINGPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@from-pstn:6] Set("SIP/003_Gsm-00000046", "CALLERPRES()=allowed_not_screened") in new stack
    -- Executing [s@from-pstn:7] Goto("SIP/003_Gsm-00000046", "ivr-3,s,1") in new stack
    -- Goto (ivr-3,s,1)
    -- Executing [s@ivr-3:1] Set("SIP/003_Gsm-00000046", "MSG=custom/click_click") in new stack
    -- Executing [s@ivr-3:2] Set("SIP/003_Gsm-00000046", "LOOPCOUNT=0") in new stack
    -- Executing [s@ivr-3:3] Set("SIP/003_Gsm-00000046", "__DIR-CONTEXT=") in new stack
    -- Executing [s@ivr-3:4] Set("SIP/003_Gsm-00000046", "_IVR_CONTEXT_ivr-3=") in new stack
    -- Executing [s@ivr-3:5] Set("SIP/003_Gsm-00000046", "_IVR_CONTEXT=ivr-3") in new stack
    -- Executing [s@ivr-3:6] GotoIf("SIP/003_Gsm-00000046", "0?begin") in new stack
    -- Executing [s@ivr-3:7] Answer("SIP/003_Gsm-00000046", "") in new stack
    -- Executing [s@ivr-3:8] Wait("SIP/003_Gsm-00000046", "1") in new stack
    -- Executing [s@ivr-3:9] Set("SIP/003_Gsm-00000046", "TIMEOUT(digit)=3") in new stack
    -- Digit timeout set to 3.000
    -- Executing [s@ivr-3:10] Set("SIP/003_Gsm-00000046", "TIMEOUT(response)=0") in new stack
    -- Response timeout set to 0.000
    -- Executing [s@ivr-3:11] Set("SIP/003_Gsm-00000046", "__IVR_RETVM=") in new stack
    -- Executing [s@ivr-3:12] ExecIf("SIP/003_Gsm-00000046", "1?Background(custom/click_click)") in new stack
    -- <SIP/003_Gsm-00000046> Playing 'custom/click_click.slin' (language 'el')
    == CDR updated on SIP/003_Gsm-00000046
    -- Executing [8@ivr-3:1] NoOp("SIP/003_Gsm-00000046", "Deleting: ") in new stack
    -- Executing [8@ivr-3:2] Set("SIP/003_Gsm-00000046", "__NODEST=") in new stack
    -- Executing [8@ivr-3:3] Goto("SIP/003_Gsm-00000046", "app-languages,1,1") in new stack
    -- Goto (app-languages,1,1)
    -- Executing [1@app-languages:1] NoOp("SIP/003_Gsm-00000046", "Changing Channel to language: el (Greek for disa)") in new stack
    -- Executing [1@app-languages:2] Set("SIP/003_Gsm-00000046", "__CHANNEL(language)=el") in new stack
    -- Executing [1@app-languages:3] Goto("SIP/003_Gsm-00000046", "disa,1,1") in new stack
    -- Goto (disa,1,1)
    -- Executing [1@disa:1] Set("SIP/003_Gsm-00000046", "_DISA="disa,1,newcall"") in new stack
    -- Executing [1@disa:2] Set("SIP/003_Gsm-00000046", "_DISACONTEXT=from-internal-xfer") in new stack
    -- Executing [1@disa:3] Set("SIP/003_Gsm-00000046", "_KEEPCID=TRUE") in new stack
    -- Executing [1@disa:4] Set("SIP/003_Gsm-00000046", "_HANGUP=Tt") in new stack
    -- Executing [1@disa:5] Set("SIP/003_Gsm-00000046", "TIMEOUT(digit)=5") in new stack
    -- Digit timeout set to 5.000
    -- Executing [1@disa:6] Set("SIP/003_Gsm-00000046", "TIMEOUT(response)=10") in new stack
    -- Response timeout set to 10.000
    -- Executing [1@disa:7] DISA("SIP/003_Gsm-00000046", "no-password,disa-dial") in new stack
    -- Executing [555@disa-dial:1] NoOp("SIP/003_Gsm-00000046", "called 555 in from-internal-xfer by disa,1,newcall") in new stack
    -- Executing [555@disa-dial:2] Dial("SIP/003_Gsm-00000046", "Local/555@from-internal-xfer,300,Tt") in new stack
    -- Called 555@from-internal-xfer
    -- Executing [555@from-internal-xfer:1] Macro("Local/555@from-internal-xfer-d13a;2", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("Local/555@from-internal-xfer-d13a;2", "AMPUSER=+30XXXXXXXXXX") in new stack
    -- Executing [s@macro-user-callerid:2] GotoIf("Local/555@from-internal-xfer-d13a;2", "1?report") in new stack
    -- Goto (macro-user-callerid,s,10)
    -- Executing [s@macro-user-callerid:10] GotoIf("Local/555@from-internal-xfer-d13a;2", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:11] Set("Local/555@from-internal-xfer-d13a;2", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("Local/555@from-internal-xfer-d13a;2", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,19)
    -- Executing [s@macro-user-callerid:19] NoOp("Local/555@from-internal-xfer-d13a;2", "Using CallerID "4004" <+30XXXXXXXXXX>") in new stack
    -- Executing [555@from-internal-xfer:2] Answer("Local/555@from-internal-xfer-d13a;2", "") in new stack
    -- Local/555@from-internal-xfer-d13a;1 answered SIP/003_Gsm-00000046
    -- Executing [555@from-internal-xfer:3] Wait("Local/555@from-internal-xfer-d13a;2", "1") in new stack
    -- Executing [555@from-internal-xfer:4] ChanSpy("Local/555@from-internal-xfer-d13a;2", "") in new stack
    -- <Local/555@from-internal-xfer-d13a;2> Playing 'beep.gsm' (language 'en')
    -- <Local/555@from-internal-xfer-d13a;2> Playing 'spy-local.gsm' (language 'en')
    -- <Local/555@from-internal-xfer-d13a;2> Playing 'digits/5.gsm' (language 'en')
    -- <Local/555@from-internal-xfer-d13a;2> Playing 'digits/5.gsm' (language 'en')
    -- <Local/555@from-internal-xfer-d13a;2> Playing 'digits/5.gsm' (language 'en')
    == Spying on channel Local/555@from-internal-xfer-d13a;1
    > doing dnsmgr_lookup for 'voip.viva.gr'
    > doing dnsmgr_lookup for 'voip.viva.gr'
    == Spawn extension (disa-dial, 555, 2) exited non-zero on 'SIP/003_Gsm-00000046'
    == Done Spying on channel Local/555@from-internal-xfer-d13a;1
    -- Executing [h@from-internal-xfer:1] Macro("Local/555@from-internal-xfer-d13a;2", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("Local/555@from-internal-xfer-d13a;2", "1?noautomon") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] NoOp("Local/555@from-internal-xfer-d13a;2", "TOUCH_MONITOR_OUTPUT=") in new stack
    -- Executing [s@macro-hangupcall:4] GotoIf("Local/555@from-internal-xfer-d13a;2", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,7)
    -- Executing [s@macro-hangupcall:7] GotoIf("Local/555@from-internal-xfer-d13a;2", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,10)
    -- Executing [s@macro-hangupcall:10] GotoIf("Local/555@from-internal-xfer-d13a;2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,12)
    -- Executing [s@macro-hangupcall:12] Hangup("Local/555@from-internal-xfer-d13a;2", "") in new stack
    == Spawn extension (macro-hangupcall, s, 12) exited non-zero on 'Local/555@from-internal-xfer-d13a;2' in macro 'hangupcall'
    == Spawn extension (from-internal-xfer, h, 1) exited non-zero on 'Local/555@from-internal-xfer-d13a;2'
    pbx*CLI>


    And i'm wondering... is there a big problem with module Disa?
    Or this is a bad configuration problem?
    Everything with elastix 1.3.2 and asterisk 1.4 was fine(with the same configuration).

    Thanks
    John
     
  9. goossen

    Joined:
    Feb 10, 2011
    Messages:
    2
    Likes Received:
    0
    You are not alone :)

    I'm having the same problem. It seems to be related to this bug: https://issues.asterisk.org/view.php?id=17673

    A workaround might be to create your own DISA; something like this:

    Code:
    exten => 154,1,Answer
    exten => 154,2,Read(EXTENI,pls-entr-num-uwish2-call,4,,,10)
    exten => 154,3,Noop(Interno=${EXTENI})
    exten => 154,4,Macro(dial,,${DIAL_OPTIONS},${EXTENI})
    Note the variable name is EXTENI, not EXTEN !
     

Share This Page