Exact Daniel, it'works with this line. Thanks for your help.
Regards. 2017-06-01 21:16 GMT+02:00 Daniel Tryba <[email protected]>: > 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 > -- *Loïc CHABERT - Responsable technique* *Voxity - Libérez vos Télécoms* 85 Rue des Alliés 38100 Grenoble Tel : 0975181257 - Fax : 04.816.801.14 Email : [email protected] <[email protected]> Restons connectés : Site Web <http://www.voxity.fr> - Twitter <http://twitter.com/voxity> - Facebook <http://www.facebook.com/voxity> - L inkedIn <https://www.linkedin.com/profile/view?id=25351096> *Nouveau !* Découvrez Voxity en vidéo : Youtube <https://www.youtube.com/watch?v=nUVL5fTNmVU>
-- _____________________________________________________________________ -- 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
