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

F

fabrizioC

@fabrizioC
Unfollow Follow
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • mISDN support
    F fabrizioC
    Feedback

    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

  • 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