8
ObjectworldCommunicationsCorp.308LeggetDriveOttawa,ONCanadaK2K1Y66135999698F:6135997457www.objectworld.comT:
session protocol sipv2
session target ipv4:192.168.8.129
codec g711ulaw
!
dial-peer voice 2852 voip
description Incoming Fax Calls to UC Server
destination-pattern 71..
session protocol sipv2
session target ipv4:192.168.8.54
codec g711ulaw
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback none
!
sip-ua
!
2.2 DirectSIPIntegrationusingT.38RelaywithCNGDetection
DirectSIPIntegrationusingT.38relaywithCNGdetectionallowsasingleincomingtelephonenumbertoreceivevoiceand
faxcalls.AllincomingcallswillbepreansweredtodetermineiftheincomingcallerisafaxmachinethatgeneratedCNG
tones.IfCNGtoneisnotdetected,thecallerwillbetransferredtotheassociateduser’sextensionoveraconfiguredSIP
trunkbetweenObjectworldUCServerandCiscoCallManager.Thepreanswerservicerequiresthedatabaseintegration
featuretobeenabledonUCServerandfortheUCServeradministratortoassociateincomingDIDcallednumberstoan
internalextensiononCiscoCallManager.
InorderforaCiscoIOSgatewaytodetectCNGtonesanapplication(TCLapplicationscript)mustbeloadedontotheCisco
gateway.TCLisaCiscoIVRprogramminglanguage.TheTCLScriptthatwillperformtheCNGdetectiondoesthe
followinghighlevelfunctions.
1. DirectanincomingPOTScalltotheapplicationservice.
2. TheincomingcallisredirectedbytheCNGdetectTCLscripttoavoicepreansweringservice.IfCNGtoneis
detectedthecalltothepreansweringserviceisterminatedandanothercallismadetothefaxansweringservice.
TheTCLscriptmodifiestheoriginalcallednumber(DNIS)byaddingsomeprecedingroutingdigitsinfrontofthe
originalcallednumberandthendirectsittoUCServerusingaSIPVoIPdialpeer.This���callisthenansweredbyUC
Serverbyanapplicationservicethatplaysaringbacksound(optionallyitcanbeconfiguredtoplayanaudio
prompt)forashortperiodoftime.Aftertheaudioisplayedtheservicewillthenperformablindtransfertothe
associatedCiscotelephoneextension.
3. IftheCiscoGatewaydetectsCNGtone,itwillteardowntheoriginalcallanddirectsthecalltoaSIPVoIPdialpeer
byinsertingsomeroutingdigitsinfrontoftheoriginalcallednumber.UCServerwillthenroutethecalltoauser’s
faxidentitythatisassociatedwithaUCServeruser.