[asterisk-commits] pcadach: branch pcadach/chan_h323-live r42966 - /team/pcadach/chan_h323-live/...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Sep 14 22:46:59 MST 2006


Author: pcadach
Date: Fri Sep 15 00:46:58 2006
New Revision: 42966

URL: http://svn.digium.com/view/asterisk?rev=42966&view=rev
Log:
Get back H.323 ID for compatibility, but allow to specify dial string as H323/<host>/<id>/<exten> or H323/<exten>@<host>/<id>

Modified:
    team/pcadach/chan_h323-live/channels/chan_h323.c

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=42966&r1=42965&r2=42966&view=diff
==============================================================================
--- team/pcadach/chan_h323-live/channels/chan_h323.c (original)
+++ team/pcadach/chan_h323-live/channels/chan_h323.c Fri Sep 15 00:46:58 2006
@@ -1653,17 +1653,15 @@
 		host++;
 		ext = tmp;
 	} else {
-		ext = strchr(tmp, '/');
+		ext = strchrr(tmp, '/');
 		if (ext)
 			*ext++ = '\0';
 		host = tmp;
 	}
-#if 0
 	strtok_r(host, "/", &(h323id));
 	if (!ast_strlen_zero(h323id)) {
 		h323_set_id(h323id);
 	}
-#endif
 	if (ext) {
 		strncpy(pvt->exten, ext, sizeof(pvt->exten) - 1);
 	}



More information about the asterisk-commits mailing list