• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

PbxAPI.aspx**FIX PROVIDED

Status
Not open for further replies.

Garbisa

Joined
Jul 23, 2010
Messages
4
Reaction score
0
We used PbxAPI.aspx with V8 - it seams not to work with V9 anymore.
Should it?
 
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.
 
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
 
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
 
Thks nicky

it's work like this before don't.

http://10.172.0.87:5481/ivr/PbxAPI.aspx ... in=xxx
 
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:[email protected]:5060;nofwd=1> failed. Reason: Not Registered
12:11:44.994 [CM503016]: Call(465): Attempt to reach <sip:[email protected]: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:[email protected]: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:[email protected]:5060]
12:15:17.473 [CM503002]: Call(469): Alerting sip:[email protected]:1096;rinstance=982b2bfc9a1170fb
12:15:17.317 [CM503025]: Call(469): Calling Ext:Ext.128@[Dev:sip:[email protected]:1096;rinstance=982b2bfc9a1170fb]
12:15:17.270 [CM503004]: Call(469): Route 1: Ext:Ext.128@[Dev:sip:[email protected]:1096;rinstance=982b2bfc9a1170fb]
12:15:17.270 [CM503010]: Making route(s) to <sip:[email protected]: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:[email protected]:5060]
12:15:17.270 [CM503001]: Call(469): Incoming call from Ext.801 to <sip:[email protected]: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:[email protected]:5488
12:15:16.567 [CM503007]: Call(468): Device joined: sip:[email protected]: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:[email protected]:5060]
12:15:16.551 [CM503002]: Call(468): Alerting sip:[email protected]:5488
12:15:16.410 [CM503025]: Call(468): Calling Ext:Ext.801@[Dev:sip:[email protected]:5488]
12:15:16.363 [CM503004]: Call(468): Route 1: Ext:Ext.801@[Dev:sip:[email protected]:5488]
12:15:16.363 [CM503010]: Making route(s) to <sip:[email protected]>
 
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.
 
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:[email protected]:5060;nofwd=1> failed. Reason: Not Registered
13:39:12.985 [CM503016]: Call(484): Attempt to reach <sip:[email protected]: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:[email protected]: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:[email protected]:5060]
13:39:12.985 [CM503001]: Call(484): Incoming call from Ext.MakeCall to <sip:[email protected]:5060;nofwd=1>

and in fact the call is not make.

try with this configuration

tks advance nicky
 
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
 
nickybrg said:
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


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.
 
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.
 
archie said:
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.

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
 
Why don't you make call to the queue then? Why do you need that 998?
 
archie said:
Why don't you make call to the queue then? Why do you need that 998?

because it's not work :cry:

it's write this Originating number is not an extension!
 
bluetel2 said:
it's write this Originating number is not an extension!

You should make call TO the Queue, not FROM the Queue.
 
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
 
Status
Not open for further replies.
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.