[libpri-commits] rmudgett: branch group/issue14068 r696 - /team/group/issue14068/
SVN commits to the libpri project
libpri-commits at lists.digium.com
Fri Feb 6 17:10:41 CST 2009
Author: rmudgett
Date: Fri Feb 6 17:10:40 2009
New Revision: 696
URL: http://svn.digium.com/svn-view/libpri?view=rev&rev=696
Log:
Change to preserve libpri API compatibility
Modified:
team/group/issue14068/libpri.h
team/group/issue14068/pri.c
Modified: team/group/issue14068/libpri.h
URL: http://svn.digium.com/svn-view/libpri/team/group/issue14068/libpri.h?view=diff&rev=696&r1=695&r2=696
==============================================================================
--- team/group/issue14068/libpri.h (original)
+++ team/group/issue14068/libpri.h Fri Feb 6 17:10:40 2009
@@ -709,7 +709,8 @@
int pri_sr_set_bearer(struct pri_sr *sr, int transmode, int userl1);
int pri_sr_set_called(struct pri_sr *sr, char *called, int calledplan, int complete);
int pri_sr_set_caller(struct pri_sr *sr, char *caller, char *callername, int callerplan, int callerpres);
-int pri_sr_set_redirecting(struct pri_sr *sr, char *name, char *num, int plan, int pres, int reason);
+int pri_sr_set_redirecting(struct pri_sr *sr, char *num, int plan, int pres, int reason);
+void pri_sr_set_redirecting_name(struct pri_sr *sr, char *name);
#define PRI_USER_USER_TX
/* Set the user user field. Warning! don't send binary data accross this field */
void pri_sr_set_useruser(struct pri_sr *sr, const char *userchars);
Modified: team/group/issue14068/pri.c
URL: http://svn.digium.com/svn-view/libpri/team/group/issue14068/pri.c?view=diff&rev=696&r1=695&r2=696
==============================================================================
--- team/group/issue14068/pri.c (original)
+++ team/group/issue14068/pri.c Fri Feb 6 17:10:40 2009
@@ -1055,12 +1055,16 @@
return 0;
}
-int pri_sr_set_redirecting(struct pri_sr *sr, char *name, char *num, int plan, int pres, int reason)
-{
- sr->redirectingname = name;
+int pri_sr_set_redirecting(struct pri_sr *sr, char *num, int plan, int pres, int reason)
+{
sr->redirectingnum = num;
sr->redirectingplan = plan;
sr->redirectingpres = pres;
sr->redirectingreason = reason;
return 0;
}
+
+void pri_sr_set_redirecting_name(struct pri_sr *sr, char *name)
+{
+ sr->redirectingname = name;
+}
More information about the libpri-commits
mailing list