Hope someone can point me in a direction

Our company was running TrixBox 1.2.3 with FreePBX 2.1.3 and some 1.2.?? version of asterisk. We have a Cbeyond 16 channel SIP trunk for DID and outbound calls. With those versions, we had all inbound calls routed into a ring group with one extension in it. We would then do a call forward all calls to an outside cell phone number on the weekends. The setup would forward all inbound calls very nicely to the cell phone.

We recently upgraded to TB 2.0 then upgraded FreePBX to 2.2.0 (and subsequently, 2.2.1) The upgrade also took Asterisk to 1.2.15. Now the call forwarding is broke. If we call in from the outside and the extension is forwarded, the call goes directly to voicemail. We looked at the logs and apparently the outbond forwarded call gets an extension busy for some reason.

So, we are thinking about upgrading or downgrading asterisk to either 1.2.16 or 1.2.14. Can anyone tell me if that may be where the problem. I already tried changing version numbers on FreePBX. And, should I upgrade or downgrade?

Did u have call confirm on??? if so check the default recording
turn off call confrim and see if it works

Hi Bubba.

Thanks for the response!

What is call confirm? Where do I change it?

Also, here is some more info:

We have 16 Cbeyond SIP trunks and a set of trunks from VoipStreet. We use the Cbyond service for all inbound and outbound service and only use VoipStreet in an emergency.

What we are doing is forwarding any inbound calls back out to an outside phone number. So the call is supposed to come in on Cbeyond and right back out on Cbeyond. After the upgrade, the Cbeyond trunk reported busy for the outbound call.

So we decided to try forwarding the calls out the VoipStreet trunk. That works. If the call comes in on Cbeyond then is forwarded back out using VoipStreet, all is well. It is just when we forward a call coming in on Cbeyond back out on Cbeyond that does not work…after the upgrade.

OK you should post some snippet of the logs when you try the cyb outbound

check the outbound route insure you have the rollover setup right (bottom of the page …list of trinks in order that try)

Once again, thanks for the reply!

Here is a log entry… I changed some of the digits in the phone numbers for obvious reasons…

The scenario is this… The outside caller is calling (942) 941-1958. (The outside caller is calling from (942) 958-1599, which is shown as the CID in the log.) (942) 941-1958 is a DID that comes in on the SIP/9429992200 trunk (which is the Cbeyond SIP trunk) and is assigned directly to extension 1758.

The user of extension 1758 has set the extension to call forward all calls (*72) to 9 1 (942) 902-8963. (The special characters and the spacing is there for readability.) The first 9 in the dial string is the 9 for the outside line. The dialing rule 9|. is on the outbound route for the Cbeyond trunk.

When the caller calls in, the call immediately goes to the user’s voice mailbox. it does not ring the forwarded to number nor does it ring extension 1758. Here is the log…

Connected to Asterisk 1.2.15 svn rev 48468 currently running on asterisk1 (pid = 2562)
Verbosity is at least 15
– Executing Set(“SIP/9429992200-b7812bc8”, “FROM_DID=9429411958”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “FAX_RX=”) in new stack
– Executing Goto(“SIP/9429992200-b7812bc8”, “from-did-direct|1758|1”) in new stack
– Goto (from-did-direct,1758,1)
– Executing Macro(“SIP/9429992200-b7812bc8”, “exten-vm|1758|1758”) in new stack
– Executing Macro(“SIP/9429992200-b7812bc8”, “user-callerid”) in new stack
– Executing NoOp(“SIP/9429992200-b7812bc8”, “user-callerid: CELLULAR CALL 9429581599”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “0?report”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “0?start”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “REALCALLERIDNUM=9429581599”) in new stack
– Executing NoOp(“SIP/9429992200-b7812bc8”, “REALCALLERIDNUM is 9429581599”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “AMPUSER=”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “AMPUSERCIDNAME=”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “1?report”) in new stack
– Goto (macro-user-callerid,s,11)
– Executing NoOp(“SIP/9429992200-b7812bc8”, “TTL: ARG1: 1758”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “0?continue”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “_TTL=64”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,21)
– Executing NoOp(“SIP/9429992200-b7812bc8”, "Using CallerID “CELLULAR CALL " <9429581599>”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “FROMCONTEXT=exten-vm”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “VMBOX=1758”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “EXTTOCALL=1758”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “CFUEXT=”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “CFBEXT=”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “RT=30”) in new stack
– Executing Macro(“SIP/9429992200-b7812bc8”, “record-enable|1758|IN”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing DeadAGI(“SIP/9429992200-b7812bc8”, “recordingcheck|20070422-095359|1177253639.9930”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20070422-095359|1177253639.9930: Inbound recording not enabled
– AGI Script recordingcheck completed, returning 0
– Executing NoOp(“SIP/9429992200-b7812bc8”, “No recording needed”) in new stack
– Executing Macro(“SIP/9429992200-b7812bc8”, “dial|30|tr|1758”) in new stack
– Executing DeadAGI(“SIP/9429992200-b7812bc8”, “dialparties.agi”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
dialparties.agi: Starting New Dialparties.agi
dialparties.agi: priority is 1
dialparties.agi: Caller ID name is ‘CELLULAR CALL’ number is '9429581599’
dialparties.agi: Methodology of ring is ‘none’
> dialparties.agi: USE_CONFIRMATION: ‘FALSE’
> dialparties.agi: RINGGROUP_INDEX: ‘’
– dialparties.agi: Added extension 1758 to extension map
dialparties.agi: Extension 1758 has call forward set to 919429028963
> dialparties.agi: Primary ext is CF so disabling mastermode if it was set
> dialparties.agi: extnum: 919429028963#
> dialparties.agi: exthascw: 0
> dialparties.agi: exthascfb: 0
> dialparties.agi: extcfb:
> dialparties.agi: exthascfu: 0
> dialparties.agi: extcfu:
> dialparties.agi: Built External dialstring component for 919429028963: Local/919429028963@from-internal/n
– AGI Script dialparties.agi completed, returning 0
– Executing Dial(“SIP/9429992200-b7812bc8”, “Local/919429028963@from-internal/n|30|tr”) in new stack
– Called 919429028963@from-internal/n
– Executing Macro(“Local/919429028963@from-internal-2d4c,2”, “dialout-trunk|6|19429028963||”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “DIAL_TRUNK=6”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “_NODEST=”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “DIAL_NUMBER=19429028963”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “ROUTE_PASSWD=”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “1?noauth”) in new stack
– Goto (macro-dialout-trunk,s,8)
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “GROUP()=OUT_6”) in new stack
– Executing Macro(“Local/919429028963@from-internal-2d4c,2”, “user-callerid|SKIPTTL”) in new stack
– Executing NoOp(“Local/919429028963@from-internal-2d4c,2”, “user-callerid: CELLULAR CALL 9429581599”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “1?report”) in new stack
– Goto (macro-user-callerid,s,11)
– Executing NoOp(“Local/919429028963@from-internal-2d4c,2”, “TTL: 64 ARG1: SKIPTTL”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,21)
– Executing NoOp(“Local/919429028963@from-internal-2d4c,2”, "Using CallerID “CELLULAR CALL " <9429581599>”) in new stack
– Executing Macro(“Local/919429028963@from-internal-2d4c,2”, “record-enable|9429581599|OUT”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing DeadAGI(“Local/919429028963@from-internal-2d4c,2”, “recordingcheck|20070422-095359|1177253639.9932”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck|20070422-095359|1177253639.9932: No AMPUSER db entry for 9429581599. Not recording
– AGI Script recordingcheck completed, returning 0
– Executing NoOp(“Local/919429028963@from-internal-2d4c,2”, “No recording needed”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “0?skipoutcid”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “DIAL_TRUNK_OPTIONS=r”) in new stack
– Executing Macro(“Local/919429028963@from-internal-2d4c,2”, “outbound-callerid|6”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “0?start”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “REALCALLERIDNUM=9429581599”) in new stack
– Executing NoOp(“Local/919429028963@from-internal-2d4c,2”, “REALCALLERIDNUM is 9429581599”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “0?normcid”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “0?normcid”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “0?normcid”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “USEROUTCID=9429581599”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “1?bypass:normcid”) in new stack
– Goto (macro-outbound-callerid,s,10)
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “EMERGENCYCID=”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “TRUNKOUTCID=“Equity Ventures Realty” <9429992200>”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,16)
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “0?usercid”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “CALLERID(all)=“Equity Ventures Realty” <9429992200>”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “0?report”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “CALLERID(all)=9429581599”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “1?report:hidecid”) in new stack
– Goto (macro-outbound-callerid,s,22)
– Executing NoOp(“Local/919429028963@from-internal-2d4c,2”, “CallerID set to “” <9429581599>”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “0?nomax”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “0?chanfull”) in new stack
– Executing DeadAGI(“Local/919429028963@from-internal-2d4c,2”, “fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
– AGI Script fixlocalprefix completed, returning 0
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “OUTNUM=19429028963”) in new stack
– Executing Set(“Local/919429028963@from-internal-2d4c,2”, “custom=SIP/Cbeyond”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “0?customtrunk”) in new stack
– Executing Dial(“Local/919429028963@from-internal-2d4c,2”, “SIP/Cbeyond/19429028963|300|r”) in new stack
– Called Cbeyond/19429028963
– Local/919429028963@from-internal-2d4c,1 is ringing
– Got SIP response 604 “Does not exist anywhere” back from 192.168.22.212
== No one is available to answer at this time (1:0/0/0)
– Executing Goto(“Local/919429028963@from-internal-2d4c,2”, “s-NOANSWER|1”) in new stack
– Goto (macro-dialout-trunk,s-NOANSWER,1)
– Executing NoOp(“Local/919429028963@from-internal-2d4c,2”, “Dial failed due to trunk reporting NOANSWER - giving up”) in new stack
– Executing PlayTones(“Local/919429028963@from-internal-2d4c,2”, “congestion”) in new stack
– Executing Congestion(“Local/919429028963@from-internal-2d4c,2”, “20”) in new stack
– Local/919429028963@from-internal-2d4c,1 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
– Executing GosubIf(“SIP/9429992200-b7812bc8”, “0?docfu|1”) in new stack
– Executing GosubIf(“SIP/9429992200-b7812bc8”, “0?docfb|1”) in new stack
– Executing NoOp(“SIP/9429992200-b7812bc8”, “Voicemail is 1758”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “0?s-CONGESTION|1”) in new stack
– Executing NoOp(“SIP/9429992200-b7812bc8”, “Sending to Voicemail box 1758”) in new stack
– Executing Macro(“SIP/9429992200-b7812bc8”, “vm|1758|CONGESTION”) in new stack
– Executing Macro(“SIP/9429992200-b7812bc8”, “user-callerid|SKIPTTL”) in new stack
– Executing NoOp(“SIP/9429992200-b7812bc8”, “user-callerid: CELLULAR CALL 9429581599”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “0?report”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “1?start”) in new stack
– Goto (macro-user-callerid,s,5)
– Executing NoOp(“SIP/9429992200-b7812bc8”, “REALCALLERIDNUM is 9429581599”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “AMPUSER=”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “AMPUSERCIDNAME=”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “1?report”) in new stack
– Goto (macro-user-callerid,s,11)
– Executing NoOp(“SIP/9429992200-b7812bc8”, “TTL: 64 ARG1: SKIPTTL”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,21)
– Executing NoOp(“SIP/9429992200-b7812bc8”, "Using CallerID “CELLULAR CALL " <9429581599>”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “VMGAIN=”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “1?s-CONGESTION|1”) in new stack
– Goto (macro-vm,s-CONGESTION,1)
– Executing Macro(“SIP/9429992200-b7812bc8”, “get-vmcontext|1758”) in new stack
– Executing Set(“SIP/9429992200-b7812bc8”, “VMCONTEXT=default”) in new stack
– Executing GotoIf(“SIP/9429992200-b7812bc8”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing NoOp(“SIP/9429992200-b7812bc8”, “”) in new stack
– Executing VoiceMail(“SIP/9429992200-b7812bc8”, “1758@default|u”) in new stack
– Playing ‘/var/spool/asterisk/voicemail/default/1758/unavail’ (language ‘en’)
== Spawn extension (macro-dialout-trunk, s-NOANSWER, 3) exited non-zero on ‘Local/919429028963@from-internal-2d4c,2’ in macro ‘dialout-trunk’
== Spawn extension (macro-dialout-trunk, s-NOANSWER, 3) exited non-zero on ‘Local/919429028963@from-internal-2d4c,2’
– Executing Macro(“Local/919429028963@from-internal-2d4c,2”, “hangupcall”) in new stack
– Executing ResetCDR(“Local/919429028963@from-internal-2d4c,2”, “w”) in new stack
– Executing NoCDR(“Local/919429028963@from-internal-2d4c,2”, “”) in new stack
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,6)
– Executing GotoIf(“Local/919429028963@from-internal-2d4c,2”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing Wait(“Local/919429028963@from-internal-2d4c,2”, “5”) in new stack
== Spawn extension (macro-vm, s-CONGESTION, 2) exited non-zero on ‘SIP/9429992200-b7812bc8’ in macro ‘vm’
== Spawn extension (macro-vm, s-CONGESTION, 2) exited non-zero on ‘SIP/9429992200-b7812bc8’ in macro ‘exten-vm’
== Spawn extension (macro-vm, s-CONGESTION, 2) exited non-zero on ‘SIP/9429992200-b7812bc8’
– Executing Hangup(“Local/919429028963@from-internal-2d4c,2”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 10) exited non-zero on ‘Local/919429028963@from-internal-2d4c,2’ in macro ‘hangupcall’
== Spawn extension (macro-hangupcall, s, 10) exited non-zero on 'Local/919429028963@from-internal-2d4c,2’
asterisk1*CLI>

Sorry for such a long post. Thanks for your help!

Today I had an issue with one customer not been able to dial out after upgrade to version 2.7 on freepbx.
After several hours of testing and trying to find out why we received 604 error message from Broadsoft the conclussion is that Broadsoft will not allow you to dial from a caller ID that is not in the list of phone numbers assigned to you by the carrier.
But how if something was working suddenly is not?
Easy… on version 2.7 Outbound Caller Id does not sends the Information on the “Me&Other Company” <7031112341> as an example.
It will send instead the extension number which will not be recognized by CBEYOND and due to this reply with a 604.
Even if you set the trunk to force CID it will not get recognized so for this we removed the “Me&Other Company” and left only <7031112341> which solved the problem.

Hope this can help some customers solve problems faster with CBEYOND if decided to upgrade to framework 2.7

Kind regards,

Saul Bejarano
Procomm Consulting, Inc.
[email protected]
703-636-7111