Impossible to make outbound calls

Good morning,
i’ve set up a server for inbound and outbound calls. There are two different voip trunks, referenting outbound routes and inbound routes.
For the inbound calls there are NO problems, i can recive calls… but i don’t know what’s up with the uotbound routes because i cannot make calls…

"
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_START’,{ts ‘2013-06-25 13:21:40’},‘Office2’,‘402’,’’,’’,’’,‘0287167424’,‘from-internal’,‘SIP/402-0000004e’,’’,’’,3,’’,‘1372155700.78’,‘1372155700.78’,’’,’’,’’)]
– Executing [02871xxxxx@from-internal:1] ResetCDR(“SIP/402-0000004e”, “”) in new stack
– Executing [02871xxxxx@from-internal:2] NoCDR(“SIP/402-0000004e”, “”) in new stack
– Executing [02871xxxxx@from-internal:3] Progress(“SIP/402-0000004e”, “”) in new stack
– Executing [02871xxxxx@from-internal:4] Wait(“SIP/402-0000004e”, “1”) in new stack
> 0xb744f598 – Probation passed - setting RTP source address to 217.26.164.51:63036
– Executing [02871xxxxx@from-internal:5] Progress(“SIP/402-0000004e”, “”) in new stack
– Executing [02871xxxxx@from-internal:6] Playback(“SIP/402-0000004e”, “silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer”) in new stack
– <SIP/402-0000004e> Playing ‘silence/1.ulaw’ (language ‘en’)
– <SIP/402-0000004e> Playing ‘cannot-complete-as-dialed.gsm’ (language ‘en’)
– <SIP/402-0000004e> Playing ‘check-number-dial-again.gsm’ (language ‘en’)
– Executing [02871xxxxx@from-internal:7] Wait(“SIP/402-0000004e”, “1”) in new stack
– Executing [02871xxxxx@from-internal:8] Congestion(“SIP/402-0000004e”, “20”) in new stack
[2013-06-25 13:21:48] WARNING[11345][C-00000037]: channel.c:4816 ast_prod: Prodding channel ‘SIP/402-0000004e’ failed
== Spawn extension (from-internal, 02871xxxxx, 8) exited non-zero on ‘SIP/402-0000004e’
– Executing [h@from-internal:1] Hangup(“SIP/402-0000004e”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/402-0000004e’
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘HANGUP’,{ts ‘2013-06-25 13:21:48’},‘Office2’,‘402’,‘402’,’’,‘02871xxxxx’,‘h’,‘from-internal’,‘SIP/402-0000004e’,’’,’’,3,’’,‘1372155700.78’,‘1372155700.78’,’’,’’,’’)]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘CHAN_END’,{ts ‘2013-06-25 13:21:48’},‘Office2’,‘402’,‘402’,’’,‘02871xxxxx’,‘h’,‘from-internal’,‘SIP/402-0000004e’,’’,’’,3,’’,‘1372155700.78’,‘1372155700.78’,’’,’’,’’)]
> [INSERT INTO cel (eventtype,eventtime,cid_name,cid_num,cid_ani,cid_rdnis,cid_dnid,exten,context,channame,appname,appdata,amaflags,accountcode,uniqueid,linkedid,peer,userdeftype,userfield) VALUES (‘LINKEDID_END’,{ts ‘2013-06-25 13:21:48’},‘Office2’,‘402’,‘402’,’’,‘02871xxxxx’,‘h’,‘from-internal’,‘SIP/402-0000004e’,’’,’’,3,’’,‘1372155700.78’,‘1372155700.78’,’’,’’,’’)]
localhost*CLI>

Is somebody able to give informations abouth the issue, i cannot read theese scripts.

Tks

It appears you don’t even have an outbound route.

Also, in the future please provide FreePBX and system version and any info on the problem you are trying to solve (such as the trunk configs).

Good morning,
thanks for suggests.
i have FreePBX 2.11.0.2 on Asterisk (Ver. 11.4.0)
I made the outbound route, but i’m new user and probably somethink is going wrong with this route.
I don’t understand the logic and how can i chain this outbound route with the only two extensions that can make the calls with this trunk.
Im askyng if is the dial pattern that decide if this trunk and the relative route will be used or what…
In dial pattern i wrote:
(prepand) + 39 | .NXXNXXXXXX[ / ]
because i would make this route to call only in italy a fix numbers.
the trunks are registred:
Host dnsmgr Username Refresh State Reg.Time
sip.messagenet.it:5061 N 53xxxxx 105 Registered Fri, 28 Jun 2013 08:51:29
sip.messagenet.it:5061 N 53xxxxx 105 Registered Fri, 28 Jun 2013 08:51:29

The peers are ok:
Name/username Host Dyn Forcerport ACL Port Status Description
201/201 (Unspecified) D A 0 UNKNOWN
202/202 (Unspecified) D N A 0 UNKNOWN
299 (Unspecified) D A 0 UNKNOWN
401/401 92.xx.xx.xxx D A 32301 OK (108 ms)
402/402 (Unspecified) D A 0 UNKNOWN
499 (Unspecified) D A 0 UNKNOWN
messagenet02871xxxxx/5392 212.xx.xx.xx a 5061 OK (50 ms)
messagenet02871xxxxx/5397 212.xx.xx.xx a 5061 OK (51 ms)

Please suggest me what more infos i can give you,

Thanks