PDA

Voir la version complète : SayDigits



DOSSMANN
17/12/2014, 16h58
Hello,
j'essaye Asterisk et j'ai un problème !
J'arrive à avoir une communication avec l'application Playback. C'est à dire que j’entends une voix.
J'essaye alors avec l'application SayDigits, et la je n'entend rien.
Quand je lace le service, j'utilise la commande suivant : asterisk -vvvvvc
Cela me permet de voir ce qui ce passe. Voici les lignes suivantes :


*CLI> == Using SIP VIDEO CoS mark 6
== Using SIP RTP CoS mark 5
[Dec 17 15:55:00] WARNING[2975][C-00000000]: chan_sip.c:11248 process_sdp_a_audio: Got Siren7 offer at 24000 bps, but only 32000 bps supported; ignoring.
-- Executing [558@public:1] Playback("SIP/ekigaDOSSMANN-00000000", "tt-weasels") in new stack
> 0x7fb9c400f2b0 -- Probation passed - setting RTP source address to 10.128.17.124:5070
-- <SIP/ekigaDOSSMANN-00000000> Playing 'tt-weasels.gsm' (language 'en')
> 0x7fb9c4012bb0 -- Probation passed - setting RTP source address to 10.128.17.124:5072
-- Auto fallthrough, channel 'SIP/ekigaDOSSMANN-00000000' status is 'UNKNOWN'
== Using SIP VIDEO CoS mark 6
== Using SIP RTP CoS mark 5
[Dec 17 15:55:06] WARNING[2975][C-00000001]: chan_sip.c:11248 process_sdp_a_audio: Got Siren7 offer at 24000 bps, but only 32000 bps supported; ignoring.
-- Executing [559@public:1] SayDigits("SIP/ekigaDOSSMANN-00000001", "5") in new stack
-- <SIP/ekigaDOSSMANN-00000001> Playing 'digits/5.gsm' (language 'en')
-- Auto fallthrough, channel 'SIP/ekigaDOSSMANN-00000001' status is 'UNKNOWN'

*CLI>




J'ai remarqué que la ligne en gras : "Probation passed -setting RTP source address to 10.128.17.124" n'est pas présente avant " -- <SIP/ekigaDOSSMANN-00000001> Playing 'digits/5.gsm' (language 'en')"
Ce qui est le cas pour l'application Playback !


Voici mon plan de num /etc/asterisk/extensions.conf
[pulic]
exten=>555,1,Dial(SIP/ekigaDOSSMANN,10)
exten=>558,1,Playback(tt-weasels)
exten=>559,1,SayDigits(5)

Voici mes comptes SIP /etc/asterisk/sip.conf
[template1](!)
type=friend
host=dynamic
dtmfmode=rfc2833
disallow=all
allow=alaw
allow=h264
directmedia=yes


[ekigaDOSSMANN](template1)
defaultuser=ekigaDOSSMANN
secret=DOSSMANN

Du coup j'appelle de mon compte (dossmann sur 555) je compose le 558 et j’entends une voix, à l'inverse je n'entend rien quand je compose 559

Donc je ne comprend pas pourquoi j’entends une voix avec l'application PlayBack et pas avec SayDigits.

A chaque fois j’arrête le service et le redémarre.


Merci pour votre future aide. :)
A +