How to setup Media Server using Asterisk

Hi,

I have installed Asterisk 1.6.0.9. After installation I have created samples files with command: make sample…

Using Asterisk - Features of Telephony book, I have tried to setup Media Server feature (using SIP Protocol) configuring sip.conf and extensions.conf files (You can find at bottom). Other files I leaved defaults.
But, unfortunately, when I send INVITE (I call number 172) to the Asterisk I got an ERROR: [quote]chan_sip.c: Call from ‘sailfin’ to extension ‘172’ rejected because extension not found[/quote].

Please, Could you send me an examples of configured files that I need to have in directory /etc/asterisk/ in order to have only Media Server function (playing announcements)?

Thank You very much in advance!!!

Examples of my configuration files that I modified:

  • sip.conf
    [general]
    context=default
    allowoverlap=no
    bindport=5060
    bindaddr=0.0.0.0
    srvlookup=yes
    [sailfin]
    type=peer
    context=from-fwd
    host=172.30.0.10
    insecure=port

-extensions.conf
[from-fwd]
exten => 172,1,Answer()
exten => 172,2,Playback(vm-tempgreetactive)
exten => 172,3,Hangup()

BR//Vlaski