Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Feedback
  3. mISDN support

mISDN support

Scheduled Pinned Locked Moved Feedback
2 Posts 2 Posters 62 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F
    F
    fabrizioC
    wrote on last edited by
    #1

    I tried adding the mISDN support beams, but only displays incoming calls. Outgoing calls are not displayed. you can add to suppoto mISDN?
    Thank you.

    ------ page.fop2buttons.php

    } else if($key=="trunks" and (eregi("dahdi",$datarray['privacy']) or eregi("zap",$datarray['privacy']))) {
    echo "<td colspan=2>";
    echo ("Zap/Dahdi Channels (Eg: 1-24)");
    echo "</td><td><input type=text name='email
    ".$datarray['devid']."' value='".$datarray['email']."'></td>";
    echo "<td colspan=1> </td><td> </td>";

        } else if($key=="trunks" and (eregi("mISDN",$datarray['privacy']) or eregi("misdn",$datarray['privacy']))) {
                echo "<td colspan=2>";
                echo _("mISDN Channels (Eg: 1-24)");
                echo "</td><td><input type=text name='email_".$datarray['devid']."' value='".$datarray['email']."'></td>";
                echo "<td colspan=1>&nbsp;</td><td>&nbsp;</td>";
    
    
            } else {
    

    ------ autoconfig-buttons-freepbx.sh

    echo $LINEA | sed 's/^channel=(.*)/\n[\1]/g'
    chantype=echo $LINEA | grep "^channel=" | sed 's/channel=/ /g' | sed 's/\// /g' | awk '{print $1}'
    if [ "${chantype}foo" != "foo" ]; then
    CHAN=$chantype
    fi
    echo $LINEA | grep -qi "^email=splitme"
    if [ $? = 0 ]; then
    RANGE=echo $LINEA | sed 's/^email=splitme-//g' | sed 's/-/ /g'
    for ZAPNUM in seq $RANGE
    do
    echo "channel=$CHAN/$ZAPNUM"
    if [ "${CHAN}" == "ZAP" ]; then
    echo "channel=DAHDI/$ZAPNUM"
    fi
    done
    fi

    ------ This is the result:

    [ZAP/g0]
    type=trunk
    label=DAHDI/g0
    queuecontext=from-queue
    extenvoicemail=*
    email=splitme-1
    channel=ZAP/1
    channel=DAHDI/1

    [mISDN/g:isdn1/$OUTNUM$/:s:e128]
    type=trunk
    label=mISDN/1
    queuecontext=from-queue
    extenvoicemail=*
    email=splitme-1
    channel=mISDN/1

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      As long as you can put the channel name for misdn outbound calls (removing the session from the end), fop2 will work. mIsdn channel naming is not consistent, so its up to the user to make it work. Look at this:

      channel=mISDN/1

      That will match channels named miSDN/1-XXXX

      do a "core show channels" in asterisk to see what is the name of a channel when you make an outbound call. Remove the session -XXXXX and add that as an additional channel line in the trunk definition.

      Best regards,

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups