moses

Member

Last active 6 years ago

  1. 7 years ago
    Wed Feb 15 19:44:36 2017

    Dear FOP2,

    I try to debug fop2 and i see error like this below,

    Argument "FULLWALLBOARD" isn't numeric in numeric gt (>) at script/fop2_server.pl line 13841.

    I already have license fullwallboard.

    What is the problem with that error?

    Thanks

  2. Wed Feb 15 19:21:38 2017
    moses started the conversation Add Section button on "Full Wallboard".

    Hi Nicolas,

    What's function button "add section" on page plugin "Full Wallboard"?

    Thanks

  3. Wed Feb 15 19:20:15 2017

    Hi Nicolas,

    How to set specific user "Automatically Login" to certain Queue

    Example :

    I have user 4001,4002,4003 dan i have queue A,B,C

    User 4001 if login from fop2 automatic add to queue A
    User 4002 if login from fop2 automatic add to queue B & C
    User 4003 if login from fop2 automatic add to queue A & C

    Thanks

  4. Mon Nov 21 23:01:32 2016
    moses started the conversation API TO FOP2 admin.

    Dear FOP2 Team,

    Do you have script/APIto add group,template, assign user to group, set permision etc.

    Thanks

  5. Mon Nov 21 22:59:41 2016
    moses started the conversation execute UserEvent via curl.

    Dear FOP2 Team,

    Do you have idea to execute UserEvent via CURL?

    I want to run this script from curl

    $user_event_body = "\"UserDeviceRemoved,Data: {$user}\\\\,{$devices}\"";
    $agi->exec("UserEvent", $user_event_body);

    example :

    http://IP/userevent.php?param=deviceremove&user=2000&devices=100

    Thanks

  6. Mon Nov 21 22:50:03 2016

    Dear FOP2 Team,

    I try to explore userdevice mode on asterisk plain.

    USER : 2000
    DEVICE : 100

    Here is my config on fop2.cfg

    user=2000:2000:dial::configonreload
    buttonfile=buttons.cfg

    ----------------------

    buttons.cfg

    [USER/2000]
    type=extension
    extension=2000
    label=2000
    context=from-internal
    autoanswerheader=__SIPADDHEADER51=Call-Info=answer-after=0.001

    After i restart fop2 and then login from http://ip/fop2 , user : 2000, password : 2000, it show green color (see pic on attachment fop2_box_green.png), in normal state (using freepbx), before not success login from xlite/softphone by press *11 it should be "GRAY" color

    Here is i my config (asterisk)

    sip.conf

    [general]
    #include sip_general_additional.conf
    [authentication]

    [100]
    deny=0.0.0.0/0.0.0.0
    secret=100@password
    dtmfmode=rfc2833
    canreinvite=no
    context=from-internal
    host=dynamic
    trustrpid=yes
    sendrpid=no
    type=friend
    nat=no
    port=5060
    qualify=yes
    qualifyfreq=60
    transport=udp
    avpf=no
    icesupport=no
    encryption=no
    callgroup=
    pickupgroup=
    dial=SIP/100
    mailbox=100@device
    permit=0.0.0.0/0.0.0.0
    callerid=100 <100>
    callcounter=yes
    faxdetect=no
    cc_monitor_policy=generic

    ---

    extensions.conf

    [general]
    static = yes
    writeprotect = no
    autofallthrough = yes
    clearglobalvars = no

    [globals]

    [from-internal]
    exten => 2000,hint,SIP/100

    ------
    asterisk -rx "database show"

    /AMPUSER/2000/device : 100
    /AMPUSER/2000/password : 2000
    /DEVICE/100/dial : SIP/100
    /DEVICE/100/type : adhoc
    /DEVICE/100/user : 2000
    /SIP/Registry/100 : 27.111.XX.XX:36698:300:100:sip:100@27.111.XX.XX:36698;rinstance=55805cdce59f495c

    [root@cls asterisk]# asterisk -rx "core show hints"

    -= Registered Asterisk Dial Plan Hints =-
    2000@from-internal : SIP/100 State:Idle Watchers 0

    • ---------------
    • 1 hints registered

    Pls help me to solve this issue so i can using userdevice mode on asterisk plain.

    Thanks

  7. Thu Nov 17 18:25:44 2016

    Hi FOP2,

    Today i know how astdb working on userdevice mode, i can see script agi user_login_out and i think we can change the script using shell script and execute the script on dialplan asterisk

    Here is the small script example :

    LOGIN
    asterisk -rx "database put DEVICE/${DEVICE} user ${USER}"
    asterisk -rx "database put AMPUSER/${USER} device ${DEVICE}"
    asterisk -rx "dialplan add extension ${USER},hint,SIP/${DEVICE} into ext-local"
    exten => s,n,UserEvent(UserDeviceAdded,Action: UserEvent,Data: ${USER}\,${DEVICE}\)

    LOGOUT
    asterisk -rx "database del AMPUSER ${USER}/device"
    asterisk -rx "database put DEVICE/${DEVICE} user none"
    asterisk -rx "dialplan remove extension ${USER}@ext-local hint"
    exten => s,n,UserEvent(UserDeviceRemoved,Action: UserEvent,Data: ${USER}\,${DEVICE}\)

    And variable "database show" we can set on asterisk using CLI database put/del etc

    /AMPUSER/${USER}/device : 4001
    /DEVICE/${DEVICE}/user : 100

    etc....

    My Question are :

    What should i do on fop2 configuration to support userdevice mode on asterisk plain?

    I only need fop2 monitoring GREEN color if i run command Login, GREY if run script LOGOUT and RED if i call out from device.

    Thanks

  8. Thu Nov 17 18:04:57 2016
    moses posted in FOP2 MONITORING ERROR *11.

    Hi Fop2,

    Thanks your response

    My fop2 version : FOP2 Server Status: OK - Version: 2.29.03

    Asterisk 11.6.0

    It happened once, randomly

    Thanks

  9. 8 years ago
    Tue Nov 15 11:50:01 2016
    moses started the conversation FOP2 MONITORING ERROR *11.

    Dear FOP Team,

    Now our customer using freepbx userdevice mode, but sometime there is issue on fop2 monitoring

    I put on attachment screenshoot

    On the pic we can see user : 2206 error *11 and duration (05:09:11)

    In normal state if login *11 it should be like "2199"

    If i check user 2206 via command line :

    [root@fop2server ~]# asterisk -rx "core show hints" | grep 2206

    [root@fop2server ~]# asterisk -rx "database show" | grep "2206"
    /AMPUSER/2206/answermode : disabled
    /AMPUSER/2206/ccss/cc_agent_policy : generic
    /AMPUSER/2206/ccss/cc_offer_timer : 30
    /AMPUSER/2206/cfringtimer : 0
    /AMPUSER/2206/cidname : 2206
    /AMPUSER/2206/cidnum : 2206
    /AMPUSER/2206/concurrency_limit : 0
    /AMPUSER/2206/language :
    /AMPUSER/2206/noanswer :
    /AMPUSER/2206/outboundcid :
    /AMPUSER/2206/password : 2206
    /AMPUSER/2206/queues/qnostate : usestate
    /AMPUSER/2206/recording :
    /AMPUSER/2206/recording/in/external : dontcare
    /AMPUSER/2206/recording/in/internal : dontcare
    /AMPUSER/2206/recording/ondemand : disabled
    /AMPUSER/2206/recording/out/external : dontcare
    /AMPUSER/2206/recording/out/internal : dontcare
    /AMPUSER/2206/recording/priority : 10
    /AMPUSER/2206/ringtimer : 0
    /AMPUSER/2206/voicemail : novm
    /CALLTRACE/2206 : 2051
    /CW/2206 : ENABLED

    We can't find mapping device (/AMPUSER/2206/device) , user (/DEVICE/XXX/user) and core show hints

    In normal state (User 2199) we can file user, device and core show hints

    [root@fop2server ~]# asterisk -rx "database show" | grep "2199"
    /AMPUSER/2083/ccss/last_number : 2199
    /AMPUSER/2137/ccss/last_number : 2199
    /AMPUSER/2199/answermode : disabled
    /AMPUSER/2199/ccss/cc_agent_policy : generic
    /AMPUSER/2199/ccss/cc_offer_timer : 30
    /AMPUSER/2199/ccss/last_number : 2199
    /AMPUSER/2199/cfringtimer : 0
    /AMPUSER/2199/cidname : 2199
    /AMPUSER/2199/cidnum : 2199
    /AMPUSER/2199/concurrency_limit : 0
    /AMPUSER/2199/device : 185
    /AMPUSER/2199/language :
    /AMPUSER/2199/noanswer :
    /AMPUSER/2199/outboundcid :
    /AMPUSER/2199/password : 2199
    /AMPUSER/2199/queues/qnostate : usestate
    /AMPUSER/2199/recording :
    /AMPUSER/2199/recording/in/external : dontcare
    /AMPUSER/2199/recording/in/internal : dontcare
    /AMPUSER/2199/recording/ondemand : disabled
    /AMPUSER/2199/recording/out/external : dontcare
    /AMPUSER/2199/recording/out/internal : dontcare
    /AMPUSER/2199/recording/priority : 10
    /AMPUSER/2199/ringtimer : 0
    /AMPUSER/2199/voicemail : novm
    /CALLTRACE/2199 : 2199
    /CW/2199 : ENABLED
    /DEVICE/185/user : 2199

    [root@fop2server ~]# asterisk -rx "core show hints" | grep 2199
    2199@ext-local : SIP/185 State:Idle Watchers 0

    My fop2 version : FOP2 Server Status: OK - Version: 2.29.03

    Can you help me to solve this issue?

    Thanks

    Thanks

  10. Fri Aug 19 03:25:50 2016
    moses started the conversation Plugin Monitoring Trunk.

    Hi Nicolas,

    I have new request for your team to make plugin monitoring trunk, maybe your team to modify plugins existing and make it full screen (like fullwalboard or simple walboard)

    If we see monitoring trunk, i see only "SIP channel" and count line on trunk

    It would be nice if you can do like this :

    SIP/Channel Destionation_Number State(Dialing/Ringing/Connected) Duration

    For me it does not matter whether this plugin should be bought or not. If there is this plugin , I first bought it

    Thanks

View more