Hi.
We upgraded using the backup/restore method outlined in http://www.freepbx.org/support/documentation/module-documentation/backup-and-restore.
From:
freepbx-2.7.0-7_centos5
asterisk16-1.6.2.19-1_centos5
CentOS release 5.6 (Final)
To:
asterisk-1.8.11.1-1.el6.x86_64
freepbx-2.10.0
RHEL 6.2
Only issue is when accessing voicemail for SIPs defined in sip_custom.conf, looks like get-vmcontext does not return the VMCONTEXT properly. Result is having to log into the VM system manually.
Note: the SIP seems to register OK and can make calls OK.
Any ideas on how to further debug or fix this would be appreciated.
logs:
[2012-06-01 11:36:37] VERBOSE[13070] pbx.c: – Executing [*[email protected]:1] Answer(“SIP/support-bobby-00000093”, “”) in new stack
[2012-06-01 11:36:37] VERBOSE[13070] pbx.c: – Executing [*[email protected]:2] Wait(“SIP/support-bobby-00000093”, “1”) in new stack
[2012-06-01 11:36:37] NOTICE[13070] channel.c: Dropping incompatible voice frame on SIP/support-bobby-00000093 of format alaw since our native format has changed to 0x4 (ulaw)
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [*[email protected]:3] Macro(“SIP/support-bobby-00000093”, “user-callerid,”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:1] Set(“SIP/support-bobby-00000093”, “AMPUSER=771”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/support-bobby-00000093”, “0?report”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:3] ExecIf(“SIP/support-bobby-00000093”, “1?Set(REALCALLERIDNUM=771)”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:4] Set(“SIP/support-bobby-00000093”, “AMPUSER=”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:5] Set(“SIP/support-bobby-00000093”, “AMPUSERCIDNAME=”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:6] GotoIf(“SIP/support-bobby-00000093”, “1?report”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Goto (macro-user-callerid,s,11)
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:11] GotoIf(“SIP/support-bobby-00000093”, “0?continue”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:12] Set(“SIP/support-bobby-00000093”, “__TTL=64”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:13] GotoIf(“SIP/support-bobby-00000093”, “1?continue”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Goto (macro-user-callerid,s,24)
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:24] Set(“SIP/support-bobby-00000093”, “CALLERID(number)=771”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:25] Set(“SIP/support-bobby-00000093”, “CALLERID(name)=Support Voicemail”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:26] Set(“SIP/support-bobby-00000093”, “CHANNEL(language)=en”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [*[email protected]:4] Macro(“SIP/support-bobby-00000093”, “get-vmcontext,”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:1] Set(“SIP/support-bobby-00000093”, “VMCONTEXT=”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/support-bobby-00000093”, “1?200:300”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Goto (macro-get-vmcontext,s,200)
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [[email protected]:200] Set(“SIP/support-bobby-00000093”, “VMCONTEXT=default”) in new stack
[2012-06-01 11:36:38] ERROR[13070] app_voicemail.c: MAILBOX_EXISTS requires an argument ([@])
[2012-06-01 11:36:38] WARNING[13070] func_logic.c: Syntax IF(?[][:]) (expr must be non-null, and either or must be non-null)
[2012-06-01 11:36:38] WARNING[13070] func_logic.c: In this case, =’’, =‘SUCCESS’, and =‘FAILED’
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [*[email protected]:5] Set(“SIP/support-bobby-00000093”, “VMBOXEXISTSSTATUS=”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [*[email protected]:6] GotoIf(“SIP/support-bobby-00000093”, “0?mbexist”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] pbx.c: – Executing [*[email protected]:7] VoiceMailMain(“SIP/support-bobby-00000093”, “”) in new stack
[2012-06-01 11:36:38] VERBOSE[13070] file.c: – <SIP/support-bobby-00000093> Playing ‘vm-login.ulaw’ (language ‘en’)
[2012-06-01 11:36:40] WARNING[13070] app_voicemail.c: Couldn’t read username
/etc/asterisk/sip_custom.conf:
[support-bobby]
deny=0.0.0.0/0.0.0.0
secret=
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
type=friend
nat=no
qualify=yes
callgroup=
pickupgroup=
[email protected]
permit=0.0.0.0/0.0.0.0
callerid=771
callcounter=yes