[Asterisk-cvs] asterisk-addons/asterisk-ooh323c/ooh323c/src ooh245.c, 1.9, 1.10

vphirke vphirke
Fri Sep 2 14:26:57 CDT 2005


Update of /usr/cvsroot/asterisk-addons/asterisk-ooh323c/ooh323c/src
In directory mongoose.digium.com:/tmp/cvs-serv13313/ooh323c/src

Modified Files:
	ooh245.c 
Log Message:
Fixed bug related to rtp ip address

Index: ooh245.c
===================================================================
RCS file: /usr/cvsroot/asterisk-addons/asterisk-ooh323c/ooh323c/src/ooh245.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- ooh245.c	2 Sep 2005 14:27:10 -0000	1.9
+++ ooh245.c	2 Sep 2005 18:27:51 -0000	1.10
@@ -1399,7 +1399,7 @@
    iPAddress1 = unicastAddr1->u.iPAddress;
 
    /* Set remote destination address for rtp session */
-   strcpy(call->remoteIP, remoteip);
+   //   strcpy(call->remoteIP, remoteip);
    
    /* Start channel here */
    pLogicalChannel = ooFindLogicalChannelByLogicalChannelNo(call,olcAck->forwardLogicalChannelNumber);
@@ -1416,7 +1416,8 @@
    if(pLogicalChannel->sessionID == 0 && h2250lcap->m.sessionIDPresent)
       pLogicalChannel->sessionID = h2250lcap->sessionID;   
 
-   /* Populate ports for channel */
+   /* Populate ports &ip  for channel */
+   strcpy(pLogicalChannel->remoteIP, remoteip);   
    pLogicalChannel->remoteMediaPort = iPAddress->tsapIdentifier;
    pLogicalChannel->remoteMediaControlPort = iPAddress1->tsapIdentifier;
 




More information about the svn-commits mailing list