Hello,
I want do some configurations on my phones… For example, when a person call one of my phone, I want send this call on a voicemail.
So, What file must be configured ?
In my zapata.conf
[channels]
…
context=from-pstn
…
And, in my extensions.conf
[from-pstn]
exten => 304,1,Answer()
exten => 304,2,MP3Player(/var/lib/asterisk
exten => 304,3,Voicemail(304)
exten => 304,4,Hangup()
But, when I call the phone 304, This phone ring but I can’t hear the mp3 and I can’t access the voicemail…
My configuration is correct???
Thanks.
try this in extensions.conf:
[from-pstn]
exten => s,1,Answer()
exten => s,2,MP3Player(/var/lib/asterisk/Your_mp3_file.mp3)
exten => s,3,Voicemail(304)
exten => s,4,Hangup()
I try this configuration but it doesn’t resolv my problem…
My configuration is correct ???
[channels]
…
context=from-pstn
…
This context is correct ???
Thanks
[channels]
…
signalling=
callerid =
calleridnum =
context = context_from_extensions.conf
channel => 3
put context =>
before channel(s) declaration
Does Your both phone work in the same context - [from-pstn] ?
what messages are shown in asterisk console ?
-FD
[quote]Does Your both phone work in the same context - [from-pstn] ?
[/quote]
Where I can see if my phone work in the same context ???
In order to do this configuration. What file must I configure???
For the moment, I configured “zapata.conf” and "extensions.conf"
There are another files???
Thanks
questions:
- where are Yours phones ? sip.conf/iax.conf/zapata.conf ?
- does Your phones work in the same context ?
- context are in extensions.conf
- extensions are in context
You can name contexts as You like.
i will say:
" a
…
m
…
does i know whole alphabet ?"
look here:
forums.digium.com/viewtopic.php?t=4208
-FD