I have a problem with the file “extensions.conf”.
Their are two extensions : a softphone XLite (n° 305) and an analog phone (n° 304).
I want that when the softphone (n° 305) calls my analog phone (n° 304), I want play a song and hang up.
This is my configuration :
exten => 304,1,Answer
exten => 304,2,MP3Player(/var/lib/asterisk/mohmp3/Pumpit.mp3)
exten => 304,3,Hangup
But, when I call analog phone (n° 304) with my softphone (n° 305), I can phone the analog phone but I can’t play my song…
Can you help me?