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

2009-04-16 Thread Chris Maciejewski
Yes, 'causecode' parameter of Hangup application was missing at: http://www.voip-info.org/wiki/view/Asterisk+cmd+Hangup I have added 'causecode' to the above wiki page now. Thanks for your help, Chris 2009/4/16 Tilghman Lesher : > On Thursday 16 April 2009 10:28:38 ContactTel Business wrote:

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

2009-04-16 Thread Tilghman Lesher
On Thursday 16 April 2009 10:28:38 ContactTel Business wrote: > Exten => _X.,1,Busy() or playback not found.. just a catch all... or modify > source to add another kind of dialplan entry etc.. Actually, that should send a 486 Busy here. Close, though. The OP could instead do a Hangup(1), Hangup(

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

2009-04-16 Thread Chris Maciejewski
Thank you all for help! What I was trying to achieve was: UA Asterisk - INVITE -> <--- 100 Trying -- < 183 Sess. Prog (sdp) - [ here we play "You dialled wrong..." ] <-- 404 Not found - And al

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

2009-04-16 Thread ContactTel Business
AM To: asterisk-users@lists.digium.com Subject: [asterisk-users] How to send "404 Not found" SIP reply? 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,Pla

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

2009-04-16 Thread Olivier
May I ask what's the benefit of getting 404 responses ? ___ -- 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-use

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

2009-04-16 Thread Philipp Kempgen
Chris Maciejewski schrieb: > 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

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

2009-04-16 Thread Alex Balashov
Not once you have picked up the call. And if you do it prior, why not just misdirect the call? -- Sent from mobile device On Apr 16, 2009, at 7:20 AM, Garth van Sittert wrote: > As a quick workaround you could use a goto to send to an invalid > extension. > > Goto(nowhere,1) > > > Garth va

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

2009-04-16 Thread Garth van Sittert
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 =>

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

2009-04-16 Thread Alex Balashov
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

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

2009-04-16 Thread Chris Maciejewski
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 ou