You don't get to choose which SIP replies Asterisk sends. Asterisk is too high-level for that.
A sure-fire way to raise a 404 is to have the call come into an extension that does not exist in the dial plan. You cannot really send a reply like a 404 when you have already picked up the call in order to play the recordings. -- Sent from mobile device On Apr 16, 2009, at 6:59 AM, Chris Maciejewski <[email protected]> wrote: > Hi, > > I am trying to send "404 Not found" reply, without any luck with the > following: > > exten => 555,1,Playback(you-dialed-wrong-number,noanswer) > exten => 555,n,Playback(check-number-dial-again,noanswer) > exten => 555,n,Congestion() > > However the above results in "500 Service Unavailable" being send out. > > What would be the correct application/function to generate "404 Not > found"? > > Thanks for help, > > Chris > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
