voicemail with g711 is working but failed on g729

Discussion in 'General' started by Terry, Dec 19, 2007.

  1. Terry

    Joined:
    May 25, 2007
    Messages:
    174
    Likes Received:
    0
    Dear Sir,
    Version 0.9.1-12
    I have used sip extension 111111 call to sip extension 333333 with codec g711 and voicemail is wirking good --can send e-mail to my mail box ,But when I add g729 codec at /usr/lib/asterisk/modules
    sip extension 111111 can talk with sip extension 333333,but cannot working with leave a message (111111 call to 333333 then hange up with automatically after 3-4 rings )
    where should modify ?


    g711 working message as below
    -- Executing [111111@from-internal:1] Macro("SIP/333333-09538ac0", "exten-vm|111111|111111") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/333333-09538ac0", "user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/333333-09538ac0", "user-callerid: device 333333") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/333333-09538ac0", "AMPUSER=333333") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/333333-09538ac0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] GotoIf("SIP/333333-09538ac0", "0?start") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/333333-09538ac0", "REALCALLERIDNUM=333333") in new stack
    -- Executing [s@macro-user-callerid:6] NoOp("SIP/333333-09538ac0", "REALCALLERIDNUM is 333333") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/333333-09538ac0", "AMPUSER=333333") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/333333-09538ac0", "AMPUSERCIDNAME=333333") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/333333-09538ac0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/333333-09538ac0", "AMPUSERCID=333333") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/333333-09538ac0", "CALLERID(all)="333333" <333333>") in new stack
    -- Executing [s@macro-user-callerid:12] Set("SIP/333333-09538ac0", "REALCALLERIDNUM=333333") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/333333-09538ac0", "TTL: ARG1: 111111") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/333333-09538ac0", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("SIP/333333-09538ac0", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("SIP/333333-09538ac0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/333333-09538ac0", "Using CallerID "333333" <333333>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/333333-09538ac0", "FROMCONTEXT=exten-vm") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/333333-09538ac0", "VMBOX=111111") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/333333-09538ac0", "EXTTOCALL=111111") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/333333-09538ac0", "CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("SIP/333333-09538ac0", "CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("SIP/333333-09538ac0", "RT=15") in new stack
    -- Executing [s@macro-exten-vm:8] Macro("SIP/333333-09538ac0", "record-enable|111111|IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/333333-09538ac0", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/333333-09538ac0", "recordingcheck|20071218-135239|1197957159.2") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20071218-135239|1197957159.2: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("SIP/333333-09538ac0", "No recording needed") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("SIP/333333-09538ac0", "dial|15|tr|111111") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/333333-09538ac0", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/333333-09538ac0", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    dialparties.agi: Starting New Dialparties.agi
    == Parsing '/etc/asterisk/manager.conf': Found
    == Parsing '/etc/asterisk/manager_custom.conf': Found
    == Manager 'admin' logged on from 127.0.0.1
    dialparties.agi: Caller ID name is '333333' number is '333333'
    dialparties.agi: Methodology of ring is 'none'
    -- dialparties.agi: Added extension 111111 to extension map
    -- dialparties.agi: Extension 111111 cf is disabled
    -- dialparties.agi: Extension 111111 do not disturb is disabled
    dialparties.agi: Extension 111111 has ExtensionState: 0
    -- dialparties.agi: Checking CW and CFB status for extension 111111
    -- dialparties.agi: dbset CALLTRACE/111111 to 333333
    == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:10] Dial("SIP/333333-09538ac0", "SIP/111111|15|tr") in new stack
    -- Called 111111
    -- SIP/111111-0953a500 is ringing
    -- Nobody picked up in 15000 ms
    -- Executing [s@macro-dial:11] Set("SIP/333333-09538ac0", "DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-exten-vm:10] Set("SIP/333333-09538ac0", "SV_DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-exten-vm:11] GosubIf("SIP/333333-09538ac0", "0?docfu|1") in new stack
    -- Executing [s@macro-exten-vm:12] GosubIf("SIP/333333-09538ac0", "0?docfb|1") in new stack
    -- Executing [s@macro-exten-vm:13] Set("SIP/333333-09538ac0", "DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-exten-vm:14] NoOp("SIP/333333-09538ac0", "Voicemail is 111111") in new stack
    -- Executing [s@macro-exten-vm:15] GotoIf("SIP/333333-09538ac0", "0?s-NOANSWER|1") in new stack
    -- Executing [s@macro-exten-vm:16] NoOp("SIP/333333-09538ac0", "Sending to Voicemail box 111111") in new stack
    -- Executing [s@macro-exten-vm:17] Macro("SIP/333333-09538ac0", "vm|111111|NOANSWER") in new stack
    -- Executing [s@macro-vm:1] Macro("SIP/333333-09538ac0", "user-callerid|SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/333333-09538ac0", "user-callerid: 333333 333333") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/333333-09538ac0", "AMPUSER=333333") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/333333-09538ac0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] GotoIf("SIP/333333-09538ac0", "1?start") in new stack
    -- Goto (macro-user-callerid,s,6)
    -- Executing [s@macro-user-callerid:6] NoOp("SIP/333333-09538ac0", "REALCALLERIDNUM is 333333") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/333333-09538ac0", "AMPUSER=333333") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/333333-09538ac0", "AMPUSERCIDNAME=333333") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/333333-09538ac0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/333333-09538ac0", "AMPUSERCID=333333") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/333333-09538ac0", "CALLERID(all)="333333" <333333>") in new stack
    -- Executing [s@macro-user-callerid:12] Set("SIP/333333-09538ac0", "REALCALLERIDNUM=333333") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/333333-09538ac0", "TTL: 64 ARG1: SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/333333-09538ac0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/333333-09538ac0", "Using CallerID "333333" <333333>") in new stack
    -- Executing [s@macro-vm:2] Set("SIP/333333-09538ac0", "VMGAIN=""") in new stack
    -- Executing [s@macro-vm:3] GotoIf("SIP/333333-09538ac0", "1?vmx|1") in new stack
    -- Goto (macro-vm,vmx,1)
    -- Executing [vmx@macro-vm:1] GotoIf("SIP/333333-09538ac0", "0?s-NOANSWER|1") in new stack
    -- Executing [vmx@macro-vm:2] Set("SIP/333333-09538ac0", "MODE=unavail") in new stack
    -- Executing [vmx@macro-vm:3] GotoIf("SIP/333333-09538ac0", "1?notdirect") in new stack
    -- Goto (macro-vm,vmx,5)
    -- Executing [vmx@macro-vm:5] NoOp("SIP/333333-09538ac0", "Checking if ext 111111 is enabled: ") in new stack
    -- Executing [vmx@macro-vm:6] GotoIf("SIP/333333-09538ac0", "1?s-NOANSWER|1") in new stack
    -- Goto (macro-vm,s-NOANSWER,1)
    -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/333333-09538ac0", "get-vmcontext|111111") in new stack
    -- Executing [s@macro-get-vmcontext:1] Set("SIP/333333-09538ac0", "VMCONTEXT=default") in new stack
    -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/333333-09538ac0", "0?200:300") in new stack
    -- Goto (macro-get-vmcontext,s,300)
    -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/333333-09538ac0", "") in new stack
    -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/333333-09538ac0", "111111@default|u") in new stack
    -- <SIP/333333-09538ac0> Playing 'vm-theperson' (language 'en')
    -- <SIP/333333-09538ac0> Playing 'digits/1' (language 'en')
    -- <SIP/333333-09538ac0> Playing 'digits/1' (language 'en')
    -- <SIP/333333-09538ac0> Playing 'digits/1' (language 'en')
    -- <SIP/333333-09538ac0> Playing 'digits/1' (language 'en')
    -- <SIP/333333-09538ac0> Playing 'digits/1' (language 'en')
    -- <SIP/333333-09538ac0> Playing 'digits/1' (language 'en')
    -- <SIP/333333-09538ac0> Playing 'vm-isunavail' (language 'en')
    -- <SIP/333333-09538ac0> Playing 'vm-intro' (language 'en')
    -- <SIP/333333-09538ac0> Playing 'beep' (language 'en')
    -- Recording the message
    -- x=0, open writing: /var/spool/asterisk/voicemail/default/111111/tmp/J9WI0z format: wav49, 0x95a2fa0
    -- x=1, open writing: /var/spool/asterisk/voicemail/default/111111/tmp/J9WI0z format: wav, 0x95a27a0
    -- User hung up
    == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/333333-09538ac0' in macro 'vm'
    == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/333333-09538ac0' in macro 'exten-vm'
    == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/333333-09538ac0'
    elastix*CLI>




    G729 noworking


    -- Executing [111111@from-internal:1] Macro("SIP/333333-09538ac0", "exten-vm|111111|111111") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/333333-09538ac0", "user-callerid") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/333333-09538ac0", "user-callerid: device 333333") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/333333-09538ac0", "AMPUSER=333333") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/333333-09538ac0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] GotoIf("SIP/333333-09538ac0", "0?start") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/333333-09538ac0", "REALCALLERIDNUM=333333") in new stack
    -- Executing [s@macro-user-callerid:6] NoOp("SIP/333333-09538ac0", "REALCALLERIDNUM is 333333") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/333333-09538ac0", "AMPUSER=333333") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/333333-09538ac0", "AMPUSERCIDNAME=333333") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/333333-09538ac0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/333333-09538ac0", "AMPUSERCID=333333") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/333333-09538ac0", "CALLERID(all)="333333" <333333>") in new stack
    -- Executing [s@macro-user-callerid:12] Set("SIP/333333-09538ac0", "REALCALLERIDNUM=333333") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/333333-09538ac0", "TTL: ARG1: 111111") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/333333-09538ac0", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("SIP/333333-09538ac0", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("SIP/333333-09538ac0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/333333-09538ac0", "Using CallerID "333333" <333333>") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/333333-09538ac0", "FROMCONTEXT=exten-vm") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/333333-09538ac0", "VMBOX=111111") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/333333-09538ac0", "EXTTOCALL=111111") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/333333-09538ac0", "CFUEXT=") in new stack
    -- Executing [s@macro-exten-vm:6] Set("SIP/333333-09538ac0", "CFBEXT=") in new stack
    -- Executing [s@macro-exten-vm:7] Set("SIP/333333-09538ac0", "RT=15") in new stack
    -- Executing [s@macro-exten-vm:8] Macro("SIP/333333-09538ac0", "record-enable|111111|IN") in new stack
    -- Executing [s@macro-record-enable:1] GotoIf("SIP/333333-09538ac0", "0?2:4") in new stack
    -- Goto (macro-record-enable,s,4)
    -- Executing [s@macro-record-enable:4] AGI("SIP/333333-09538ac0", "recordingcheck|20071218-135650|1197957410.6") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
    recordingcheck|20071218-135650|1197957410.6: Inbound recording not enabled
    -- AGI Script recordingcheck completed, returning 0
    -- Executing [s@macro-record-enable:5] NoOp("SIP/333333-09538ac0", "No recording needed") in new stack
    -- Executing [s@macro-exten-vm:9] Macro("SIP/333333-09538ac0", "dial|15|tr|111111") in new stack
    -- Executing [s@macro-dial:1] GotoIf("SIP/333333-09538ac0", "1?dial") in new stack
    -- Goto (macro-dial,s,3)
    -- Executing [s@macro-dial:3] AGI("SIP/333333-09538ac0", "dialparties.agi") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
    dialparties.agi: Starting New Dialparties.agi
    == Parsing '/etc/asterisk/manager.conf': Found
    == Parsing '/etc/asterisk/manager_custom.conf': Found
    == Manager 'admin' logged on from 127.0.0.1
    dialparties.agi: Caller ID name is '333333' number is '333333'
    dialparties.agi: Methodology of ring is 'none'
    -- dialparties.agi: Added extension 111111 to extension map
    -- dialparties.agi: Extension 111111 cf is disabled
    -- dialparties.agi: Extension 111111 do not disturb is disabled
    dialparties.agi: Extension 111111 has ExtensionState: 0
    -- dialparties.agi: Checking CW and CFB status for extension 111111
    -- dialparties.agi: dbset CALLTRACE/111111 to 333333
    == Manager 'admin' logged off from 127.0.0.1
    -- AGI Script dialparties.agi completed, returning 0
    -- Executing [s@macro-dial:10] Dial("SIP/333333-09538ac0", "SIP/111111|15|tr") in new stack
    -- Called 111111
    -- SIP/111111-095a4cd0 is ringing
    -- Nobody picked up in 15000 ms
    -- Executing [s@macro-dial:11] Set("SIP/333333-09538ac0", "DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-exten-vm:10] Set("SIP/333333-09538ac0", "SV_DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-exten-vm:11] GosubIf("SIP/333333-09538ac0", "0?docfu|1") in new stack
    -- Executing [s@macro-exten-vm:12] GosubIf("SIP/333333-09538ac0", "0?docfb|1") in new stack
    -- Executing [s@macro-exten-vm:13] Set("SIP/333333-09538ac0", "DIALSTATUS=NOANSWER") in new stack
    -- Executing [s@macro-exten-vm:14] NoOp("SIP/333333-09538ac0", "Voicemail is 111111") in new stack
    -- Executing [s@macro-exten-vm:15] GotoIf("SIP/333333-09538ac0", "0?s-NOANSWER|1") in new stack
    -- Executing [s@macro-exten-vm:16] NoOp("SIP/333333-09538ac0", "Sending to Voicemail box 111111") in new stack
    -- Executing [s@macro-exten-vm:17] Macro("SIP/333333-09538ac0", "vm|111111|NOANSWER") in new stack
    -- Executing [s@macro-vm:1] Macro("SIP/333333-09538ac0", "user-callerid|SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:1] NoOp("SIP/333333-09538ac0", "user-callerid: 333333 333333") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/333333-09538ac0", "AMPUSER=333333") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/333333-09538ac0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] GotoIf("SIP/333333-09538ac0", "1?start") in new stack
    -- Goto (macro-user-callerid,s,6)
    -- Executing [s@macro-user-callerid:6] NoOp("SIP/333333-09538ac0", "REALCALLERIDNUM is 333333") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/333333-09538ac0", "AMPUSER=333333") in new stack
    -- Executing [s@macro-user-callerid:8] Set("SIP/333333-09538ac0", "AMPUSERCIDNAME=333333") in new stack
    -- Executing [s@macro-user-callerid:9] GotoIf("SIP/333333-09538ac0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:10] Set("SIP/333333-09538ac0", "AMPUSERCID=333333") in new stack
    -- Executing [s@macro-user-callerid:11] Set("SIP/333333-09538ac0", "CALLERID(all)="333333" <333333>") in new stack
    -- Executing [s@macro-user-callerid:12] Set("SIP/333333-09538ac0", "REALCALLERIDNUM=333333") in new stack
    -- Executing [s@macro-user-callerid:13] NoOp("SIP/333333-09538ac0", "TTL: 64 ARG1: SKIPTTL") in new stack
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/333333-09538ac0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,23)
    -- Executing [s@macro-user-callerid:23] NoOp("SIP/333333-09538ac0", "Using CallerID "333333" <333333>") in new stack
    -- Executing [s@macro-vm:2] Set("SIP/333333-09538ac0", "VMGAIN=""") in new stack
    -- Executing [s@macro-vm:3] GotoIf("SIP/333333-09538ac0", "1?vmx|1") in new stack
    -- Goto (macro-vm,vmx,1)
    -- Executing [vmx@macro-vm:1] GotoIf("SIP/333333-09538ac0", "0?s-NOANSWER|1") in new stack
    -- Executing [vmx@macro-vm:2] Set("SIP/333333-09538ac0", "MODE=unavail") in new stack
    -- Executing [vmx@macro-vm:3] GotoIf("SIP/333333-09538ac0", "1?notdirect") in new stack
    -- Goto (macro-vm,vmx,5)
    -- Executing [vmx@macro-vm:5] NoOp("SIP/333333-09538ac0", "Checking if ext 111111 is enabled: ") in new stack
    -- Executing [vmx@macro-vm:6] GotoIf("SIP/333333-09538ac0", "1?s-NOANSWER|1") in new stack
    -- Goto (macro-vm,s-NOANSWER,1)
    -- Executing [s-NOANSWER@macro-vm:1] Macro("SIP/333333-09538ac0", "get-vmcontext|111111") in new stack
    -- Executing [s@macro-get-vmcontext:1] Set("SIP/333333-09538ac0", "VMCONTEXT=default") in new stack
    -- Executing [s@macro-get-vmcontext:2] GotoIf("SIP/333333-09538ac0", "0?200:300") in new stack
    -- Goto (macro-get-vmcontext,s,300)
    -- Executing [s@macro-get-vmcontext:300] NoOp("SIP/333333-09538ac0", "") in new stack
    -- Executing [s-NOANSWER@macro-vm:2] VoiceMail("SIP/333333-09538ac0", "111111@default|u") in new stack
    == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/333333-09538ac0' in macro 'vm'
    == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/333333-09538ac0' in macro 'exten-vm'
    == Spawn extension (macro-vm, s-NOANSWER, 2) exited non-zero on 'SIP/333333-09538ac0'
    elastix*CLI><br><br>Post edited by: Terry, at: 2007/12/19 06:22
     
  2. DaveD

    Joined:
    Nov 12, 2007
    Messages:
    597
    Likes Received:
    0
    Re:voicemail with g711 is working but failed on g7

    It appears they are using a different compiler for asterisk and now requires

    codec_g729-ast14-icc-glibc-pentium­ ­ 4.so

    instead of

    codec_g729-ast14-gcc-glibc-pentium­ ­ 4.so

    Tried this on a test box and it worked great
     

Share This Page