[Asterisk-cvs] libpri q931.c,1.84,1.85
markster at lists.digium.com
markster at lists.digium.com
Thu Sep 16 16:34:03 CDT 2004
Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv1083
Modified Files:
q931.c
Log Message:
Check for existance of *caller* number when sending caller, not called number (bug #2453)
Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- q931.c 25 Aug 2004 06:20:50 -0000 1.84
+++ q931.c 16 Sep 2004 20:38:13 -0000 1.85
@@ -944,7 +944,7 @@
{
ie->data[0] = call->callerplan;
ie->data[1] = 0x80 | call->callerpres;
- if (strlen(call->callednum))
+ if (strlen(call->callernum))
memcpy(ie->data + 2, call->callernum, strlen(call->callernum));
return strlen(call->callernum) + 4;
}
More information about the svn-commits
mailing list