Help - a question about custom extension

Discussion in 'General' started by haamed, Feb 15, 2009.

  1. haamed

    Joined:
    Jul 23, 2007
    Messages:
    251
    Likes Received:
    0
    Hello guys,:(
    this is my scenario,
    i have a custom agi in extension_custom like this:

    [java-agi]
    exten = > 8001,1,Answer
    exten = > 8001,2,AGI(agi://localhost/java.agi)
    exten = > 8001,3,Hangup

    Now all the callers can dial 8001 with out limitation,
    I want 8001 behaviors like a extension, when some body dial 8001, the second person doesn't allow to connect and system says the number is busy,

    for example i want put this number(8001) in Queue but whene i do it, all the callers connect the 8001 agi and no body did'nt stay in queue!

    How can i set the 8001 like a Extension ?
    I want the 8001 seams like a Extension !


    Thanks in advanced:unsure:
     
  2. torontob

    Joined:
    May 18, 2008
    Messages:
    219
    Likes Received:
    0
    I am not sure about multiple instances of your java.agi but I if you create an extension via FreePBX then you can use FollowME feature along with CustomDestination (unembedded FreePBX) to run your java and also to see it working in FOP. However, I believe you can do java multi-threading.
     
  3. haamed

    Joined:
    Jul 23, 2007
    Messages:
    251
    Likes Received:
    0
    Thanks for your reply,
    but i want to use Queue features ...
    My java Program has Threads,
    I want to use AGIs in Queue like Extensions,
    .
    .
    .
    I think Ican define a variable in extension_custom and when this is nit null i can send back busy tone to queue !...
    i should test it


    Is there any Idea ,,, ELASTIX LOVEEEEEEEEEEEEEEEEEEEEEEEER S...


    Thanks Torontob :lol:
     

Share This Page