#----------------------------------------------------------------# # # SN4552 / 46XX / SN4960 / IC-E1V / IC-4BRV # SWR5.X # # ENFORCE THE TRANSPARENT CODEC FOR ISDN UD-64 CALLS # # Sample configuration of context CS only. Without gateway and IP # configuration. # # After replacing all variables you may copy and paste this # configuration part into your offline configuration file. # # Incoming ISDN calls will be split into two call-router paths to # enforce transparent codec for ISDN unrestricted digital calls. # Note that the VOIP-DATA interface has no route into the # call-router, it operates as a one-way interface. But it has a # special Voip-Profile linked, which only contains the # transparent codec. # The VOIP-DEFAULT interface will be used for incoming voip calls. # It uses the default voip profile, which is linked in the voip # gateway. The default profile contains the transparent codec # with the lowest priority to ensure that voice calls never uses # the transparent codec. # # # DATE: 2011-04-11 # AUTHOR: Markus Zeier; # PATTON-INALP-NETWORKS; CH-3172 NIEDERWANGEN # WWW.PATTON.COM WWW.INALP.COM # # #----------------------------------------------------------------# profile voip default codec 1 g726-32k-cisco rx-length 20 tx-length 20 codec 2 g711alaw64k rx-length 20 tx-length 20 codec 3 g711ulaw64k rx-length 20 tx-length 20 codec 4 transparent rx-length 20 tx-length 20 codec 5 transparent-cisco rx-length 20 tx-length 20 fax transmission 1 relay t38-udp fax redundancy low-speed 2 high-speed 1 modem transmission 1 bypass g711alaw64k modem bypass-method nse profile voip PF_VOIP_DATA codec 1 transparent rx-length 20 tx-length 20 codec 2 transparent-cisco rx-length 20 tx-length 20 context cs switch routing-table called-e164 RT_CDPN_TO_VOIP route .T dest-table RT_ITC_VOIP routing-table itc RT_ITC_VOIP route unrestricted-digital dest-interface IF_VOIP_DATA_OUT route default dest-interface IF_VOIP_DEFAULT interface isdn IF_ISDN_S01 route call dest-table RT_CDPN_TO_VOIP interface sip IF_VOIP_DEFAULT bind context sip-gateway remote route call dest-interface IF_ISDN_S01 interface sip IF_VOIP_DATA_OUT bind context sip-gateway remote use profile voip PF_VOIP_DATA context cs switch no shutdown