FreePBX | Register | Issues | Wiki | Portal | Support

Sangoma CRM not sending data


(Ohad Levy) #1

Hi Guys,
I know this is a commercial module but i didnt get much help from the guys in Sangoma (With all due respect i have waited over a two weeks for this to be helped )

I have a FreePBX 13 with Asterisk 11 (In asterisk 13 i also had issues making this work and in 11 it worked for me) In the logs i can see the agi working, in the mysql table for the crm webhook i see the URL for the posts.
but there is no data been sent out of the system.

    [2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c:     -- Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
    [2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_request: sangomacrm.agi
    [2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_channel: SIP/voip2-00000005
    [2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_language: en
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_type: SIP
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_uniqueid: 1543503136.6
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_version: 11.18.0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_callerid: NUMBER
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_calleridname: NUMBER
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_callingpres: 0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_callingani2: 0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_callington: 0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_callingtns: 0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_dnid: 2129130303
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_rdnis: unknown
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_context: crm-hangup
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_extension: s
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_priority: 7
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_enhanced: 0.0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_accountcode:
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> agi_threadid: 140037799188224
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >>
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << GET VARIABLE CHANNEL(LINKEDID)
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1 (1543503136.6)
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << GET VARIABLE CRM_DESTINATION
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << GET VARIABLE CRM_SOURCE
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1 (NUMBER)
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << GET VARIABLE CRM_DIRECTION
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1 (INBOUND)
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << GET VARIABLE CRM_HANGUP
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1 (1)
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << GET VARIABLE ZULU_TYPE
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << GET VARIABLE EXTTOCALL
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << GET VARIABLE CALLERID(num)
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1 (NUMBER)
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << GET VARIABLE CALLERID(name)
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1 (NUMBER)
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << GET VARIABLE CRM_VOICEMAIL
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << VERBOSE "LINKEDID: 1543503136.6" 0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: sangomacrm.agi: LINKEDID: 1543503136.6
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << VERBOSE "SOURCE: 12127965000" 0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: sangomacrm.agi: SOURCE: NUMBER
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << VERBOSE "DESTINATION: " 0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: sangomacrm.agi: DESTINATION:
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << VERBOSE "DIRECTION: INBOUND" 0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: sangomacrm.agi: DIRECTION: INBOUND
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << VERBOSE "EXTTOCALL: " 0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: sangomacrm.agi: EXTTOCALL:
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << VERBOSE "START" 0
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: sangomacrm.agi: START
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Tx >> 200 result=1
[2018-11-29 09:52:25] VERBOSE[23123][C-00000059] res_agi.c: <SIP/voip2-00000005>AGI Rx << VERBOSE "SCRIPT: php /var/www/html/admin/modules/sangomacrm/importOne.php

I changed the actual number to NUMBER :slight_smile:
I really appreciate you guys help here and there is no bad feelings for the guys in sangoma i know you guys are working hard on this :slight_smile:


(Tony Lewis) #2

What is your support case number so I can look up what is going on. If it’s a bug then support would escalate to Engineering to fix which can take 2-8 weeks depending on schedules and current task.


(Ohad Levy) #3

I closed it a few weeks ago since i got no reply, i cloned a working server since i had issues with that one.
this issue is the same i had there though.
The module seems to be working but not sending data.
Is there any approach you recommend on looking at?


(Andrew Nagy) #4

Please open a support ticket as anything we give you would be pure speculation.


(Ohad Levy) #5

i will give you a bit background I cloned a server that i know for a fact that the crm is working there. i did a restore of the settings, without the modules. i purchased the module added a webhook with restapi setting, and i dont see any data is been sent out from the server.
If i send a curl post to that website i am testing with i can see the data but not from the CRM.

thank you guys :slight_smile:


(Andrew Nagy) #6

Again. Open a support ticket.


(system) #7

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.