mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
fix trivial error with set_max_datagram on pvt->udptl
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@313907 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -483,7 +483,6 @@ static struct ooh323_pvt *ooh323_alloc(int callref, char *callToken)
|
||||
ast_mutex_init(&pvt->lock);
|
||||
ast_mutex_lock(&pvt->lock);
|
||||
|
||||
ast_udptl_set_far_max_datagram(pvt->udptl, 144);
|
||||
pvt->faxmode = 0;
|
||||
pvt->t38support = gT38Support;
|
||||
pvt->rtptimeout = gRTPTimeout;
|
||||
@@ -3963,6 +3962,7 @@ int configure_local_rtp(struct ooh323_pvt *p, ooCallData *call)
|
||||
strerror(errno));
|
||||
return 0;
|
||||
}
|
||||
ast_udptl_set_far_max_datagram(pvt->udptl, 144);
|
||||
|
||||
if (p->owner) {
|
||||
while (p->owner && ast_channel_trylock(p->owner)) {
|
||||
|
Reference in New Issue
Block a user