Add protection block
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@254 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
e0de929e20
commit
89384a8472
1
libpri.h
1
libpri.h
@ -522,6 +522,7 @@ extern int pri_sr_set_bearer(struct pri_sr *sr, int transmode, int userl1);
|
|||||||
extern int pri_sr_set_called(struct pri_sr *sr, char *called, int calledplan, int complete);
|
extern int pri_sr_set_called(struct pri_sr *sr, char *called, int calledplan, int complete);
|
||||||
extern int pri_sr_set_caller(struct pri_sr *sr, char *caller, char *callername, int callerplan, int callerpres);
|
extern int pri_sr_set_caller(struct pri_sr *sr, char *caller, char *callername, int callerplan, int callerpres);
|
||||||
extern int pri_sr_set_redirecting(struct pri_sr *sr, char *num, int plan, int pres, int reason);
|
extern int pri_sr_set_redirecting(struct pri_sr *sr, char *num, int plan, int pres, int reason);
|
||||||
|
#define PRI_USER_USER_TX
|
||||||
/* Set the user user field. Warning! don't send binary data accross this field */
|
/* Set the user user field. Warning! don't send binary data accross this field */
|
||||||
extern void pri_sr_set_useruser(struct pri_sr *sr, char *userchars);
|
extern void pri_sr_set_useruser(struct pri_sr *sr, char *userchars);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user