Merged revisions 291 via svnmerge from
https://origsvn.digium.com/svn/libpri/branches/1.2 ........ r291 | kpfleming | 2006-01-17 07:43:18 -0600 (Tue, 17 Jan 2006) | 2 lines ensure that user-user info field in call is properly reset when not needed ........ git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@292 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
9447f39f3f
commit
d97a630a81
2
q931.c
2
q931.c
@ -2833,6 +2833,8 @@ int q931_setup(struct pri *pri, q931_call *c, struct pri_sr *req)
|
||||
|
||||
if (req->useruserinfo)
|
||||
libpri_copy_string(c->useruserinfo, req->useruserinfo, sizeof(c->useruserinfo));
|
||||
else
|
||||
c->useruserinfo[0] = '\0';
|
||||
|
||||
if (req->nonisdn && (pri->switchtype == PRI_SWITCH_NI2))
|
||||
c->progressmask = PRI_PROG_CALLER_NOT_ISDN;
|
||||
|
Loading…
Reference in New Issue
Block a user