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. Support
  3. [SOLVED]DADHI extension

[SOLVED]DADHI extension

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 95 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.
  • H
    H
    henkoegema
    wrote on last edited by
    #1

    I have an extension 1202 defined in [default], which is connected to a Digium TDM400P (DAHDI/1-1)

    exten => 1202,1,NoOp(${CALLERID(all)})
    exten => 1202,n,Dial(DAHDI/1,20,rtT)
    exten => 1202,n,Macro(voicemail,${EXTEN})
    exten => 1202,n,Hangup()
    

    In buttons.conf I have configured it as:

    [DAHDI/1]
    type=extension
    label=Tobie <1202>
    channel=1
    

    When I want to dial that extension (via FOP2) it can't find it.
    Asterisk executes: "s@default"

          > Channel SIP/1001-00000003 was answered.
      == Starting SIP/1001-00000003 at default,trunk,1 failed so falling back to exten 's'
        -- Executing [s@default:1] NoOp("SIP/1001-00000003", "Time=18.12") in new stack
        -- Executing [s@default:2] NoOp("SIP/1001-00000003", "Callerid name=Henk Nokia") in new stack
        -- Executing [s@default:3] NoOp("SIP/1001-00000003", "Callerid number=1001") in new stack
        ..........
        ..........
    

    But I don't have an exten 's' in default.

    I have an exten 's' in a context [i], which is included in context [default]
    So this is what is executed:

    [incoming]
    exten => s,1,NoOp(Time=${STRFTIME(${EPOCH},,%H)}.${STRFTIME(${EPOCH},,%M)})
    exten => s,n,NoOp(Callerid name=${CALLERID(name)})
    exten => s,n,NoOp(Callerid number=${CALLERID(num)})
    

    What am I doing wrong? Is it the definition in buttons.conf ? Or something else?

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

      Your button definition lacks the extension and context. It should be something like:

      [DAHDI/1]
      type=extension
      label=Tobie <1202>
      extension=1202
      context=default
      
      1 Reply Last reply
      0
      • H
        H
        henkoegema
        wrote on last edited by
        #3

        Thanks very much for your answer.
        This is ok now. 😄

        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