[asterisk-bugs] [JIRA] (ASTERISK-20657) saycid in voicemail for french numbers (0123456789)

Cedric BASSAGET (JIRA) noreply at issues.asterisk.org
Wed Nov 7 04:31:21 CST 2012


Cedric BASSAGET created ASTERISK-20657:
------------------------------------------

             Summary: saycid in voicemail for french numbers (0123456789)
                 Key: ASTERISK-20657
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20657
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Applications/app_playback, Applications/app_voicemail
    Affects Versions: 1.8.9.3
         Environment: Linux SRV-IPOP1 2.6.18-274.7.1.el5 #1 SMP Thu Oct 20 16:21:01 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

CentOS release 5.7 (Final)
            Reporter: Cedric BASSAGET
            Severity: Minor


When saycid=yes in voicemail.conf, french phone numbers are not told as expected in say.conf.

If I call my voicemail, callerid number is announced using single digits :
[Nov  7 10:32:48] VERBOSE[5228] file.c: [Nov  7 10:32:48]     -- <SIP/154-00022342> Playing 'digits/0.ulaw' (language 'fr')
[Nov  7 10:32:49] VERBOSE[5228] file.c: [Nov  7 10:32:49]     -- <SIP/154-00022342> Playing 'digits/6.ulaw' (language 'fr')
[Nov  7 10:32:49] VERBOSE[5228] file.c: [Nov  7 10:32:49]     -- <SIP/154-00022342> Playing 'digits/0.ulaw' (language 'fr')
[Nov  7 10:32:50] VERBOSE[5228] file.c: [Nov  7 10:32:50]     -- <SIP/154-00022342> Playing 'digits/4.ulaw' (language 'fr')
[Nov  7 10:32:51] VERBOSE[5228] file.c: [Nov  7 10:32:51]     -- <SIP/154-00022342> Playing 'digits/5.ulaw' (language 'fr')
[Nov  7 10:32:51] VERBOSE[5228] file.c: [Nov  7 10:32:51]     -- <SIP/154-00022342> Playing 'digits/9.ulaw' (language 'fr')
[Nov  7 10:32:52] VERBOSE[5228] file.c: [Nov  7 10:32:52]     -- <SIP/154-00022342> Playing 'digits/6.ulaw' (language 'fr')
[Nov  7 10:32:53] VERBOSE[5228] file.c: [Nov  7 10:32:53]     -- <SIP/154-00022342> Playing 'digits/0.ulaw' (language 'fr')
[Nov  7 10:32:53] VERBOSE[5228] file.c: [Nov  7 10:32:53]     -- <SIP/154-00022342> Playing 'digits/0.ulaw' (language 'fr')
[Nov  7 10:32:54] VERBOSE[5228] file.c: [Nov  7 10:32:54]     -- <SIP/154-00022342> Playing 'digits/2.ulaw' (language 'fr')
[Nov  7 10:32:55] VERBOSE[5228] file.c: [Nov  7 10:32:54]     -- <SIP/154-00022342> Playing 'digits/9.ulaw' (language 'fr')
[Nov  7 10:32:55] VERBOSE[5228] file.c: [Nov  7 10:32:54]     -- <SIP/154-00022342> Playing 'digits/9.ulaw' (language 'fr')

Now if I use Playback, and add a line in say.conf :
#say.conf
    _pho[n]e:0XXXXXXXXX => digits/0, num:${SAY:1:1}, num:${SAY:2:2}, num:${SAY:4:2}, num:${SAY:6:2}, num:${SAY:8:2}

#extensions.conf
exten => _998899.,1,Set(CHANNEL(language)=fr)
exten => _998899.,n,Playback(phone:${EXTEN:6},say)
exten => _998899.,n,hangup()

The phone number is played as expected :
Nov  7 11:15:49] VERBOSE[14208] pbx.c: [Nov  7 11:15:49]     -- Executing [9988990676970269 at context:1] Set("SIP/154-000225dc", "CHANNEL(language)=fr") in new stack
[Nov  7 11:15:49] VERBOSE[14208] pbx.c: [Nov  7 11:15:49]     -- Executing [9988990676970269 at context:2] Playback("SIP/154-000225dc", "phone:0676970269,say") in new stack
[Nov  7 11:15:49] VERBOSE[14208] file.c: [Nov  7 11:15:49]     -- <SIP/154-000225dc> Playing 'digits/0.ulaw' (language 'fr')
[Nov  7 11:15:50] VERBOSE[14208] file.c: [Nov  7 11:15:50]     -- <SIP/154-000225dc> Playing 'digits/6.ulaw' (language 'fr')
[Nov  7 11:15:51] VERBOSE[14208] file.c: [Nov  7 11:15:51]     -- <SIP/154-000225dc> Playing 'digits/60.ulaw' (language 'fr')
[Nov  7 11:15:52] VERBOSE[14208] file.c: [Nov  7 11:15:52]     -- <SIP/154-000225dc> Playing 'digits/16.ulaw' (language 'fr')
[Nov  7 11:15:53] VERBOSE[14208] file.c: [Nov  7 11:15:53]     -- <SIP/154-000225dc> Playing 'digits/80.ulaw' (language 'fr')
[Nov  7 11:15:53] VERBOSE[14208] file.c: [Nov  7 11:15:53]     -- <SIP/154-000225dc> Playing 'digits/17.ulaw' (language 'fr')
[Nov  7 11:15:54] VERBOSE[14208] file.c: [Nov  7 11:15:54]     -- <SIP/154-000225dc> Playing 'digits/0.ulaw' (language 'fr')
[Nov  7 11:15:55] VERBOSE[14208] file.c: [Nov  7 11:15:55]     -- <SIP/154-000225dc> Playing 'digits/2.ulaw' (language 'fr')
[Nov  7 11:15:55] VERBOSE[14208] file.c: [Nov  7 11:15:55]     -- <SIP/154-000225dc> Playing 'digits/60.ulaw' (language 'fr')
[Nov  7 11:15:56] VERBOSE[14208] file.c: [Nov  7 11:15:56]     -- <SIP/154-000225dc> Playing 'digits/9.ulaw' (language 'fr')
[Nov  7 11:15:57] VERBOSE[14208] pbx.c: [Nov  7 11:15:57]     -- Executing [9988990676970269 at context:3] Hangup("SIP/154-000225dc", "") in new stack
[Nov  7 11:15:57] VERBOSE[14208] pbx.c: [Nov  7 11:15:57]   == Spawn extension (context, 9988990676970269, 3) exited non-zero on 'SIP/154-000225dc'


Is there a way to make voicemail use playback for announcing cid number ?
I've tried with :
       cidinternalcontexts=vmsaycid in voicemail.conf
and

[vmsaycid]
exten => _X.,1,Playback(phone:${EXTEN},say)

in extensions.conf
but phone number is still announced as single digits

Hope my message is comprehensible...
Thanks for your help

Cédric

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list