Dead air when making outbound calls

We have moved away from Trixbox and are now trying to get Asterisk to work on a Fedora 8 box. Our only issue is that when I try to make an outbound call, I get the message that the call was established but no call is made and I hear nothing but dead air on the headset. Incoming calls and internal calls are working fine. Also, I don’t get any error messages in the console. I’m using the standard .conf files that come with FreePBX.

Here’s an example log file of a test call:

-- Executing [95197443100@from-internal:1] Macro("SIP/222-08e191c0", "user-callerid|SKIPTTL|") in new stack
-- Executing [s@macro-user-callerid:1] NoOp("SIP/222-08e191c0", "user-callerid: device 222") in new stack
-- Executing [s@macro-user-callerid:2] Set("SIP/222-08e191c0", "AMPUSER=222") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("SIP/222-08e191c0", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("SIP/222-08e191c0", "1|Set|REALCALLERIDNUM=222") in new stack
-- Executing [s@macro-user-callerid:5] NoOp("SIP/222-08e191c0", "REALCALLERIDNUM is 222") in new stack
-- Executing [s@macro-user-callerid:6] Set("SIP/222-08e191c0", "AMPUSER=222") in new stack
-- Executing [s@macro-user-callerid:7] Set("SIP/222-08e191c0", "AMPUSERCIDNAME=Andreas Snethlage") in new stack
-- Executing [s@macro-user-callerid:8] GotoIf("SIP/222-08e191c0", "0?report") in new stack
-- Executing [s@macro-user-callerid:9] Set("SIP/222-08e191c0", "AMPUSERCID=222") in new stack
-- Executing [s@macro-user-callerid:10] Set("SIP/222-08e191c0", "CALLERID(all)="Andreas Snethlage" <222>") in new stack
-- Executing [s@macro-user-callerid:11] Set("SIP/222-08e191c0", "REALCALLERIDNUM=222") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("SIP/222-08e191c0", "0|Set|CHANNEL(language)=") in new stack
-- Executing [s@macro-user-callerid:13] NoOp("SIP/222-08e191c0", "TTL:  ARG1: SKIPTTL") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("SIP/222-08e191c0", "1?continue") in new stack
-- Goto (macro-user-callerid,s,23)
-- Executing [s@macro-user-callerid:23] NoOp("SIP/222-08e191c0", "Using CallerID "Andreas Snethlage" <222>") in new stack
-- Executing [95197443100@from-internal:2] Set("SIP/222-08e191c0", "_NODEST=") in new stack
-- Executing [95197443100@from-internal:3] Macro("SIP/222-08e191c0", "record-enable|222|OUT|") in new stack
-- Executing [s@macro-record-enable:1] GotoIf("SIP/222-08e191c0", "0?2:4") in new stack
-- Goto (macro-record-enable,s,4)
-- Executing [s@macro-record-enable:4] AGI("SIP/222-08e191c0", "recordingcheck|20080516-103554|1210948554.12") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck

recordingcheck|20080516-103554|1210948554.12: Outbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] NoOp(“SIP/222-08e191c0”, “No recording needed”) in new stack
– Executing [95197443100@from-internal:4] Macro(“SIP/222-08e191c0”, “dialout-trunk|1|5197443100||”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/222-08e191c0”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] ExecIf(“SIP/222-08e191c0”, “0|Authenticate|”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/222-08e191c0”, “0?disabletrunk|1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/222-08e191c0”, “DIAL_NUMBER=5197443100”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/222-08e191c0”, “DIAL_TRUNK_OPTIONS=trw”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/222-08e191c0”, “GROUP()=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/222-08e191c0”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/222-08e191c0”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/222-08e191c0”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/222-08e191c0”, “DIAL_TRUNK_OPTIONS=TW”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/222-08e191c0”, “outbound-callerid|1”) in new stack
– Executing [s@macro-outbound-callerid:1] GotoIf(“SIP/222-08e191c0”, “1?start”) in new stack
– Goto (macro-outbound-callerid,s,3)
– Executing [s@macro-outbound-callerid:3] NoOp(“SIP/222-08e191c0”, “REALCALLERIDNUM is 222”) in new stack
– Executing [s@macro-outbound-callerid:4] GotoIf(“SIP/222-08e191c0”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,9)
– Executing [s@macro-outbound-callerid:9] Set(“SIP/222-08e191c0”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:10] Set(“SIP/222-08e191c0”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:11] Set(“SIP/222-08e191c0”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:12] GotoIf(“SIP/222-08e191c0”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,16)
– Executing [s@macro-outbound-callerid:16] GotoIf(“SIP/222-08e191c0”, “1?usercid”) in new stack
– Goto (macro-outbound-callerid,s,18)
– Executing [s@macro-outbound-callerid:18] GotoIf(“SIP/222-08e191c0”, “1?report”) in new stack
– Goto (macro-outbound-callerid,s,22)
– Executing [s@macro-outbound-callerid:22] NoOp(“SIP/222-08e191c0”, “CallerID set to “Andreas Snethlage” <222>”) in new stack
– Executing [s@macro-dialout-trunk:12] AGI(“SIP/222-08e191c0”, “fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
> fixlocalprefix: Using pattern 519XXXXXXX
== fixlocalprefix: Dialpattern 519XXXXXXX matched. 5197443100 -> 5197443100
– AGI Script fixlocalprefix completed, returning 0
– Executing [s@macro-dialout-trunk:13] Set(“SIP/222-08e191c0”, “OUTNUM=w5197443100”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/222-08e191c0”, “custom=ZAP/1”) in new stack
– Executing [s@macro-dialout-trunk:15] GotoIf(“SIP/222-08e191c0”, “1?gocall”) in new stack
– Goto (macro-dialout-trunk,s,17)
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/222-08e191c0”, “dialout-trunk-predial-hook|”) in new stack
[May 16 10:35:54] WARNING[5934]: app_macro.c:214 _macro_exec: Context ‘macro-dialout-trunk-predial-hook’ for macro ‘dialout-trunk-predial-hook’ lacks ‘s’ extension, priority 1
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/222-08e191c0”, “0?bypass|1”) in new stack
– Executing [s@macro-dialout-trunk:19] GotoIf(“SIP/222-08e191c0”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:20] Dial(“SIP/222-08e191c0”, “ZAP/1/w5197443100|300|TW”) in new stack
– Called 1/w5197443100
– Zap/1-1 answered SIP/222-08e191c0

When I hang up the softphone I get the following log entries:

-- Hungup 'Zap/1-1'

== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘SIP/222-08e191c0’ in macro ‘dialout-trunk’
== Spawn extension (macro-dialout-trunk, s, 20) exited non-zero on ‘SIP/222-08e191c0’
– Executing [h@macro-dialout-trunk:1] Macro(“SIP/222-08e191c0”, “hangupcall|”) in new stack
– Executing [s@macro-hangupcall:1] ResetCDR(“SIP/222-08e191c0”, “w”) in new stack
– Executing [s@macro-hangupcall:2] NoCDR(“SIP/222-08e191c0”, “”) in new stack
– Executing [s@macro-hangupcall:3] GotoIf(“SIP/222-08e191c0”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing [s@macro-hangupcall:6] GotoIf(“SIP/222-08e191c0”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] GotoIf(“SIP/222-08e191c0”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,11)
– Executing [s@macro-hangupcall:11] Hangup(“SIP/222-08e191c0”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/222-08e191c0’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/222-08e191c0’

Again, any help would be greatly appreciated.

Andreas