Sunday, October 7, 2012

CUEAC -SQL

Reference -CUEAC


http://arcsolutions.com/north_america/solutions/products/cueac.aspx



admin:run sql select count(*) from enduser where telephonenumber = ''



--->To see total count of null extn





run sql select first 1 * from enduser where pkid > ‘


IF telephoneNumber of the next user is NULL use this query:



run sql select first 1 * from enduser where pkid > '05dee781-dd86-49f5-a2c4-4b2f59f3867a' and telephonenumber != ''



Once we find the bad user –



run sql update enduser set telephonenumber = '’ where pkid = ‘BAD USER PKID’





EAC Troubleshooting.



Login to the database using sa account.



System Databases -> ATTCFG



Then execute the below comman.



select * from dbo.Contact_Header order by Source_Unique_ID



--> To see the total LDAP users on EAC





And if you stuck with any time scroll down and select the last source unique id and copy it and execute the below command.





:run sql select first 1 * from enduser where pkid > '51ad91da-8860-4969-a56e-f04d1c77c971'





And then find it out where its getting stuck. (for ex:- if its stucking at the telephone number then run the below command to edit the telephone number.



run sql update enduser set telephonenumber = '+886-2-2176-9552' where pkid = '"



Hardware Conf/Trans configuration


sccp local

sccp ccm (CUCM IP) identifier 2 version 7.0

sccp ccm (CUCM IP) identifier 1 version 7.0

sccp ip precedence 3

sccp

!

sccp ccm group 1

associate ccm 2 priority 1

associate ccm 1 priority 2

associate profile 2 register TRAN

associate profile 1 register ConfBridge

!

dspfarm profile 2 transcode

codec g729r8

codec g729br8

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

maximum sessions

associate application SCCP



#Once configured give no shut to activate the profile



dspfarm profile 1 conference

codec g711ulaw

codec g711alaw

codec g729ar8

codec g729abr8

codec g729r8

codec g729br8

maximum sessions

conference-join custom-cptone Conf

associate application SCCP



#Once configured give no shut to activate the profile



config t

no sccp

sccp