atlantia

Member

Last active 12 years ago

  1. 14 years ago
    Wed Jan 6 00:27:49 2010

    The original ringing extension was ringing on the first place, is not the pickup button that makes that extension to ring as it was ringing before, right? Maybe pickup stopped working for you, perhaps for the reason I mention (about the call pickup application change in behaviour where you can only pickup calls from the same dialplan context).

    If you use fop2 beta, that nuance is solved by using the PICKUPMARK variable to match the ringing extension disregarding the context

    Ok so I think I am stuck until I can use beta again without being prompted for the code.

    Can someone explain:

    If you use fop2 beta, that nuance is solved by using the PICKUPMARK variable to match the ringing extension disregarding the context

    That way once I can use beta again, I can fix the issue.

    Thanks!

  2. Wed Jan 6 00:25:23 2010
    atlantia started the conversation Call Pickup error - no target channel.

    I am working with fop regular now, (beta started force prompting me for a registration code today... bug?)

    when I try to perform a call pickup I get:

    [Jan  5 18:22:54] NOTICE[10311]: app_directed_pickup.c:159 pickup_exec: No target channel found for 191.
        -- Stopped music on hold on SIP/vitel-outbound-0407a0e0

    I see in another post this can be a context issue. I have all my extensions listed in "buttons.cfg" in the context "sip" which includes all other contexts in the system.

    If I call another internal extension it works fine.

  3. Sun Jan 3 22:18:47 2010
    atlantia posted in fop2 BETA - Parking lot enable.

    Another note, I am trying to trouble shoot this now.

    When transfering to the parkinglot asterisk says

    == Parked SIP/vitel-outbound-00a0ff40 on 701@parkedcalls. Will timeout back to extension [sip] 190, 1 in 45 seconds

    • - Added extension '701' priority 1 to parkedcalls
    • - Call Parking Called, lot: 701, timeout: 0, context: sip

    [Jan 3 17:18:16] WARNING[16316]: channel.c:3388 ast_request: No channel type registered for ''
    [Jan 3 17:18:16] NOTICE[16316]: channel.c:3220 __ast_request_and_dial: Unable to request channel /(null)
    [Jan 3 17:18:16] WARNING[16316]: app_parkandannounce.c:200 parkandannounce_exec: PARK: Unable to allocate announce channel.

    Going to try and troubleshoot this a bit today. It's not a huge deal, considering the interface provides the user with the parking lot number in another way when the transfer is done. I imagine based on the code provided Nicolas is trying to get asterisk to also announce the parking lot number.

    I'll let you know.

  4. Sun Jan 3 21:55:46 2010
    atlantia posted in fop2 BETA - Parking lot enable.

    Cheer!

    Adding:

    [PARK/default]
    extension=700
    context=parkedcalls
    type=park
    Label=Park 700

    to buttons.cfg

    based on the output of the command: ("700", which is the default vanilla asterisk install parking lot number)

    /usr/sbin/asterisk -rx "dialplan show parkedcalls" | grep "=>" | cut -d= -f1 | sed s/\'//g | sed 's/ //g'

    did the trick.

    Thanks for the extra eyes Thomas!

    Hope this helps others. I think that about wraps up my setup with fop2, now to test and implement it on other systems!

  5. Sun Jan 3 21:49:21 2010

    Moving the parking enable discussion to View Post 230 (if an admin wants to move the above posts (12 and 13) I can reformat the first thread post to be easier on the eyes.)

    FWIW I understand all this is beta. Nicolas did mention in an email that parking lots queue should show up in beta, but since it isn't I figured I'd troubleshoot on my end.

  6. Sun Jan 3 21:48:10 2010
    atlantia started the conversation fop2 BETA - Parking lot enable.

    From various conversations on the forum, and my own in another thread I am creating a new thread. If the admin wants to move the posts in

    View Post 225 (specifically posts 12 and 13)

    to here that would probably keep the forums clean.

    otherwise I'll recap below.

    Atlantia

    Also I am told the parking queue should be shown on the beta above the queues. If you notice in my screenshot http://i.imgur.com/YV58Y.png though, I am connected and sitting in parking lot 701, yet no activity is shown. I also lack the park button mentioned in another post.

    I have entered the code in my extensions.conf as suggested in the README.

    [fop2-park]
    exten => _X.,1,Set(ARRAY(RETURN_EXTENSION,RETURN_CONTEXT)=${CUT(EXTEN,:,1)}\,${CUT(EXTEN,:,2)})
    exten => _X.,n,ParkAndAnnounce(|||${RETURN_CONTEXT},${RETURN_EXTENSION},1)
    exten => _X.,n,Goto(${RETURN_CONTEXT},${RETURN_EXTENSION},1)
    exten => _X.,n,Hangup

    I assume there may be a parameter in fop2.cfg that enables this feature, but am not clear as to if I missed locating the updated docs in the beta, or more reasonably, they don't exist yet since it is beta. (I understand fully the nature of beta software, so all this is being addressed with a smile).

    Thanks

    Scott

    Thomas

    [code]#PARKSLOT=`/usr/sbin/asterisk -rx "dialplan show parkedcalls" | grep "=>" | cut -d= -f1 | sed s/\'//g | sed 's/ //g'`
    #if [ "X${PARKSLOT}" != "X" ]; then
    #echo
    #echo "[PARK/default]"
    #echo "extension=${PARKSLOT}"
    #echo "context=parkedcalls"
    #echo "type=park"
    #echo "Label=Park ${PARKSLOT}"
    #echo
    #fi[/code]

    The parking lot seems to be commented out in autoconfig-buttons-freepbx.sh for some reason, maybe its not ready yet.

    Atlantia

    Not using freepbx either so it wouldn't make much of a difference if it wasn't commented out (althought I see your point).
    I'll have to look at that script and see what it does, maybe it will clue me into what buttons.cfg wants.

    EDIT:

    based on that script you would end up with

    [PARK/default] ; I assume default is the context in which "parkedcalls" exists?
    extension=700
    context=parkedcalls
    type=park
    Label=Park 700

    from:

    [code]/usr/sbin/asterisk -rx "dialplan show parkedcalls" | grep "=>" | cut -d= -f1 | sed s/\'//g | sed 's/ //g'
    700[/code]

  7. Sun Jan 3 21:39:15 2010
    atlantia started the conversation Howto add additional line presence to each extension.

    This has been discussed before, but per a conversation with Nicolas I wanted to share an extra piece of information about having FOP2 show more than 2 lines

    basically:

    edit

    /var/www/html/fop2/js/presence.js :

    and change:

    var showLines = 2;

    to

    var showLines = 4; (Or any number you need)

    This works fine, but after line 3 the button on the panel is missing Line X inactive as there is no entry in the language file for it.

    edit:

    /var/www/html/fop2/js/lang_en.js

    and add (below: "lang['line_3_inactive'] = "Line 3 inactive";"

    lang['line_4_inactive']    = "Line 4 inactive";

    you can add as many lines this way as you need. Hope this is clear enough.

    KSM

    you will also have to edit

  8. Sun Jan 3 21:24:23 2010

    Not using freepbx either so it wouldn't make much of a difference if it wasn't commented out (althought I see your point).
    I'll have to look at that script and see what it does, maybe it will clue me into what buttons.cfg wants.

    EDIT:

    based on that script you would end up with

    [PARK/default] ; I assume default is the context in which "parkedcalls" exists?
    extension=700
    context=parkedcalls
    type=park
    Label=Park 700

    from:

    /usr/sbin/asterisk -rx "dialplan show parkedcalls" | grep "=>" | cut -d= -f1 | sed s/\'//g | sed 's/ //g'
    700
  9. Sat Jan 2 21:03:01 2010

    I wouldn't do that because all I did in that post was give it a condition that it could never match, just switch debugging off and report it as a bug to Nicolas.

    Will do. Should I start a new thread for the call parking issue?

  10. Sat Jan 2 19:09:40 2010

    That fixed it for the most part, with the exception of one remaining error:

    "notice
    /var/www/html/fop2/lib/dblib.php (line 233)

    mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource"

    I am going to use the fix posted by Thomas in a previous forum post

    View Post 143&p=545&hilit=supplied+argument+is+not+a+valid+MySQL+result+resource#p545

    But wanted to give a head's up.

View more