Ticket #5915 (new Patches)

Opened 11 months ago

Last modified 11 months ago

Add ability to set a specific codec for and outbound route

Reported by: deniq Assigned to: p_lindheimer
Priority: major Milestone: 2.11
Component: Core Version: 2.10-branch
Keywords: SET OUTBOUND CODEC PER ROUTE Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

I needed this functionality, set _SIP_CODEC_OUTBOUND based on the OUTBOUND ROUTE. This was required for fax (ulaw) and voice (g729) call distinction. Using defaults and/or peer settings would create a transcoding path which is not acceptable in my situation.

I've seen request for this in the past (Ticket #5356).

This will require an altering of outbound_routes table as well.

ALTER TABLE outbound_routes ADD outcodec varchar(10);

Attachments

page.routing.php (42.2 kB) - added by deniq on 07/07/12 10:32:00.
adds "outbound codec" field to the outbound route page
functions.inc.php (397.6 kB) - added by deniq on 07/07/12 10:33:53.
adds proper processing for outcodec variable
outcodec-2.10.diff (7.4 kB) - added by deniq on 07/09/12 12:25:00.
proper patch including install

Change History

07/07/12 10:32:00 changed by deniq

  • attachment page.routing.php added.

adds "outbound codec" field to the outbound route page

07/07/12 10:33:53 changed by deniq

  • attachment functions.inc.php added.

adds proper processing for outcodec variable

(follow-up: ↓ 2 ) 07/07/12 16:53:31 changed by p_lindheimer

deniq,

please provide proper patch files for this request as well as a patch file for the install script to add the required fields you are suggesting, then we can have a closer look at this. Thanks!

(in reply to: ↑ 1 ) 07/09/12 11:36:52 changed by deniq

Replying to p_lindheimer:

deniq, please provide proper patch files for this request as well as a patch file for the install script to add the required fields you are suggesting, then we can have a closer look at this. Thanks!

Sure, I will.

07/09/12 12:25:00 changed by deniq

  • attachment outcodec-2.10.diff added.

proper patch including install