Incoming sip peer

hi, i have an cisco access server 5400 that is my outgoing and incoming trunk at the same time, i used to configure both peers like this in sip.conf:

register => @prepago-in

[prepago-in]
type=friend
host=200.13.189.2
context = from-external
dtmfmode=rfc2833
insecure=very ; required for incoming FWD calls

[prepago-out]
type=peer ; we only want to call out, not be called
host=200.13.189.2
dtmfmode=rfc2833

im trying to do the same with freepbx but the incoming peer is not working, i have some questions about it?

  • is necesary to have two entries if the same ip is used for outgin and incoming calls?
  • i dont need username/pass in the cisco, i dont know what to put in the register string textbox.
    thanks for your help