[asterisk-commits] oej: branch oej/teapot-1.8 r402118 - in /team/oej/teapot-1.8: configs/ includ...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 28 10:08:25 CDT 2013


Author: oej
Date: Mon Oct 28 10:08:22 2013
New Revision: 402118

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=402118
Log:
Adding docs

Modified:
    team/oej/teapot-1.8/configs/sip2cause.conf.sample
    team/oej/teapot-1.8/include/asterisk/causes.h

Modified: team/oej/teapot-1.8/configs/sip2cause.conf.sample
URL: http://svnview.digium.com/svn/asterisk/team/oej/teapot-1.8/configs/sip2cause.conf.sample?view=diff&rev=402118&r1=402117&r2=402118
==============================================================================
--- team/oej/teapot-1.8/configs/sip2cause.conf.sample (original)
+++ team/oej/teapot-1.8/configs/sip2cause.conf.sample Mon Oct 28 10:08:22 2013
@@ -44,5 +44,10 @@
 [sip2cause]
 ; 404 => USER_BUSY
 
+; To convert a SIP2SIP call with a private error code, use CUSTOM1 - CUSTOM5 cause codes
+;497 => CUSTOM1
+
 [cause2sip]
 ; USER_BUSY => 403 Forbidden
+
+;CUSTOM1 => 497 IAX2 not suppoSTOM1 => 497 IAX2 not supported.

Modified: team/oej/teapot-1.8/include/asterisk/causes.h
URL: http://svnview.digium.com/svn/asterisk/team/oej/teapot-1.8/include/asterisk/causes.h?view=diff&rev=402118&r1=402117&r2=402118
==============================================================================
--- team/oej/teapot-1.8/include/asterisk/causes.h (original)
+++ team/oej/teapot-1.8/include/asterisk/causes.h Mon Oct 28 10:08:22 2013
@@ -83,7 +83,16 @@
 	- AST_CAUSE_RECOVERY_ON_TIMER_EXPIRE       102
 	- AST_CAUSE_MANDATORY_IE_LENGTH_ERROR      103
 	- AST_CAUSE_PROTOCOL_ERROR                 111
+	- AST_CAUSE_CUSTOM1                        115
+	- AST_CAUSE_CUSTOM2                        116
+	- AST_CAUSE_CUSTOM3                        117
+	- AST_CAUSE_CUSTOM4                        118
+	- AST_CAUSE_CUSTOM5                        119
 	- AST_CAUSE_INTERWORKING                   127
+
+The custom codes (115-119) are for sip2cause translations outside of the normal translation path.
+Only use these in sip2sip situations as ISDN equipment or other channel drivers will not understand
+them at all.
 
 For more information:
 - \ref app_dial.c




More information about the asterisk-commits mailing list