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. Problem with button.conf

Problem with button.conf

Scheduled Pinned Locked Moved Support
25 Posts 2 Posters 91 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.
  • N
    N
    nicolas
    wrote on last edited by
    #2

    Do a "show queues" in asterisk and post your results... be sure to name the queue exactly as in asterisk...

    1 Reply Last reply
    0
    • H
      H
      hugovd
      wrote on last edited by
      #3

      I think it will be easier than you my configuration file.

      [general]
      SetLanguage=fr
      static=yes
      writeprotect=no

      [globals]
      DYNAMIC_FEATURES=automon
      MONITOR_EXEC=/etc/rc.fw/bin/soxmix.sh

      ; Postes divers
      ;TEST_ECHO=600

      ;------------------------------------------------------------------------------------------------------------
      ; Debut zone generation automatique

      ;
      ; Variables globales
      ;
      FIC_SON=son_utilisateurs_
      DEFAUT_MUSIQUE=dir_452

      ;
      ; Modifications par A.F 05/06/2008
      ;
      SWITCH_TIMEOUT=60
      GW_AGENT_DIST=
      PREFIXE_SITE=
      DOLLAR=$
      CROCHET_OUVERT={
      CROCHET_FERME=}
      EXTER1=EXTERIEUR_
      EXTER2=EXTERIEUR2_
      DIR_FAX_RX=/data1/fax/fax_recus/
      DIR_FAX_TX=/data1/fax/fax_emis/
      DIR_FAX_SPOOL=/data1/fax/spool/

      ;
      ; Postes reserves
      ;
      CONSULT_MESS_GENERAL=300
      CONSULT_MESS_PERSO=301
      PARKING=600

      ;
      ; Pour appels vers exterieur
      ;
      PREFIXE=0 ; prefixe pour sortir
      LG_PREFIXE=1 ; lg prefixe pour sortir

      ;
      ; Nombre max de poste par groupe pour DIAL
      ;
      MAX_GROUPE_DIAL=10

      ;
      ; Postes reserves conferences
      ;
      EXTEN_CONF_UTILISATION=10000
      EXTEN_CONF_CREATION=10001

      ;
      ; Groupes
      ;
      ; Groupe : 1 (All (562))
      G_1=sip/214&sip/216&sip/218&sip/219&sip/222&sip/223&sip/224&sip/225&sip/226&sip/228
      ; Groupe : 2501 (Douvaine (558))
      G_2501=sip/254&sip/255&sip/253&sip/252&sip/250&sip/251
      ; Groupe : 2511 (Risques Ind (555))
      G_2511=sip/219&sip/214&sip/217
      ; Groupe : 2513 (Construction (557))
      G_2513=sip/225&sip/245&sip/226&sip/218
      ; Groupe : 2517 (Collectives (566))
      G_2517=sip/216&sip/211
      ; Groupe : 2518 (Particulier (588))
      G_2518=sip/228&sip/234
      ; Groupe : 2519 (Accueil (561))
      G_2519=sip/211&sip/214&sip/216&sip/218&sip/219&sip/222&sip/223&sip/224&sip/225&sip/226
      ; Groupe : 2520 (Telepro (589))
      G_2520=sip/223&sip/224&sip/233
      ; Groupe : 2521 (Professionnel (563))
      G_2521=sip/236&sip/229&sip/222
      ; Groupe : 2522 (Portier (59))
      G_2522=sip/236&sip/228&sip/222
      ; Groupe : 2523 (500)
      G_2523=sip/211&sip/212&sip/214&sip/215&sip/216&sip/218&sip/219&sip/220&sip/222&sip/223
      ; Groupe : 2524 (Boege (590))
      G_2524=sip/256&sip/257
      ; Groupe : 2525 (Viuz (591))
      G_2525=sip/258&sip/259
      ; Groupe : 2526 (test clic dev 565)
      G_2526=sip/232
      ; Groupe : 2527 (TEST 567)
      G_2527=sip/226
      ; Groupe : 2528 (Informatique (559))
      G_2528=sip/232&sip/246
      ; Groupe : 2529 (St Jullien (592))
      G_2529=sip/263&sip/262&sip/261&sip/260
      ; Groupe : 2530 (Cruseilles (593))
      G_2530=sip/268&sip/269
      ; Groupe : 2531 (Reignier (593))
      G_2531=sip/267&sip/265&sip/266

      ;
      ; Conferences
      ;
      CONF_test=test

      where can I find information on the queue ?

      1 Reply Last reply
      0
      • H
        H
        hugovd
        wrote on last edited by
        #4

        i think I confused group and queue. But for conference it doesn't work ? an idea

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

          I have no idea about what you posted here... For any kind of button, the name on the button should match exactly the one in Asterisk. How is your conference named in Asterisk? How does your button.cfg entry for that conference looks like?

          1 Reply Last reply
          0
          • H
            H
            hugovd
            wrote on last edited by
            #6

            my setup is good. I see the conference but I do not see the extension that are in there is my problem

            1 Reply Last reply
            0
            • H
              H
              hugovd
              wrote on last edited by
              #7

              My extension.conf asterisk
              Contexte conferences
              ;
              [ctx_conferences]
              exten => ${CONF_test},1,SetMusicOnHold(453)
              exten => ${CONF_test},2,Meetme(${EXTEN},M)

              ;
              ; Gestion conferences dynamiques
              ;
              ; Acces a la conference:
              exten => 10000,1,Meetme(,xqs)
              ; Creation conference:
              exten => 10001,1,Meetme(,AsD)

              My button.conf on fop2

              [CONFERENCE/TEST]
              type=conference
              label=TEST
              server=1
              extension=10000
              context=from-internal

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

                You have to define a static conference in asterisk's meetme.conf or match the number for the dynamic conference. For example, in meetme.conf

                conf => 5000

                And the button configuration in fop2:

                [CONFERENCE/5000]
                type=conference

                You are not posting your meetme.conf but from your dialplan I asume you use dynamic conferences... in that case do a meetme list when the conference is created, and if the conference name is the number you enter at login, the use a fop2 button with that number : [CONFERENCE/1000] and not [CONFERENCE/test]

                best regards,

                1 Reply Last reply
                0
                • H
                  H
                  hugovd
                  wrote on last edited by
                  #9

                  ok this is my meetme.conf
                  [rooms]
                  conf => 1000,1234,4567

                  but when I configure button.con nothing happens

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

                    You posted this:

                    [CONFERENCE/test]

                    And your queues.conf shows this:

                    conf => 1000,1234,4567

                    So, you are asking fop2 to monitor a queue named "test" while you have a conference with name "1000" created. It won't work, change the button.conf to use CONFERENCE/1000 , then login to that conference and it will work as expected.

                    Best regards,

                    1 Reply Last reply
                    0
                    • H
                      H
                      hugovd
                      wrote on last edited by
                      #11

                      I do not understand can explain everything step by step what I should do about asterisk and fop2 pleaz ?
                      I want to know is that I must have in my asterisk setup and fop2.

                      Thank you in advance

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

                        ok...

                        in asterisk configuration you have defined the conference "1000"

                        in fop2 you defined the conference "test"

                        test <> 1000

                        you are monitoring a confernece with an incorrect name... so in the button configuration in fop2, change

                        [CONFERENCE/test]

                        to

                        [CONFERENCE/1000]

                        All of this supposing you are doing a manual configuration and not using the automatic freepbx config.

                        Best regards,

                        1 Reply Last reply
                        0
                        • H
                          H
                          hugovd
                          wrote on last edited by
                          #13

                          So all is configure but it doesn't work i don't understand why ?

                          I have this in extension.conf ---> ; Conferences
                          ;
                          CONF_1000=1000

                          But i have nothing about conference in queues.conf
                          And this is my meetme.conf --->; Fichier de configuration pour les conferences
                          ;
                          ;
                          [rooms]
                          conf => 1000

                          And my button.conf ---> CONF_1000/1000
                          type=conference
                          label=TEST

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

                            You conference name/number is 1000, not conf_1000. Your buttons conf should display

                            [CONFERENCE/1000]
                            type=conference
                            label=conference
                            blah..
                            blah..

                            1 Reply Last reply
                            0
                            • H
                              H
                              hugovd
                              wrote on last edited by
                              #15

                              I configured like this but it doesn't work. I see that there is someone in conference but i don't see who.

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

                                start fop2_server with debug level 3 and login to the conference, and look for the meetmejoin event.. then post that event here.

                                service fop2 stop
                                /usr/local/fop2/fop2_server -X 3
                                
                                1 Reply Last reply
                                0
                                • H
                                  H
                                  hugovd
                                  wrote on last edited by
                                  #17

                                  192.168.10.9 -> Action: Command
                                  192.168.10.9 -> Command: meetme list 1000 concise
                                  192.168.10.9 -> ActionID: meetme_1000

                                  192.168.10.9 <- Response: Follows
                                  192.168.10.9 <- Privilege: Command
                                  192.168.10.9 <- ActionID: meetme_1000
                                  192.168.10.9 <- User #: 01 246 Clement Hugo Channel: SIP/246-b5660c58 (unmonitored)
                                  192.168.10.9 <- 1 users in that conference.
                                  192.168.10.9 <- --END COMMAND--
                                  192.168.10.9 <- Server: 0

                                  192.168.10.9 -> Action: UserEvent
                                  192.168.10.9 -> UserEvent: MEETME-REFRESH
                                  192.168.10.9 -> Meetme:

                                  192.168.10.9 <- Response: Error
                                  192.168.10.9 <- Message: Invalid/unknown command
                                  192.168.10.9 <- Server: 0

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

                                    I do not see the meetmejoin in those events you paste... but I see the conference 1000... so you should be able to see the conference button and the user logeed unless you have the free version limited to 15 buttons and the conference button is beyond the 15 limit.

                                    Best regards,

                                    1 Reply Last reply
                                    0
                                    • H
                                      H
                                      hugovd
                                      wrote on last edited by
                                      #19

                                      This can help you.

                                      192.168.10.9 <- Event: MeetmeJoin
                                      192.168.10.9 <- Privilege: call,all
                                      192.168.10.9 <- Channel: SIP/246-b787d6d0
                                      192.168.10.9 <- Uniqueid: 1263385420.6765
                                      192.168.10.9 <- Meetme: 1000
                                      192.168.10.9 <- Usernum: 1
                                      192.168.10.9 <- Server: 0

                                      192.168.10.9 -> Action: Command
                                      192.168.10.9 -> Command: meetme list 1000 concise
                                      192.168.10.9 -> ActionID: meetme_1000

                                      192.168.10.9 <- Response: Follows
                                      192.168.10.9 <- Privilege: Command
                                      192.168.10.9 <- ActionID: meetme_1000
                                      192.168.10.9 <- User #: 01 246 Clement Hugo Channel: SIP/246-b787d6d0 (unmonitored)
                                      192.168.10.9 <- 1 users in that conference.
                                      192.168.10.9 <- --END COMMAND--
                                      192.168.10.9 <- Server: 0

                                      192.168.10.9 -> Action: UserEvent
                                      192.168.10.9 -> UserEvent: MEETME-REFRESH
                                      192.168.10.9 -> Meetme:

                                      192.168.10.9 <- Response: Error
                                      192.168.10.9 <- Message: Invalid/unknown command
                                      192.168.10.9 <- Server: 0

                                      Response: Error
                                      Message: Invalid/unknown command
                                      Server: 0

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

                                        A button [CONFERENCE/1000] will work.

                                        1 Reply Last reply
                                        0
                                        • H
                                          H
                                          hugovd
                                          wrote on last edited by
                                          #21

                                          yes but nothing appears . I do not see the extensions when I click on the button

                                          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