Configuration "extensions.conf"


#1

Hi,
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 :

[default]
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?

Thanks


#2

Check softphone context.
Does 305’s work in [default] context ?

[quote]
…when the softphone (n° 305) calls my analog phone (n° 304), I want play a song and hang up. [/quote]
You want to dial 304 and listen a song. Analog phone is not used at all.

What is logged when You dial 304 extension ?

-FD