On Thu, Jun 01, 2017 at 09:06:25PM +0200, Loic Chabert wrote:
> [gotoexternal]
> exten => _X.,1,Dial(SIP/${EXTEN}@provider)
> 
> When my SIP provider return to asterisk a 404 SIP error code, asterisk
> return to phone a 503 error code.
> 
> Why 503 error code has been returned, and not the original error = 404
> error ?
> 
> Asterisk's cli said: == Everyone is busy/congested at this time (1:0/0/1)
> 
> How can i return the 404 error ? Forward this 404 error to the original leg
> ?

To lazy to look it up exactly, but add something like:
exten => _X.,n,Hangup(${HANGUPCAUSE})


-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to