# Problems with Cisco VG224 and FreePBX

**URL:** <https://community.freepbx.org/t/problems-with-cisco-vg224-and-freepbx/43869>\
**Category:** FreePBX\
**Created:** [September 1, 2017, 6:39am UTC](https://community.freepbx.org/t/problems-with-cisco-vg224-and-freepbx/43869 "2017-09-01T06:39:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gatozgz](https://community.freepbx.org/letter_avatar_proxy/v4/letter/g/8e7dd6/32.png) [@gatozgz](https://community.freepbx.org/u/gatozgz)\
**Post date:** [September 1, 2017, 6:39am UTC](https://community.freepbx.org/t/problems-with-cisco-vg224-and-freepbx/43869/1 "2017-09-01T06:39:48Z")

</div>

Hello good morning,

In another times I have used the Cisco VG224 gateways with FreePBX without problems but yesterday I found a problem.

The problem is that you cant define a username with less than 4 digits.

Example(VG224 config.):  
…  
voice call send-alert  
voice rtp send-recv  
…  
voice service voip  
allow-connections sip to sip  
redirect ip2ip  
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw  
sip  
…  
voice-port 2/0  
cptone ES  
station-id name 100  
station-id number 100  
caller-id enable  
!

voice-port 2/1  
cptone ES  
station-id name 4000  
station-id number 4000  
caller-id enable  
!  
…  
dial-peer voice 200 pots  
no service stcapp  
destination-pattern 100  
port 2/0  
authentication username 100 password mipassword100  
!  
dial-peer voice 201 pots  
no service stcapp  
destination-pattern 4000  
port 2/1  
authentication username 4000 password mipassword4000

dial-peer voice 100 voip  
destination-pattern 0.T  
no modem passthrough  
session protocol sipv2  
session target ipv4:192.168.66.24:5060  
session transport udp  
dtmf-relay rtp-nte  
codec g711alaw  
fax-relay ecm disable  
fax rate disable  
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback pass-through g711alaw  
no vad  
!  
…  
sip-ua  
retry invite 1  
retry response 3  
retry bye 3  
retry cancel 3  
retry register 3  
timers trying 1000  
registrar ipv4:192.168.66.24:5060 expires 120  
sip-server ipv4:192.168.66.24  
!  
…

In this example I can define a dial-peer for 4000 extension without problems but I cant define a dial-peer for 100 extension because the username is less than 4 digits.

Anyone knows if there is any solution to solve this so that I can use the actual extensions of 3 digits with my VG224 and FreePBX?
