No incoming calls (My own GUI)?

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

Here is a SIP trace

[Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [232@from-internal:1] Macro("SIP/225-0000006e", "exten-vm,novm,232") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:1] Macro("SIP/225-0000006e", "user-callerid,") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:1] Set("SIP/225-0000006e", "AMPUSER=225") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:2] GotoIf("SIP/225-0000006e", "0?report") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:3] ExecIf("SIP/225-0000006e", "1?Set(REALCALLERIDNUM=225)") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:4] Set("SIP/225-0000006e", "AMPUSER=225") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:5] Set("SIP/225-0000006e", "AMPUSERCIDNAME=Asim Jawaid-03455188801") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:6] GotoIf("SIP/225-0000006e", "0?report") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:7] Set("SIP/225-0000006e", "AMPUSERCID=225") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:8] Set("SIP/225-0000006e", "CALLERID(all)="Asim Jawaid-03455188801" <225>") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:9] ExecIf("SIP/225-0000006e", "0?Set(CHANNEL(language)=)") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:10] GotoIf("SIP/225-0000006e", "0?continue") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:11] Set("SIP/225-0000006e", "__TTL=64") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:12] GotoIf("SIP/225-0000006e", "1?continue") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-user-callerid,s,19) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:19] Set("SIP/225-0000006e", "CALLERID(number)=225") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:20] Set("SIP/225-0000006e", "CALLERID(name)=Asim Jawaid-03455188801") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-user-callerid:21] NoOp("SIP/225-0000006e", "Using CallerID "Asim Jawaid-03455188801" <225>") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:2] Set("SIP/225-0000006e", "RingGroupMethod=none") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:3] Set("SIP/225-0000006e", "VMBOX=novm") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:4] Set("SIP/225-0000006e", "__EXTTOCALL=232") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:5] Set("SIP/225-0000006e", "CFUEXT=") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:6] Set("SIP/225-0000006e", "CFBEXT=") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:7] Set("SIP/225-0000006e", "RT=""") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:8] Macro("SIP/225-0000006e", "record-enable,232,IN") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-record-enable:1] GotoIf("SIP/225-0000006e", "1?check") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-record-enable,s,4) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-record-enable:4] ExecIf("SIP/225-0000006e", "0?MacroExit()") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-record-enable:5] GotoIf("SIP/225-0000006e", "0?Group:OUT") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-record-enable,s,15) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-record-enable:15] GotoIf("SIP/225-0000006e", "1?IN") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-record-enable,s,20) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-record-enable:20] ExecIf("SIP/225-0000006e", "1?MacroExit()") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:9] Macro("SIP/225-0000006e", "dial-one,"",tr,232") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:1] Set("SIP/225-0000006e", "DEXTEN=232") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:2] Set("SIP/225-0000006e", "DIALSTATUS_CW=") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:3] GosubIf("SIP/225-0000006e", "0?screen,1") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:4] GosubIf("SIP/225-0000006e", "0?cf,1") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:5] GotoIf("SIP/225-0000006e", "1?skip1") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-dial-one,s,8) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:8] GotoIf("SIP/225-0000006e", "0?nodial") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:9] GotoIf("SIP/225-0000006e", "0?continue") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:10] Set("SIP/225-0000006e", "EXTHASCW=") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:11] GotoIf("SIP/225-0000006e", "1?next1:cwinusebusy") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-dial-one,s,12) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:12] GotoIf("SIP/225-0000006e", "0?docfu:skip3") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-dial-one,s,16) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:16] GotoIf("SIP/225-0000006e", "1?next2:continue") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-dial-one,s,17) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:17] GotoIf("SIP/225-0000006e", "1?continue") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-dial-one,s,25) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:25] GotoIf("SIP/225-0000006e", "0?nodial") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:26] GosubIf("SIP/225-0000006e", "1?dstring,1:dlocal,1") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [dstring@macro-dial-one:1] Set("SIP/225-0000006e", "DSTRING=") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [dstring@macro-dial-one:2] Set("SIP/225-0000006e", "DEVICES=") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/225-0000006e", "1?Return()") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:27] GotoIf("SIP/225-0000006e", "1?nodial") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-dial-one,s,41) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:41] ExecIf("SIP/225-0000006e", "1?Set(DIALSTATUS=NOANSWER)") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:42] NoOp("SIP/225-0000006e", "Returned from dial-one with nothing to call and DIALSTATUS: NOANSWER") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-dial-one:43] MacroExit("SIP/225-0000006e", "") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:10] GotoIf("SIP/225-0000006e", "0?exit") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:11] Set("SIP/225-0000006e", "SV_DIALSTATUS=NOANSWER") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:12] GosubIf("SIP/225-0000006e", "0?docfu,1") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:13] GosubIf("SIP/225-0000006e", "0?docfb,1") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:14] Set("SIP/225-0000006e", "DIALSTATUS=NOANSWER") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:15] NoOp("SIP/225-0000006e", "Voicemail is 'novm'") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-exten-vm:16] GotoIf("SIP/225-0000006e", "1?s-NOANSWER,1") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-exten-vm,s-NOANSWER,1) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s-NOANSWER@macro-exten-vm:1] NoOp("SIP/225-0000006e", "IVR_RETVM: IVR_CONTEXT: ") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s-NOANSWER@macro-exten-vm:2] GotoIf("SIP/225-0000006e", "0?exit,1") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s-NOANSWER@macro-exten-vm:3] PlayTones("SIP/225-0000006e", "congestion") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s-NOANSWER@macro-exten-vm:4] Congestion("SIP/225-0000006e", "10") in new stack [Feb 9 21:33:52] VERBOSE[7143] app_macro.c: == Spawn extension (macro-exten-vm, s-NOANSWER, 4) exited non-zero on 'SIP/225-0000006e' in macro 'exten-vm' [Feb 9 21:33:52] VERBOSE[7143] pbx.c: == Spawn extension (from-internal, 232, 1) exited non-zero on 'SIP/225-0000006e' [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [h@from-internal:1] Macro("SIP/225-0000006e", "hangupcall") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:1] GotoIf("SIP/225-0000006e", "1?endmixmoncheck") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-hangupcall,s,9) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:9] NoOp("SIP/225-0000006e", "End of MIXMON check") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:10] GotoIf("SIP/225-0000006e", "1?nomeetmemon") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-hangupcall,s,15) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:15] NoOp("SIP/225-0000006e", "MEETME_RECORDINGFILE=") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:16] GotoIf("SIP/225-0000006e", "1?noautomon") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-hangupcall,s,18) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:18] NoOp("SIP/225-0000006e", "TOUCH_MONITOR_OUTPUT=") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:19] GotoIf("SIP/225-0000006e", "1?noautomon2") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-hangupcall,s,25) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:25] NoOp("SIP/225-0000006e", "MONITOR_FILENAME=") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:26] GotoIf("SIP/225-0000006e", "1?skiprg") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-hangupcall,s,29) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:29] GotoIf("SIP/225-0000006e", "1?skipblkvm") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-hangupcall,s,32) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:32] GotoIf("SIP/225-0000006e", "1?theend") in new stack [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Goto (macro-hangupcall,s,34) [Feb 9 21:33:52] VERBOSE[7143] pbx.c: -- Executing [s@macro-hangupcall:34] Hangup("SIP/225-0000006e", "") in new stack [Feb 9 21:33:52] VERBOSE[7143] app_macro.c: == Spawn extension (macro-hangupcall, s, 34) exited non-zero on 'SIP/225-0000006e' in macro 'hangupcall' [Feb 9 21:33:52] VERBOSE[7143] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/225-0000006e'