No incoming calls?

Hello every one i am new to this forum… I have created my own GUI to create ,edit and delete SIP accounts with additional fields like Employee Department, Designation etc…
For these transactions i am using asterisk database and three tables users, devices and sip.
SIP accounts are registered successfully but no outgoing and incoming calls.
When i create new account through Elastix GUI (e.g 250) then from 249 (account created through my GUI) i am able to call on 250…But when i call from 250 to 249 then call is not established…
Can any one please explain ???

I am using Elastix 2.3 with Asterisk 1.8