Outbound Called number keeps ringing

Hi Freepbx community,

I have recently built and now testing an asterisk/freepbx installation. I am running asterisk (1.4.23.1) on CentOS 5.2 (2.6.18-92.el5 #1 SMP) and have installed freepbx (2.5.1.2).

I am encountering a strange problem and that is, when an internal sip client makes an outbound call to a PSTN/GSM phone and the internal sip client hangs up before the PSTN/GSM phone is picked up, the PSTN/GSM phone keeps ringing.

I enabled debugging in the asterisk cli and noticed the hangup message sent by the sip client:

– Executing [s@macro-hangupcall:11] Hangup(“SIP/111-bc017da0”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 11) exited non-zero on ‘SIP/111-bc017da0’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/111-bc017da0

Any pointers on what I can do next to trouble shoot this problem ?

Thanks