Author Topic: how to change DTFM IN 1004  (Read 3748 times)

hanafi

  • Veteran
  • ***
  • Posts: 99
    • View Profile
how to change DTFM IN 1004
« on: January 17, 2013, 12:53:12 am »
how to change

dtmf=inband
dtmfmode=inband

to

dtmf=rfc2833
dtmfmode=rfc2833

on Linuxmce 1004


hanafi

  • Veteran
  • ***
  • Posts: 99
    • View Profile
Re: how to change DTFM IN 1004
« Reply #1 on: January 17, 2013, 02:51:57 pm »
how to change

dtmf=inband
dtmfmode=inband

to

dtmf=rfc2833
dtmfmode=rfc2833

on Linuxmce 1004



Foxi352

  • Veteran
  • ***
  • Posts: 52
    • View Profile
Re: how to change DTFM IN 1004
« Reply #2 on: January 17, 2013, 05:25:06 pm »
Hi !

This it not possible atm. You can change it manually in the database table, but that table will be recreated whenever you change something in LinuxMCE that executes the db creation scripts in background.

Why do you need this ? Shouldn't all phone understand inband ? (i'm no expert, just asking)

If you really need this and want it to be included, feel free to open a feature request in trac and i will take care of it as soon as time permits.

Serge

hanafi

  • Veteran
  • ***
  • Posts: 99
    • View Profile
Re: how to change DTFM IN 1004
« Reply #3 on: January 17, 2013, 06:11:59 pm »
hi Foxi32

i have probleme when i call home all orbiters ring 3 time and give me voicemail but when i try to press key 0 to 9 no response
i googled and i found this

change
dtmf=inband
dtmfmode=inband

to

dtmf=rfc2833
dtmfmode=rfc2833

but i haven't idea
here is my log asterisk when call home

dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
 dialparties.agi: Extension 201 has ExtensionState: 0
    -- dialparties.agi: Checking CW and CFB status for extension 201
    -- dialparties.agi: dbset CALLTRACE/201 to 0625600041
       > dialparties.agi: USE_CONFIRMATION:  'FALSE'
       > dialparties.agi: RINGGROUP_INDEX:   ''
 dialparties.agi: Methodology of ring is  'none'
    -- dialparties.agi: Filtered ARG3: 201
    -- dialparties.agi: Added extension 203 to extension map
       > dialparties.agi: Extension 203 has call screening off
    -- <Local/201@trusted-eaa2;2>AGI Script dialparties.agi completed, returning 0
    -- dialparties.agi: Extension 203 cf is disabled
    -- dialparties.agi: Extension 203 do not disturb is disabled
       > dialparties.agi: extnum 203 has:  cw: 0; hascfb: 0 [] hascfu: 0 []
 dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
 dialparties.agi: Extension 203 has ExtensionState: 0
    -- dialparties.agi: Checking CW and CFB status for extension 203
    -- dialparties.agi: dbset CALLTRACE/203 to 0625600041
    -- <Local/202@trusted-c95f;2>AGI Script dialparties.agi completed, returning 0
    -- dialparties.agi: Filtered ARG3: 203
    -- <Local/203@trusted-230a;2>AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:10] Dial("Local/201@trusted-eaa2;2", "SIP/201,"",tr") in new stack
       > dialparties.agi: Extension 200 has call screening off
    -- dialparties.agi: Extension 200 cf is disabled
    -- dialparties.agi: Extension 200 do not disturb is disabled
       > dialparties.agi: extnum 200 has:  cw: 0; hascfb: 0 [] hascfu: 0 []
    -- Executing [s@macro-dial:10] Dial("Local/202@trusted-c95f;2", "SIP/202,"",tr") in new stack
    -- Executing [s@macro-dial:10] Dial("Local/203@trusted-230a;2", "SIP/203,"",tr") in new stack
  == Using SIP RTP CoS mark 5
 dialparties.agi: EXTENSION_STATE: 0 (NOT_INUSE)
 dialparties.agi: Extension 200 has ExtensionState: 0
    -- dialparties.agi: Checking CW and CFB status for extension 200
    -- dialparties.agi: dbset CALLTRACE/200 to 0625600041
    -- dialparties.agi: Filtered ARG3: 200
    -- <Local/200@trusted-1641;2>AGI Script dialparties.agi completed, returning 0
  == Using SIP RTP CoS mark 5
  == Using SIP RTP CoS mark 5
    -- Executing [s@macro-dial:10] Dial("Local/200@trusted-1641;2", "SIP/200,"",tr") in new stack
    -- Called SIP/201
    -- Local/201@trusted-eaa2;1 is ringing
    -- Local/201@trusted-eaa2;1 connected line has changed. Saving it until answer for SIP/freephonie.net-000000a5
    -- Local/201@trusted-eaa2;1 connected line has changed. Saving it until answer for SIP/freephonie.net-000000a5
    -- Called SIP/202
    -- Local/202@trusted-c95f;1 is ringing
    -- Local/202@trusted-c95f;1 connected line has changed. Saving it until answer for SIP/freephonie.net-000000a5
    -- Local/202@trusted-c95f;1 connected line has changed. Saving it until answer for SIP/freephonie.net-000000a5
    -- Called SIP/203
    -- Local/203@trusted-230a;1 is ringing
    -- Local/203@trusted-230a;1 connected line has changed. Saving it until answer for SIP/freephonie.net-000000a5
    -- Local/203@trusted-230a;1 connected line has changed. Saving it until answer for SIP/freephonie.net-000000a5
  == Using SIP RTP CoS mark 5
    -- Called SIP/200
    -- Local/200@trusted-1641;1 is ringing
    -- Local/200@trusted-1641;1 connected line has changed. Saving it until answer for SIP/freephonie.net-000000a5
    -- Local/200@trusted-1641;1 connected line has changed. Saving it until answer for SIP/freephonie.net-000000a5
    -- SIP/203-000000a8 is ringing
    -- Local/203@trusted-230a;1 is ringing
    -- SIP/202-000000a7 is ringing
    -- Local/202@trusted-c95f;1 is ringing
    -- SIP/200-000000a9 is ringing
    -- Local/200@trusted-1641;1 is ringing
    -- SIP/201-000000a6 is ringing
    -- Local/201@trusted-eaa2;1 is ringing
    -- Nobody picked up in 15000 ms
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/203@trusted-230a;2' in macro 'dial'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/200@trusted-1641;2' in macro 'dial'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/202@trusted-c95f;2' in macro 'dial'
  == Spawn extension (macro-dial, s, 10) exited non-zero on 'Local/201@trusted-eaa2;2' in macro 'dial'
  == Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'Local/200@trusted-1641;2' in macro 'exten-vm'
  == Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'Local/201@trusted-eaa2;2' in macro 'exten-vm'
  == Spawn extension (trusted, 200, 1) exited non-zero on 'Local/200@trusted-1641;2'
  == Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'Local/202@trusted-c95f;2' in macro 'exten-vm'
  == Spawn extension (trusted, 202, 1) exited non-zero on 'Local/202@trusted-c95f;2'
  == Spawn extension (trusted, 201, 1) exited non-zero on 'Local/201@trusted-eaa2;2'
  == Spawn extension (macro-exten-vm, s, 9) exited non-zero on 'Local/203@trusted-230a;2' in macro 'exten-vm'
  == Spawn extension (trusted, 203, 1) exited non-zero on 'Local/203@trusted-230a;2'
    -- Executing [h@trusted:1] Macro("Local/200@trusted-1641;2", "hangupcall") in new stack
    -- Executing [h@trusted:1] Macro("Local/202@trusted-c95f;2", "hangupcall") in new stack
    -- Executing [h@trusted:1] Macro("Local/201@trusted-eaa2;2", "hangupcall") in new stack
    -- Executing [h@trusted:1] Macro("Local/203@trusted-230a;2", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("Local/202@trusted-c95f;2", "w") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("Local/203@trusted-230a;2", "w") in new stack
    -- Executing [101-hm1@from-lmce-custom:2] Goto("SIP/freephonie.net-000000a5", "from-lmce-custom,101-hm1-NOANSWER,1")
    -- Goto (from-lmce-custom,101-hm1-NOANSWER,1)
    -- Executing [s@macro-hangupcall:1] ResetCDR("Local/201@trusted-eaa2;2", "w") in new stack
    -- Executing [s@macro-hangupcall:1] ResetCDR("Local/200@trusted-1641;2", "w") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("Local/202@trusted-c95f;2", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("Local/202@trusted-c95f;2", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("Local/202@trusted-c95f;2", "1?skipblkvm") in new stack
    -- Executing [101-hm1-NOANSWER@from-lmce-custom:1] Goto("SIP/freephonie.net-000000a5", "voice-menu-lmce-custom,s,1")
    -- Goto (macro-hangupcall,s,9)
    -- Goto (voice-menu-lmce-custom,s,1)
    -- Executing [s@macro-hangupcall:9] GotoIf("Local/202@trusted-c95f;2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("Local/202@trusted-c95f;2", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/202@trusted-c95f;2' in macro 'hangupcall'
  == Spawn extension (trusted, h, 1) exited non-zero on 'Local/202@trusted-c95f;2'
    -- Executing [s@voice-menu-lmce-custom:1] Answer("SIP/freephonie.net-000000a5", "")
    -- Executing [s@macro-hangupcall:2] NoCDR("Local/203@trusted-230a;2", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("Local/203@trusted-230a;2", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("Local/203@trusted-230a;2", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("Local/203@trusted-230a;2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("Local/203@trusted-230a;2", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/203@trusted-230a;2' in macro 'hangupcall'
  == Spawn extension (trusted, h, 1) exited non-zero on 'Local/203@trusted-230a;2'
    -- Executing [s@macro-hangupcall:2] NoCDR("Local/200@trusted-1641;2", "") in new stack
    -- Executing [s@macro-hangupcall:2] NoCDR("Local/201@trusted-eaa2;2", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("Local/200@trusted-1641;2", "1?skiprg") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("Local/201@trusted-eaa2;2", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Goto (macro-hangupcall,s,6)
    -- Executing [s@macro-hangupcall:6] GotoIf("Local/200@trusted-1641;2", "1?skipblkvm") in new stack
    -- Executing [s@macro-hangupcall:6] GotoIf("Local/201@trusted-eaa2;2", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Goto (macro-hangupcall,s,9)
    -- Executing [s@macro-hangupcall:9] GotoIf("Local/200@trusted-1641;2", "1?theend") in new stack
    -- Executing [s@macro-hangupcall:9] GotoIf("Local/201@trusted-eaa2;2", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Goto (macro-hangupcall,s,11)
    -- Executing [s@macro-hangupcall:11] Hangup("Local/200@trusted-1641;2", "") in new stack
    -- Executing [s@macro-hangupcall:11] Hangup("Local/201@trusted-eaa2;2", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/200@trusted-1641;2' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/201@trusted-eaa2;2' in macro 'hangupcall'
  == Spawn extension (trusted, h, 1) exited non-zero on 'Local/200@trusted-1641;2'
  == Spawn extension (trusted, h, 1) exited non-zero on 'Local/201@trusted-eaa2;2'
    -- Executing [s@voice-menu-lmce-custom:2] Wait("SIP/freephonie.net-000000a5", "1")
    -- Executing [s@voice-menu-lmce-custom:3] AGI("SIP/freephonie.net-000000a5", "lmce-callersforme.agi")
    -- Launched AGI Script /usr/share/asterisk/agi-bin/lmce-callersforme.agi
    -- AGI Script Executing Application: (NoOp) Options: (Finding if 0625600041 is a caller for somebody)
    -- <SIP/freephonie.net-000000a5>AGI Script lmce-callersforme.agi completed, returning 0
    -- Executing [s@voice-menu-lmce-custom:4] Background("SIP/freephonie.net-000000a5", "pluto/pluto-default-voicemenu")
    -- <SIP/freephonie.net-000000a5> Playing 'pluto/pluto-default-voicemenu.gsm' (language ''fr'')
    -- Executing [s@voice-menu-lmce-custom:5] Set("SIP/freephonie.net-000000a5", "TIMEOUT(digit)=10")
    -- Digit timeout set to 10.000
    -- Executing [s@voice-menu-lmce-custom:6] Set("SIP/freephonie.net-000000a5", "TIMEOUT(response)=20")
    -- Response timeout set to 20.000
[Jan 16 11:06:20] WARNING[19206]: pbx.c:5203 __ast_pbx_run: Don't know what to do with 'SIP/freephonie.net-000000a5'


thanks in advance