Vtiger + Freepbx

Hi all,

I am trying to integrate vtiger into pbx in a flash, which uses free pbx.

Have most of it working with the exception of incoming calls. When a call comes into an extension (and that extension is related to a user in vtiger) a pop should come intot he vtiger web window and display the callers details (if they are setup in vtiger).

The instructions say to put exten=201,2,AGI,ident.agi in extensions.conf after playing about with a lot of options I have managed to get exten => 201,2,AGI(ident.agi) to work if I put that into extensions_custom.conf under the context of [from-internal-custom] now this works, it shows me the pop up in the browser window, but the 201 extension doesnt ring, when I have done a debug it shows the following…

– Executing [[email protected]:1] AGI(“SIP/205-b7706888”, “ident.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/ident.agi
– AGI Script ident.agi completed, returning 0
– Executing [[email protected]:2] Hangup(“SIP/205-b7706888”, “”) in new stack
== Spawn extension (from-internal, 201, 2) exited non-zero on ‘SIP/205-b7706888’
– Executing [[email protected]:1] Macro(“SIP/205-b7706888”, “hangupcall”) in new stack
– Executing [[email protected]:1] ResetCDR(“SIP/205-b7706888”, “w”) in new stack
– Executing [[email protected]:2] NoCDR(“SIP/205-b7706888”, “”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/205-b7706888”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [[email protected]:6] GotoIf(“SIP/205-b7706888”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [[email protected]:9] GotoIf(“SIP/205-b7706888”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [[email protected]:11] Hangup(“SIP/205-b7706888”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/205-b7706888’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/205-b7706888’

Can anyone help me with the next step that I need to make to get this working as I am at a complete loss.

Thanks in advance

Karl

Has no-one used this or managed to get it working???

Thanks

Karl

so bumping just a few days later is not likely to help…

Being what I think is some kind of dialplan issue I thought maybe it had been missed, I dont think this is specifically relating to vtiger, it is the way calls are being placed and the use of macros in freepbx.

Thanks for your time.

Karl

so we can see what you are doing…