Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

PbxAPI.aspx**FIX PROVIDED

Discussion in '3CX Phone System - General' started by Garbisa, Jul 23, 2010.

Thread Status:
Not open for further replies.
  1. Garbisa

    Joined:
    Jul 23, 2010
    Messages:
    4
    Likes Received:
    0
    We used PbxAPI.aspx with V8 - it seams not to work with V9 anymore.
    Should it?
     
  2. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,153
    Likes Received:
    174
    Re: PbxAPI.aspx

    Yes it should. You probably need to update to use Version 9 components.
    Do you manage to create a connection first?

    Nothing was changed in the API however version numbers and assemblies were changed. So when we change a major version, expect these problems until you update your code.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Garbisa

    Joined:
    Jul 23, 2010
    Messages:
    4
    Likes Received:
    0
    Re: PbxAPI.aspx

    we just use the URL dialing mechanisme with Abyss Web Server:
    http://192.168.0.100:5484/PbxAPI.aspx?func=make_call&from=103&to=101&pin=103

    what results in a generell "no communication" Webbrowser error
     
  4. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,153
    Likes Received:
    174
    Re: PbxAPI.aspx

    This is what you need to do bec abyss uses virtual directories

    http://10.172.0.87:5481/ivr/PbxAPI.aspx?func=make_call&from=100&to=101&pin=8723456

    Thanks
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. bluetel2

    bluetel2 Member

    Joined:
    Oct 16, 2008
    Messages:
    377
    Likes Received:
    8
    Thks nicky

    it's work like this before don't.

    http://10.172.0.87:5481/ivr/PbxAPI.aspx ... in=xxx
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. bluetel2

    bluetel2 Member

    Joined:
    Oct 16, 2008
    Messages:
    377
    Likes Received:
    8
    hi,

    i use 3 api with http, to make webcall back. my webcall back redirect to specific extension, which is not registered but redirect to call queue when it's on office hours... but with v9, the 3cx is not allow to forward call when extension is not registered...

    there is mean to allaow this ?

    tks advance.

    the log when it's webcallback

    12:11:44.994 [CM503020]: Normal call termination. Reason: Not available
    12:11:44.994 [CM503016]: Call(465): Attempt to reach <sip:998@127.0.0.1:5060;nofwd=1> failed. Reason: Not Registered
    12:11:44.994 [CM503016]: Call(465): Attempt to reach <sip:998@127.0.0.1:5060;nofwd=1> failed. Reason: Not Registered
    12:11:44.994 [CM503017]: Call(465): Target is not registered: Ext:Ext.998
    12:11:44.994 [CM503010]: Making route(s) to <sip:998@127.0.0.1:5060;nofwd=1>


    and when it's not api

    12:15:17.473 [CM505001]: Ext.128: Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CXPhone 4.0.13336.0] PBX contact: [sip:128@192.168.1.42:5060]
    12:15:17.473 [CM503002]: Call(469): Alerting sip:128@192.168.1.206:1096;rinstance=982b2bfc9a1170fb
    12:15:17.317 [CM503025]: Call(469): Calling Ext:Ext.128@[Dev:sip:128@192.168.1.206:1096;rinstance=982b2bfc9a1170fb]
    12:15:17.270 [CM503004]: Call(469): Route 1: Ext:Ext.128@[Dev:sip:128@192.168.1.206:1096;rinstance=982b2bfc9a1170fb]
    12:15:17.270 [CM503010]: Making route(s) to <sip:128@3cx.styl-pack.fr:5060;nofwd=1>
    12:15:17.270 [CM505001]: Ext.801: Device info: Device Identified: [Man: 3CX Ltd.;Mod: 3CX Queue;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CX Queue Manager (q=801)] PBX contact: [sip:801@127.0.0.1:5060]
    12:15:17.270 [CM503001]: Call(469): Incoming call from Ext.801 to <sip:128@3cx.styl-pack.fr:5060;nofwd=1>
    12:15:16.848 [MS211000] C:467.1: 192.168.1.248:5306 is delivering DTMF using RTP payload (RFC2833). In-Band DTMF tone detection is disabled for this call segment.
    12:15:16.567 [CM503007]: Call(468): Device joined: sip:801@127.0.0.1:5488
    12:15:16.567 [CM503007]: Call(468): Device joined: sip:131@192.168.1.236:5060
    12:15:16.567 [CM505001]: Ext.801: Device info: Device Identified: [Man: 3CX Ltd.;Mod: 3CX Queue;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CX Queue Manager (q=801)] PBX contact: [sip:801@127.0.0.1:5060]
    12:15:16.551 [CM503002]: Call(468): Alerting sip:801@127.0.0.1:5488
    12:15:16.410 [CM503025]: Call(468): Calling Ext:Ext.801@[Dev:sip:801@127.0.0.1:5488]
    12:15:16.363 [CM503004]: Call(468): Route 1: Ext:Ext.801@[Dev:sip:801@127.0.0.1:5488]
    12:15:16.363 [CM503010]: Making route(s) to <sip:998@192.168.1.42>
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,153
    Likes Received:
    174
    it should work yes

    Can you put the link you are specifying there and also check what the forwarding rules are set to (behavior and status profile)

    I can confirm that when the extension is unregistered, and available for example, and the phone is busy section in the available profile is populated with something, than that rule will be observed if a call is made to it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. bluetel2

    bluetel2 Member

    Joined:
    Oct 16, 2008
    Messages:
    377
    Likes Received:
    8
    my configuration is :

    998 is unregistrered extension
    in avalaible option (forwarded call) send call to 801 (call queue)
    for no answer and busy
    the same in away forwarded rule


    the url is http://192.168.1.42:5481/ivr/(S(oo5mmqnplxi0jxzasmzwbb55))/PbxAPI.aspx?func=make_call&from=998&to=06736xxxxxr&pin=998 and said it's work, but, in the log when can read

    13:39:12.985 [CM503020]: Normal call termination. Reason: Not available
    13:39:12.985 [CM503016]: Call(484): Attempt to reach <sip:998@127.0.0.1:5060;nofwd=1> failed. Reason: Not Registered
    13:39:12.985 [CM503016]: Call(484): Attempt to reach <sip:998@127.0.0.1:5060;nofwd=1> failed. Reason: Not Registered
    13:39:12.985 [CM503017]: Call(484): Target is not registered: Ext:Ext.998
    13:39:12.985 [CM503010]: Making route(s) to <sip:998@127.0.0.1:5060;nofwd=1>
    13:39:12.985 [CM505001]: Ext.MakeCall: Device info: Device Identified: [Man: 3CX Ltd.;Mod: 3CX MakeCall helper;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CX MakeCall helper] PBX contact: [sip:MakeCall@127.0.0.1:5060]
    13:39:12.985 [CM503001]: Call(484): Incoming call from Ext.MakeCall to <sip:998@127.0.0.1:5060;nofwd=1>

    and in fact the call is not make.

    try with this configuration

    tks advance nicky
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. nb

    nb Support Team
    Staff Member 3CX Support

    Joined:
    Jun 7, 2007
    Messages:
    2,153
    Likes Received:
    174
    Is the queue registered?
    Are the members logged in and registered?
    What is the destination no answer of the queue just in case?

    I just tried it right now - HTTP Api link calling an unregistered extension that has a forward call rule to a queue when unregistered and the queue is targeted - so are the members.

    Can you check the configuration again? Let me know. Make sure you are using rc2
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. bluetel2

    bluetel2 Member

    Joined:
    Oct 16, 2008
    Messages:
    377
    Likes Received:
    8

    the queue is registered
    members too
    the destination of member is the queue to. i test with just another extension and the same result :'(

    is use the 9.0.13545.594 of v9.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. archie

    archie Well-Known Member
    3CX Support

    Joined:
    Aug 18, 2006
    Messages:
    1,299
    Likes Received:
    0
    If I understand you're using dummy ext. 998 to forward to external number. Why not just dial that external number? Instead of making call to 998.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. bluetel2

    bluetel2 Member

    Joined:
    Oct 16, 2008
    Messages:
    377
    Likes Received:
    8
    not exactly, first in v8 i try to redirect in call queue but no result, so i have created extension which redirect all call to call queue and work fine.with v9 don't :'(. i don't want to redirect in specifique extension because we have commercial service in this entreprise who receive all call from all external line, if i redirect on 1 extension the call arrive all time to this extension.. not rundom like call queue...

    i hope you understand
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. archie

    archie Well-Known Member
    3CX Support

    Joined:
    Aug 18, 2006
    Messages:
    1,299
    Likes Received:
    0
    Why don't you make call to the queue then? Why do you need that 998?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. bluetel2

    bluetel2 Member

    Joined:
    Oct 16, 2008
    Messages:
    377
    Likes Received:
    8
    because it's not work :cry:

    it's write this Originating number is not an extension!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. archie

    archie Well-Known Member
    3CX Support

    Joined:
    Aug 18, 2006
    Messages:
    1,299
    Likes Received:
    0
    You should make call TO the Queue, not FROM the Queue.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. bluetel2

    bluetel2 Member

    Joined:
    Oct 16, 2008
    Messages:
    377
    Likes Received:
    8
    correction in fact it's work with internal number but if i want to make outbound call ...

    http://192.168.1.42:5481/ivr/(S(nsqhyv453czxfimcf5zrvj45))/PbxAPI.aspx?func=make_call&from=801&to=mymobilephone4&pin=801

    edit: not work with external call yet. only internal
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Thread Status:
Not open for further replies.