Asterisk not hanging up

I have just started looking into using Asterisk from source, latest version but I am having a problem.

I have followed the config guide on the sipgate web site for configuring Asterisk with their PSTN gateway service and I have mostly got it working except when I dial out from Asterisk to a PSTN number hangups are not detected. For example if I call my home phone and hangup after 1 ring the phone keeps ringing and ringing.

VOIP calls to sipgate numbers seem to work OK and incoming calls also appear to work OK.

Anyone with any ideas? Does anyone have sipgate working with asterisk?

Many thanks

Simon

You may try to set priindication = outofband in zapata.conf or look through indications.conf to see if you use correct settings