To disable auto registration for any of the port set Sid 0 or Sid1 to 0 or empty. This will disable the port and not attempt a registration with CM. If you want to manually add the port in CM, put Sid0 or Sid1 as the mac-address of the appropriate port.
Archive for the ‘Analog’ Category
ATA 186 auto registration
Posted by cciev on July 10, 2006
Posted in ATA186, Analog | Leave a Comment »
MGCP & H323 IOS gateway and T38 faxing
Posted by cciev on May 28, 2006
MGCP gateways and T38
1. mgcp fax t38 ls_redundancy 0 OR
mgcp fax t38 hs_redundancy 0
ls_redundancy set to 0 disables mgcp from sending redundant packets. The value can be set from 0 – 5 or 7 packets
hs_redundancy set to 0 disables mgcp from sending redundant packets for high speed fax m/c v.17, v27, v29 T.4 or T.6 fax machine. Default is 0, Can be configured up to 2 or 3. 0 disables redundancy.
Optional commands:
mgcp fax t38 gateway force – This command forcest38 fax relay using NSE's eve if T38 and NSE's cannot be negotiated by the MGCP call agent at call setup time
mgcp fax t38 inhibit - Disables MGCP T38 fax relay.
mgcp tse payload <value> - TSE is for Telephony signalling event. This command specifies payload value during fax and modem passthrough. Default is 100.
mgcp fax rate <rate>|voice (Default rate is 7200 bps)
H323 gateways and T38
dial-peer voice 1 voip
fax rate voice
fax protocol t38 ls_redundancy 0
options available are :
force - forces use of NSE;s to switch to T38 fax relay
fallback pass-through g711ulaw | g711alaw - A fallback mode if T38 could not be negotiated.
Posted in Analog, Fax | Leave a Comment »
MGCP IOS gateway and ATA 186 in H323 mode – Fax Passthrough configuration
Posted by cciev on May 28, 2006
1. Configure MGCP gateway as usual (with FXS ports).
2. Give the following commands
no ccm-manager fax protocol — disables cisco fax relay
mgcp modem passthrough voip mode nse — enables modem passthrough
mgcp modem passthrough voip codec g711ulaw
MGCP default NSE payload types
Output of "Sh mgcp"
MGCP media bind
ISABLED
MGCP Upspeed payload type for G711ulaw: 0, G711alaw: 8 (You may opt to match this up with ATA NSE payload type)
MGCP Dynamic payload type for G.726-16K codec
MGCP Dynamic payload type for G.726-24K codec
3. Optionally you may want to disable T38 fax relay for MGCP (which is enabled by default)
mgcp fax t38 inhibit. (Useful if you want to just have passthrough enabled, and disable t38 fax on the gateway)
Posted in ATA186, Analog, Fax | Leave a Comment »
ATA 186 Fax modes (H323)
Posted by cciev on May 28, 2006
Fax pass through – Set audio mode to 0×00150015
Fax mode – (Use direct g711 only, it doesn't do any codec upspeed.) – Set audiomode to 0×00120012
12 – corresponds to 0001 0010
bit 1 – set to 1 for g711 only
bit 2 – set to 0 to disable CED
Posted in ATA186, Analog, Fax | Leave a Comment »
DSCP settings for H323 and MGCP gateways
Posted by cciestudy on May 28, 2006
The setting below applies to packets generated by teh router itself.
For H323 gateways
Default for signaling is af31 (26). Need to change this to cs3 (24).
dial-peer voice 1500 voip
ip qos dscp cs3 signaling
For MGCP gateways
mgcp ip qos dscp cs3 signaling
Posted in ATA186, Analog, Fax, QOS | 1 Comment »
IOS gateways – faxing – three steps
Posted by cciev on May 27, 2006
To enable fax passthrough in a H323 IOS gateway: (This can be given under a dial peer or globally under voice service voip mode)
Global mode:
1. modem passthrough nse [payload-type number] codec {g711ulaw|g711alaw} [redundancy] [maximum-sessions <value>]
* Payload-type default : 100 for IOS gateways (Set this to same for all other gateways)
* Codec should be g711ulaw for fax sent over a t1 trunk or g711alaw for fax sent over a e1 trunk
* redundancy – enables fax redundancy. Set this parameter to be same at both ends
* max sessions – defines how many fax calls can occur simultaneously. Default is 16. Valid values 1 – 26.
2. Disable Fax relay – Fax relay is enabled by default and takes precedence over Passthrough.
fax rate disable
3. If you gave the modem passthrough setting under voice service voip mode, then you need to give the following command in dial-peer mode.
dial-peer voice 1 voip
modem passthrough system
Dial-peer mode: (2 steps)
If you choose not to apply the modem passthrough settings in global mode, dial-peer voice 1 voip
fax rate disable
modem passthrough nse codec g711ulaw
To enable Fax passthrough in a Cisco IOS MGCP gateway
no ccm-manager fax protocol cisco
mgcp modem passthrough voip mode nse
mgcp modem passthrough voip codec g711ulaw|g711alaw.
Posted in ATA186, Analog, Fax | Leave a Comment »
H323 – ATA fax passthrough setting – recommendations
Posted by cciev on May 27, 2006
Audiomode - 0×00150015
0000 0000 0001 0101 (last 4 hex digits represents phone 1)
Bit 0 – 1 enables VAD
Bit 2 – 1 enables fax CED tone detection
Connect mode : 0×90000400
1001 0000 0000 0000 0000 0100 0000 0000
Bits 12 – 8 represent NSE payload type offset. Default NSE payload type is 100 for ATA which means the offset is set to 4 (00100). IOS H323/SIP gateways use NSE payload type 100. Most MGCP gateways using 6608 uses NSE payload type 101. So set the offset to 5 (00101) if setting up fax between ATA and 6608 (older versions)
Bits 13 – default 0 – represents fax pass through codec. 0 means g711ulaw, 1 means g711alaw.
To use fax in countries other than US, set
Connect mode : 0×90002400
**** key things to remember about interoperability of various AVVID fax components******
If a VG248, Cisco IOS router, MGCP gateway and ATA 186 is involved in faxing. Then set the NSE payload type to 100 (IOS Mode) in all devices. In VG248 set to IOS mode. In router by default NSE payload type is 100 (for modem passthrough). In MGCP IOS gateway (need to check). In 6608 set the mode to IOS mode. In ATA 186, default NSE payload type is 96 + offset of 4 = 100.
Posted in ATA186, Analog, Fax | Leave a Comment »
Fax passthrough – unlimited!!
Posted by cciev on May 27, 2006
What is Fax passthrough ?
Fax passthrough encodes fax traffic with in a g711 voice codec and sends it across the voip network as a voice call. The call may use any codec (g711, g729, g723) etc initially and once a 2100 Hz CED tone is detected, the device (ATA for ex:) tells the far end gateway to switch over to G711 using a peer-to-peer message. This message is called a NSE message (Named Signalling Event) with in the RTP stream.
Posted in Analog, Cisco General, Fax | Leave a Comment »
ATA 186 H323 Audio parameters
Posted by cciev on May 26, 2006
LBRCodec:
If LBRCodec is set to 0, ATA chooses g723.1 as the Low bit rate codec. (You can have up to 2 calls on the ATA at g723.1)
If LBRCodec is set to 3, ATA chooses g729 as the Low bir rate codec (Only one call can be there on the ATA at g729). The allocation of g729 to either ports is dynamic. (Unlike SCCP, where the Connect mode bit 21 determines which port will use g729)
Audiomode
Audiomode has 32 bits. First 16 bits set parameters for Phone port 1, Upper 16 bits set parameters for Phone port 2.
Default : 0×00150015
0000 0000 0001 0101 0000 0000 0001 0101
Bit 0 and 16 – Disable VAD (0 – Disable, 1 – Enable)
Bit 1 and 17 – if set to 1, enable g711 only. If set to 0 Enable LBR along with g711.
Bit 2 and 18 – if set to 1 enables fax CED tone detection
TxCodec:
To specify transmit audio codec preference
0 – g723 (only if LBRCodec is 0)
1 – g711alaw
2 – g711ulaw
3 – g729a (only if LBRCodec is 3)
RxCodec
0 – g723 (only if LBRCodec is 0)
1 – g711alaw
2 – g711ulaw
3 – g729a (only if LBRCodec is 3)
Posted in ATA186, Analog | Leave a Comment »
Networking ATA, Callmanager and Voice gateway with FXS (phones)
Posted by cciev on May 26, 2006
Setup :
a. Callmanager 4.1 with IP phone extension 1005 (Callmanager IP 192.168.1.200)
b. ATA 186 with H323 load , 2 phones with extension 2000, 2001 (ATA IP 192.168.1.46)
c. H323 gateway with FXS ports with phone extension 3010, 3011 (Gateway IP 192.168.1.202)
d. Gatekeeper with 3 zones created (one for CM, one for gateway and one for ATA) (GK IP 192.168.1.201)
******Key things to note about GK registration*******
a. ATA register with GK as Terminal
b. H323 gateway registers with GK as Voip-GW
c. Callmanager can be registered to the GK as Voip-GW or Terminal (Trunk configuration page)
d. GK uses proxying between Terminals and Voip-GW's. So take special note to disable proxy from each zone that involes a Terminal and Voip-GW.
Configuration of ATA
a. Use E164 numbers in UID0 and UID1.
b. No need to set Login ID's if using E.164 numbers for GK registration
c. Specify the GKID field with the zone name (with out domain name)
d. Specify the GKOrProxy field with the IP address of the gatekeeper (192.168.1.201)
e. ATA cannot specify a tech prefix (as it registers as a terminal)

Configuration of GK
GateKeeper#sh gatek end
GATEKEEPER ENDPOINT REGISTRATION
================================
CallSignalAddr Port RASSignalAddr Port Zone Name Type F
————— —– ————— —– ——— —- –
192.168.1.46 1721 192.168.1.46 1739 ATA TERM
ENDPOINT ID: 8232D55C00000001 VERSION: 2 age= 233 secs
E164-ID: 2001
192.168.1.46 1720 192.168.1.46 1719 ATA TERM
ENDPOINT ID: 82609CF000000002 VERSION: 2 age= 233 secs
E164-ID: 2000
192.168.1.200 55419 192.168.1.200 53824 CM41 VOIP-GW
ENDPOINT ID: 824FC0F400000004 VERSION: 2 age= 18 secs
H323-ID: CCM_1
192.168.1.202 1720 192.168.1.202 50439 gateway VOIP-GW
ENDPOINT ID: 8230A09400000004 VERSION: 2 age= 40 secs
H323-ID: 192.168.1.202
E164-ID: 3011
E164-ID: 3010
Total number of active registrations = 4
GateKeeper#
Gateway Configuration
interface Ethernet0/0
ip address 192.168.1.202 255.255.255.0
half-duplex
h323-gateway voip interface
h323-gateway voip id gateway ipaddr 192.168.1.201 1719
h323-gateway voip h323-id Gateway
h323-gateway voip tech-prefix 1#
dial-peer voice 1 pots
destination-pattern 3010 —– phone 1
port 1/0/0
!
dial-peer voice 2 pots
destination-pattern 3011 —– phone 2
port 1/0/1
dial-peer voice 10 voip
destination-pattern 1… —— Pattern for calls to Callmanager , No need to prepend tech prefix as 4# is default tech prefix
session target ras
dtmf-relay h245-alphanumeric
codec g711ulaw
!
dial-peer voice 10 voip
destination-pattern 2… ——- Pattern for Calls to ATA, No need for tech prefix as ATA registers to GK as terminal
session target ras
dtmf-relay h245-alphanumeric
codec g711ulaw
!
gateway
Configuration of Callmanager

a. Add a gatekeeper (with GK's ip address, 192.168.1.201)
b. Add a Trunk (Gatekeeper controlled) and specify tech prefix 4#, the gatekeeper that was previously added, Terminal type (VOIP-GW or Terminal) and zone name (CM41)
c. Set the significant digits on incoming calls to All.
d. Add a route pattern [23]XXX and route the calls through the trunk created in step 2. 2XXX is for ATA phones and 3XXX is for FXS phones
Posted in ATA186, Analog, Gatekeeper, Gateways, IOS Gateways | 3 Comments »
Basic H323 parameters – ATA in H323 mode
Posted by cciev on May 26, 2006
UID 0 – E.164 number of port 1, UID 1 - E.164 number of port 2. This is effective only if UseLoginID = 0.
LoginID 0 – H323 ID of port 1, LogingiD1 – H323 ID of port 2. This is effective only if UseLoginID = 1 (default 0)
Posted in ATA186, Analog | Leave a Comment »
ATA 186 SCCP config page reference
Posted by cciev on May 26, 2006

If the pic is not legible, download the picture and zoom it to see more clearly.
Posted in ATA186, Analog | Leave a Comment »
How to reset ATA 186 to factory defaults
Posted by cciev on May 26, 2006
1. Pickup phone handset and press ATA function button
2. Dial FACTRESET#. The IVR will say press * to save or to exit press # key. Press * to save and it should reset the ATA to factory default configuration.
Posted in ATA186, Analog | 1 Comment »
TOS bit setting (SCCP)
Posted by cciev on May 26, 2006
Default value :0×000068b8
0110 1000 1011 1000 (ignoring leading 0's)
0-7 digits represents RTP payload. Maps to DSCP 46 or TOS 5 (leading 3 digits 011)
8 – 15 digits represents Voice signalling. Maps to DSCP 26 or TOS 3 (leading 3 digits are 101)
To change the voice signalling to DSCP 24 (according to CM 4.1 specs) the new value of TOS is
0×000060b8 (Change bit 11)
Posted in ATA186, Analog, QOS | Leave a Comment »
Audiomode settings for ATA (SCCP)
Posted by cciev on May 26, 2006
Default value : 0×00350035
32 bit field, first 16 bits for phone 1 and second 16 bits for phone 2 (starting from LSB)
0000 0000 0011 0101 0000 0000 0011 0101
a. To force g711 on all calls set bit 1 and 17 to 1 – Audiomode becomes 0×00370037 (Both ports are forced to use g711)
b. To use low bit rate codec or g711 (default setting) – set bits 1 and 17 to 0 – Audiomode becomes 0×003500035
Fax CED tone detection
Bits 2 and 18 should be set to 1 (default) to enable Fax CED tone detection
If set to 0, tone detection is disabled.
Posted in ATA186, Analog | Leave a Comment »
Fax between ATA on port 2 and Router with FXS (g729 codec)
Posted by cciev on May 25, 2006
Fax setup that works:
Fax on port 2 of ATA, LBRcodec = 3, Connect mode bit 21 = 1.
Router has dial-peer with g729r8 (br8) codec and fax machine on FXS port.
Commands in dial-peer:
dial-peer voice 10 voip
codec g729r8|br8
modem passthrough nse codec g711ulaw
fax rate disable
fax protocol pass-through g711ulaw
Fax setup that didnt work
Fax on port 2 of ATA, LBRcodec = 3, Connect mode bit 21 = 1.
Router has dial-peer with g729r8 (br8) codec and fax machine on FXS port.
Commands in dial-peer:
dial-peer voice 10 voip
codec g729r8|br8
fax rate disable
fax protocol pass-through g711ulaw
Conclusion : With out modem passthrough, Fax passthrough on routers are not working!
Posted in ATA186, Analog, Fax | Leave a Comment »
LBRCodec and Connect Mode (Skinny)
Posted by cciev on May 25, 2006
LBRCodec can take 2 values 0 or 3.
ATA can support following codec. g723, g729, g729a, g711(a/u).
Both ports can support g723 at same time
Both ports can support g711 at same time
Only one port can support g729 at any time.
Port 2 doesnt have support for g729a. Port 1 has.
When LBRCodec = 0,
port 1 and 2 can use g711ulaw, g711alawor g723.1
When LBRCodec =3 and Connect mode bit 21 = 0 (affects only g729)
Port 1 can use g711ulaw, g711alaw, g729a or g729
When LBRCodec=3 and Connect mode bit 21 = 1 (affects only g729)
Port 2 can use g711ulaw, g711alaw, g729
Posted in ATA186, Analog | Leave a Comment »
ATA SID (Sccp)
Posted by cciev on May 25, 2006
ATA 186 SID 0 is for phone port 1
ATA 186 SID 1 is for phone port 2
If set to 0, phone port is disabled and doesnt register with CCM.
If set to . (dot), ATA port uses its default mac-address (port 2 uses 01 appended at the end) to register with CCM
Posted in ATA186, Analog | Leave a Comment »
ATA 186 -setting static Vlan ID in ATA (SCCP)
Posted by cciev on May 25, 2006
You will have to use OpFlag and Vlan setting fields.
Opflag:
Default value of OpFlag is 0×000000002
0000 0000 0000 0000 0000 0000 0000 0010 — bits 4,5,6 are set to zero by default which acquires VLAN ID via CDP. To disable this setting and set this to static, use 101 in bits 4,5,6
0000 0000 0000 0000 0000 0000 0101 0010 — 0×00000052
VLAN Setting:
Default setting is 0×0000002b
Translates to 0000 0000 0000 0000 0000 0000 0010 1011
Set bits 18 through 29 with VLAN ID. IF you have to set VLAN ID to 115, 115 translate to
64 + 32 + 16 + 0 + 0 + 2 + 1 = 01110011
0000 0001 1100 1100 0000 0000 0010 1011
which translate to 0×01cc002b
Cos bits for Signalling and RTP ( first 6 bits of Vlan setting)
0000 0001 1100 1100 0000 0000 0010 1011
First three bits (0-2) are for voice signalling. By default this is set to 3.
0000 0001 1100 1100 0000 0000 0010 1011
Second three bits (3-5) are for voice bearer (rtp). By default this is set to 5.
Posted in ATA186, Analog | 2 Comments »
ATA 186 basics
Posted by cciev on May 25, 2006
1. To add ATA 186 port 1 enter the mac-address of ata 186
2. To add ATA 186 port 2 drop leading 2 digits of mac-address and add a 01 to the end.
3. To enable DHCP via phone, hit the red menu button on ATA and choose option 20# and choose 0 for disable dhcp, 1 for enable dhcp
4. To configure IP address via phone chooose option 1#. Separate dots with *
5. To configure default router choose option 2#. Separate dots with *
6. To configure subnet mask choose option 10# Separate dots with *.
Posted in ATA186, Analog | 1 Comment »
VG248 Passthrough signalling
Posted by cciev on May 24, 2006
You can set passthrough signalling mode to
a. Legacy – Use with older VG248 software which runs only Legacy mode or with 6608 with older firmware or 6624-FXS
b. IOS mode – Use with ATA 186, 6608 with new firmware (new CM versions), all Cisco IOS routers or another VG248 with new software (1.2 or 1.3)
Posted in Analog, Fax | Leave a Comment »
Fax key notes.
Posted by cciev on May 23, 2006
Fax key notes:
a. ata supports only fax passthrough (h323,mgcp or sccp)
b. 6608 supports cisco fax relay and passthrough. No support for t38.
c. ios gateways support all modes passthrough, relay, t38 (fxs)
d. vg248 supports all modes (passthrough, relay and t38). T.38 is available only on version 1.3(1)
Posted in Analog, Fax | Leave a Comment »
VG248 Call Control Modes
Posted by cciev on May 23, 2006
a. standard – no need to use feature codes…features available are similar to feature mode.
b. feature – use feature codes for transfer and conference and other phone features. Use hookflash and feature code at the end to perform the operation (xfer, conf etc). With feature mode, there is independent control of each call leg.
c. basic – no transfer/conf. good for fax and modems
d. restricted – most limited call mode. Used with billing system that begins charging when calls connect.
To change call control mode, go to each port, port specific parameters and enable the mode. default is standard.
Posted in Analog, Fax | Leave a Comment »