Commit Graph

21 Commits

Author SHA1 Message Date
Harald Welte 455b4785b9 fix isup_party_nat00_internationalize() for empty number
Avoid running into an exception in case the calling party is an empty
number "[]" (I guess call screening is applied).
2013-04-24 12:33:53 +05:30
Harald Welte 5d4b3523c7 mgw_nat: fix typo in printing ISUP mangling errors 2013-04-24 11:17:06 +05:30
Harald Welte 0be74df53e mgw_nat: Update to new xua_codec based m2ua parser 2013-01-26 16:41:59 +01:00
Harald Welte 0b452a8eb9 Add Erlang Public License compatibility notice 2012-04-16 13:18:04 +02:00
Harald Welte 80743f8bab mgw_nat: As of 2012-02-14, MSC -> STP direction uses international format
We used to convert from inetrnational format into national format on the
MSC->STP direction of ISUP messages.  This is no longer the case, we now
need to send exclusively international format.
2012-02-14 21:19:49 +01:00
Harald Welte 432ea566ff mgw_nat: add some more comments to the code 2012-02-14 09:49:51 +01:00
Harald Welte a53a63a8da mgw_nat: explicitly state application name in get/set_env()
This makes sure that even if some function is called from a different
context, it still will use the correct configuration data.
2012-02-13 22:10:33 +01:00
Harald Welte 71b158fca6 mgw_nat: Fix bug where we skipped the SCCP static mangling before masq 2011-05-23 12:39:36 +02:00
Harald Welte fc13de88e9 make mgw_nat much more quiet during operation 2011-04-14 17:49:55 +02:00
Harald Welte 89f8031494 explicitly try/catch ISUP errors and log all related data 2011-03-27 23:54:45 +02:00
Harald Welte 8b79ebea5a MGW NAT: add option to 'internationalize' a national number that's prefixed with 00 2011-03-10 10:41:07 +01:00
Harald Welte 5df8338d70 Make MGW nat more flexible by introdicng actors an function references
Instead of a static configuration of rewrite/mangling/patching steps,
we now introduce the concept of a 'rewrite_actor', which is a callback
function that determines which rewrite/patching code to call at which
particular layer of the protocol.

The default rewrite actor "bow_onw" resembles the existing rewrite
behavior.

There is a stub new rewrite actore "vfuk_onw", which will be used
for Camel phase rewriting.
2011-03-08 15:17:32 +01:00
Harald Welte e85802ea39 MGW NAT: Propagate 'path' of preceding message headers down to mangling code 2011-03-08 12:08:18 +01:00
Holger Hans Peter Freyther 44635c74f9 Add hack/workaround.. do not re-encode if nothing was changed
This is a work-around/hack for something I don't understand
about the erlang code. It is an issue with me... this commit
should be reverted once we have a proper fix for this.
2011-02-22 16:09:33 +01:00
Harald Welte 1c7c2b0d5d MAP MASQ: Handle the 'From' information into MAP MASQ
this way we know about the direction of the message
2011-02-10 18:32:27 +01:00
Harald Welte 5889e65e08 MGW NAT: Fix treatment of digit lists / int in ISUP prefix replace 2011-02-10 18:29:28 +01:00
Harald Welte df81bdd32c MAP MASQ: Implement patching of MSRN in SRI Resp 2011-02-10 17:21:26 +01:00
Harald Welte 7d999517c6 SCCP rewrite: make sure we don't mix integers with list of digits 2011-02-10 13:25:51 +01:00
Harald Welte 7f789ed1e3 consistently use lists for phone numbers again 2011-02-09 22:25:35 +01:00
Harald Welte 889efcf67d update include path to refer to library paths 2011-02-07 22:34:37 +01:00
Harald Welte 20ad1ba0c5 import MGW NAT application code into new repository.
All of the code originates from the old omso-er-sccp.git repo.
2011-02-07 20:50:39 +01:00