[asterisk-commits] pcadach: branch pcadach/chan_h323-live r42450 - in /team/pcadach/chan_h323-li...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Fri Sep 8 11:17:01 MST 2006


Author: pcadach
Date: Fri Sep  8 13:17:01 2006
New Revision: 42450

URL: http://svn.digium.com/view/asterisk?rev=42450&view=rev
Log:
Describe progress_<xxx> configuration options

Modified:
    team/pcadach/chan_h323-live/channels/chan_h323.c
    team/pcadach/chan_h323-live/configs/h323.conf.sample

Modified: team/pcadach/chan_h323-live/channels/chan_h323.c
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/channels/chan_h323.c?rev=42450&r1=42449&r2=42450&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/chan_h323.c (original)
+++ team/pcadach/chan_h323-live/channels/chan_h323.c Fri Sep  8 13:17:01 2006
@@ -1228,7 +1228,7 @@
 		options->progress_setup = tmp;
 	} else if (!strcasecmp(v->name, "progress_alert")) {
 		tmp = atoi(v->value);
-		if ((tmp != 0) && (tmp != 8)) {
+		if ((tmp != 0) && (tmp != 1) && (tmp != 8)) {
 			ast_log(LOG_WARNING, "Invalud value %d for progress_alert at line %d, assuming 0\n", tmp, v->lineno);
 			tmp = 0;
 		}

Modified: team/pcadach/chan_h323-live/configs/h323.conf.sample
URL: http://svn.digium.com/view/asterisk/team/pcadach/chan_h323-live/configs/h323.conf.sample?rev=42450&r1=42449&r2=42450&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/configs/h323.conf.sample (original)
+++ team/pcadach/chan_h323-live/configs/h323.conf.sample Fri Sep  8 13:17:01 2006
@@ -63,6 +63,30 @@
 ; use user authentication at all.
 ;
 ;context=default
+;
+; Use this option to help Cisco (or other) gateways to setup backward voice
+; path to pass inband tones to calling user (see, for example,
+; http://www.cisco.com/warp/public/788/voip/ringback.html)
+;
+; Add PROGRESS information element to SETUP message sent on outbound calls
+; to notify about required backward voice path. Valid values are:
+;   0 - don't add PROGRESS information element (default);
+;   1 - call is not end-end ISDN, further call progress information can
+;        possibly be available in-band;
+;   3 - origination address is non-ISDN (Cisco accepts this value only);
+;   8 - in-band information or an appropriate pattern is now available;
+;progress_setup = 3
+;
+; Add PROGRESS information element (IE) to ALERT message sent on incoming
+; calls to notify about required backwared voice path. Valid values are:
+;   0 - don't add PROGRESS IE (default);
+;   8 - in-band information or an appropriate pattern is now available;
+;progress_alert = 8
+;
+; Generate PROGRESS message when H.323 audio path has established to create
+; backward audio path at other end of a call.
+;progress_audio = yes
+;
 ;------------------------------ JITTER BUFFER CONFIGURATION --------------------------
 ; jbenable = yes              ; Enables the use of a jitterbuffer on the receiving side of a
                               ; H323 channel. Defaults to "no". An enabled jitterbuffer will



More information about the asterisk-commits mailing list