Summary:ASTERISK-04966: [patch] Add duration limit from OSP AuthorizationResponse message
Reporter:Di-Shi Sun (homesick)Labels:
Date Opened:2005-09-01 14:25:20Date Closed:2008-01-15 15:47:02.000-0600
Versions:Frequency of
Environment:Attachments:( 0) osp_duration.path
Description:Asterisk can get call duration limit from OSP AuthorizationResponse message. One thing should be mentioned is that the duration limit "should" be get separatly for every destination. But becuase now the OSP server only support one duration limit for all calls, also because it is diffcult to access the channel structure in ast_osp_next function (need to change ast_osp_next API), now, the duration limit is got from the first destination. The duration limit is got from OSPPTransactionGetFirstDestination function call.
Another thing is the whentohangup element in the channel data structure is not defind as starting from destination answers the call. It may start from dial the number.


Disclaimer signed by TransNexus, Inc. 1/27/05
Comments:By: Kevin P. Fleming (kpfleming) 2005-09-02 15:31:43

Committed to CVS HEAD, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:47:02.000-0600

Repository: asterisk
Revision: 6512

U   trunk/res/res_osp.c

r6512 | kpfleming | 2008-01-15 15:47:02 -0600 (Tue, 15 Jan 2008) | 2 lines

ensure that OSP-provided call duration limit is honored (issue ASTERISK-4966)