|
giovanni.v
|
 |
« on: September 16, 2008, 08:08:44 am » |
|
This happen when a VoIP provider has an empty public number and a non numeric username. Askozia create an entry like this the dialplan:
exten => SIP-PROVIDER-261233284489c97364cccd,n,Macro(main|SIP/202|202||to|20)
This pass an empty value in ${ARG3} when calling the voicemail app:
exten => vm-busy,n,VoiceMail(${ARG2},b,${ARG3})
When executed and the call goes to voicemail:
Sep 15 18:57:46 -- Executing [3255555555@SIP-PROVIDER-261233284489c97364cccd-incoming:5] Macro("SIP/3255555555-08746000", "main|SIP/202|202||to|20") in new stack Sep 15 18:57:46 -- Executing [s@macro-main:1] Dial("SIP/3255555555-08746000", "SIP/202|20|to") in new stack Sep 15 18:57:46 -- Called 202 Sep 15 18:57:46 -- SIP/202-08768000 is ringing Sep 15 18:58:06 -- Nobody picked up in 20000 ms Sep 15 18:58:06 -- Executing [s@macro-main:2] NoOp("SIP/3255555555-08746000", "DIALSTATUS: NOANSWER") in new stack Sep 15 18:58:06 -- Executing [s@macro-main:3] Goto("SIP/3255555555-08746000", "s-NOANSWER|1") in new stack Sep 15 18:58:06 -- Goto (macro-main,s-NOANSWER,1) Sep 15 18:58:06 -- Executing [s-NOANSWER@macro-main:1] Goto("SIP/3255555555-08746000", "noanswer|1") in new stack Sep 15 18:58:06 -- Goto (macro-main,noanswer,1) Sep 15 18:58:06 -- Executing [noanswer@macro-main:1] GotoIf("SIP/3255555555-08746000", "1?vm-noanswer|1") in new stack Sep 15 18:58:06 -- Goto (macro-main,vm-noanswer,1) Sep 15 18:58:06 -- Executing [vm-noanswer@macro-main:1] Wait("SIP/3255555555-08746000", "1") in new stack Sep 15 18:58:07 -- Executing [vm-noanswer@macro-main:2] Set("SIP/3255555555-08746000", "MISSEDCAUSE=no-answer") in new stack Sep 15 18:58:07 -- Executing [vm-noanswer@macro-main:3] VoiceMail("SIP/3255555555-08746000", "202|u|") in new stack Sep 15 18:58:07 -- <SIP/3255555555-08746000> Playing 'vm-theperson' (language 'it')
At this point, in the exact time the vm try to say the number, asterisk crashes:
- Last asterisk log entry: Sep 15 18:18:05 -- <SIP/3255555555-08791000> Playing 'vm-theperson' (language 'it') - System: Sep 15 18:18:06 kernel: pid 209 (asterisk), uid 0: exited on signal 11
I think it's easy to fix checking this condition in the gui but i like to see this handled in the macro-main leaving the freedom not to say the number in the default vm message.
|