Skip to content

Commit

Permalink
patch to accept sip client codec from some eyeball release.
Browse files Browse the repository at this point in the history
fixes issue #41, resolve ticket #41 and see #41 in the tracker
  • Loading branch information
mwolff44 committed Dec 17, 2014
1 parent 2f1d342 commit 4534312
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 2 deletions.
9 changes: 9 additions & 0 deletions doc/source/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,15 @@ Bug corrections
* N/A


Version 1.4.6
=============

Bug correction
------------

* Resolve a codec error when using Eyebeam as sip client.


Version 1.4.5
=============

Expand Down
1 change: 1 addition & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Table of contents
license
features
installation
migration
developer

Support
Expand Down
41 changes: 41 additions & 0 deletions doc/source/migration.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Migration
*********

Table of contents
=================

* Introduction
* Prerequisites
* From 1.4.5 to 1.4.6

Introduction
============

You will find migration guide from stable version to another one. Please follow carefully each step.

Prerequisites
=============

Before following the migration guide, you must be located in :

::

cd /usr/local/venv/pyfreebilling directory.

Also, you virtual venv must be activated :

::

source /usr/local/venv/bin/activate

From 1.4.5 to 1.4.6
===================

Just enter these commands :

::

git pull


And restart FreeSwitch.
2 changes: 1 addition & 1 deletion freeswitch/scripts/pyfreebilling_dp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function codec_test(type)
log("codecs_customer: ", channel["customer_codecs"], "info")
log("codec value test: ", value, "debug")
if string.find(channel["customer_codecs"], string.format("%s", value)) then
if string.find(channel["ep_codec_string"], string.format("%s", value)) then
if string.find(string.upper(channel["ep_codec_string"]), string.format("%s", value)) then
log("codec leg A match with customer codec: ", value, "info")
codec_status = "OK"
log("codec status: ", codec_status, "info")
Expand Down
2 changes: 1 addition & 1 deletion pyfreebilling/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from django.utils.version import get_git_changeset


VERSION = (1, 4, 4, 'final', 0)
VERSION = (1, 4, 6, 'final', 0)


def get_version(version=None):
Expand Down

0 comments on commit 4534312

Please sign in to comment.