[Freeswitch-users] freeswitch and mISDN

Stefan Knoblich stkn at freeswitch.org
Sat Jun 9 04:29:54 MSD 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/08/12 01:49, Tamer Higazi wrote:
> How do I configure mISDN in freetdm, and what are the channel drivers, with it's dial-plan respectively.


The initial commit of ftmod_misdn contains the freetdm.conf/mISDN-specific setup instructions:

   http://git.freeswitch.org/git/freeswitch/commit/?id=09a61f5025b1c7dee05259db0e169f39a565b62d

   (Complete history of the module: http://git.freeswitch.org/git/freeswitch/log/libs/freetdm/src/ftmod/ftmod_misdn/ftmod_misdn.c )

This covers only the I/O part (ftmod_misdn, like ftmod_zap or ftmod_wanpipe, is an I/O module),
for the signalling part you'll have to (build, install and) configure ftmod_libpri in freetdm.conf.xml:

   http://stkn.techmage.de/archives/191

is (very) a short summary (ignore the dahdi/zaptel specific configuration parts).


ftmod_libpri span parameters:

      context  -  FreeSWITCH dialplan context to send incoming calls to

      dialplan -  FreeSWITCH dialplan (e.g. "XML")


      mode    -  "user" or "net", the latter being unsupported with ftmod_misdn,
                 due to restrictions caused by the way FreeTDM handles configuration of I/O modules.

      dialect -  Q.931 protocol dialect used for signalling: "euroisdn"(/"q931"),
                 (other possible values: "ni1", "ni2", "dms100", "5ess", "4ess", "gr303eoc", "gr303tmc")

      opts    -  Comma separated list of flags:

                     "suggest_channel"         : Not sure what this one does, ignore this one.

                     "omit_display"            : Disables sending callerid name, some switches don't like this.

                     "omit_redirecting_number" : The same for REDIRECTING NUMBER information elements.

                     "aoc"                     : Enables some Advice of Charge bits in ftmod_libpri, supposed to
                                                 handle incoming AOC messages and output some details at NOTICE loglevel
                                                 (experimental).

      ton     -  Default Type-of-Number for outgoing calls: "international", "national", "local", "private", "unknown" (default).
                 Better not touch this unless you really have to.

      layer1  -  B-Channel Layer1 protocol, "alaw" or "ulaw"   NOTE: ftmod_libpri will auto-select the right one
                 based on the the chosen dialect (a-law for EuroISDN/Q.931, u-law for everything else).

      overlapdial - "yes" (or "both"), "receive", "send", "no"

      debug   -  Comma separated list of debug flags for libpri:

                     "q921_state" + "q921_dump" + "q921_raw"     = "q921_all" : Enables Q.921 logging (State changes, decoded messages, raw messages)
                     "q931_state" + "q931_dump" + "q931_anomaly" = "q931_all" : Enables Q.931 logging (State changes, decoded messages, message anomalies)

                     "aoc"    : AOC debug messages
                     "apdu"   : Q.932 / ROSE debug messages(?)
                     "config" : libpri configuration debug messages

                     "all"  : Enable all of the above
                     "none" : Disables all


      service_message_support   - Enables support for maintenance / restart / service messages  (not EuroISDN/Q,931)


      And there are a couple of new features (MSN filter, Numer prefix/ToN autoselection) for ftmod_libpri sitting in my post-1.2.0 queue.


Dialplan:  Incoming calls should be sent to their own ISDN-specific dialplan context, makes handling them easier
           (like the public dialplan for the external SIP profile).


I'll stop here now, it's past 2 AM and i can't concentrate anymore.

stkn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/SmQIACgkQjiIIAK4rYUqyDgCdH7z/seP2TZsdLJCyZLcJeHTm
huAAnA9MCcD+GW/E6FLNC9ERgybIrgmV
=/oWs
-----END PGP SIGNATURE-----



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list