I'v got some help from a frend, now I know how to add or edit voip cariers on cisco AS5300:
Adding new carrier
Inbound :
"dial-peer voice x" ( x give a name or number for the carier )
"pots" ( if imbound )
"description xxx" (xx discription of carier )
"destination-pattern xxxxx (xxxxxx the prefix )
"direct-inward-dial" ( disable connection tone, when a call is made the cisco by defoult send a tone,saying its connected but the real call is not yet connected so this is important cause otherwise the other side will caunt to fast and it will en in False Connect.)
"port 0

" ( 0

name of the E1 port, can be something alse )
"prefix xxx" ( xxx if you need to add prefix )
to save : "wr"
Outbound :
"dial-peer voice"
"dial-peer voice x" ( x give a name or number for the carier )
"voice" ( for outbound )
"session target ipv4:xxx.xxx.xxx.xxx" (dest IP)
"dtmf-relay" ( in case dtmf cahnges needed do ? for more options )
"codec g7xxxx" (iptional )
"no vad" ( if you dont need silence cancelation)
"description" ( discription of the carier )
"tech-prefix xxxx"( xxx if other side needs prefix )
"destination-pattern" xxxxx( I forgot what this is

this is the prefix something....)
"direct-inward-dial" ( disabling connection tone )
"port 0

" ( 0

is name of port )
"prefix xxx" ( if you need to add prefix )
"wr" ( to save )
if you want to delete any carrier just type in
"no dial peer xxx" (xxx for the carrier number or name)
My frend showed me how to do this, so I didnot have time to test it out 100% i connected 1 carier it works, so now I'm testing everything and debuging, to see if I didnot make any mistakes. Thanks anywhay.