Posted: Fri Mar 14, 2008 5:24 pm Post subject: [Asterisk-video] patch for chan_misdn
Hi Klaus!
Thank you very much for the clarifications.
I haven't a zaptel card so I'm trying to make a patch for chan_misdn...
I obtained something good but there are some things I've not understood:
In a SIP->3G call:
- "who" set userinformationlayer1 ?
- which are the possible values of userinformationlayer1 ?
When entering zt_new() userinformationlayer1 = a certain pri_event for incoming calls
and userinformationlayer1=-1 for outgoing calls ??? Is it right?
I send you misdn-log without any patch (caps:Unknown Bearer), with a first change (caps:Unknown Bearer), and with other changes (caps:Unres Digital) => Asterisk understand the call is digital but the call fails for hungup.
Hi Klaus!
Thank you very much for the clarifications.
I haven't a zaptel card so I'm trying to make a patch for chan_misdn...
I obtained something good but there are some things I've not understood:
In a SIP->3G call:
- "who" set userinformationlayer1 ?
- which are the possible values of userinformationlayer1 ?
The patch I wrote works following:
1a. Extended Asterisk's channel structure (ast_chan) to store the
userinformationlayer1.
1b. Extended func_chan to read/write this value
1c. Extended app_dial to copy userinformationlayer1 from incoming
channel to outgoing channel.
2. Modify chan_zap and libpri to check if userinformationlayer1 is set
(-1 means that is is not specified = default value). If it is specified,
and transfercapability is VIDEO, is will set the values in libpri.
Thus, you could reuse 1a-1c, but in the second step you have to add this
modifications to chan_misdn.
The values for userinofrmationlayer 1 are defined in Q.931. Usually it
is a-law or µ-law. The value for H.223+H.245 (this is a 3G vide call) is 38.
regards
klaus
Quote:
When entering zt_new() userinformationlayer1 = a certain pri_event for incoming calls
and userinformationlayer1=-1 for outgoing calls ??? Is it right?
I send you misdn-log without any patch (caps:Unknown Bearer), with a first change (caps:Unknown Bearer), and with other changes (caps:Unres Digital) => Asterisk understand the call is digital but the call fails for hungup.
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum