[asterisk-users] How to send "404 Not found" SIP reply?

Garth van Sittert garth at bitco.co.za
Thu Apr 16 06:20:20 CDT 2009


As a quick workaround you could use a goto to send to an invalid extension.

Goto(nowhere,1)


Garth van Sittert
Technical Director
BitCo
08600 24826
www.bitco.co.za



Chris Maciejewski 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



More information about the asterisk-users mailing list