Asterisk dropping calls once it is answered

I have a couple of DIDs that is registered to a company that provides DIDs to me and for some weird reason all the DIDs are dropping the calls once it has been answered. This is the output for one of the calls:

– Called 0055001
– SIP/0055
001-08c0bcb8 is ringing
2008-02-28 22:25:48 NOTICE[8907]: achan.c:1346 handle_active_channel: last_bill: 1204255548
– SIP/0055*001-08c0bcb8 answered SIP/bgangaram-b705daf8
2008-02-28 22:25:54 NOTICE[26133]: app_billing.c:824 billing_exec: Dial finished
2008-02-28 22:25:54 NOTICE[26133]: charge.c:1121 partially_charge_call_for_client: Charging local call. No time interval needed.
2008-02-28 22:25:54 NOTICE[26133]: charge.c:1121 partially_charge_call_for_client: Charging local call. No time interval needed.
2008-02-28 22:25:54 NOTICE[26133]: charge.c:1121 partially_charge_call_for_client: Charging local call. No time interval needed.
== Spawn extension (macro-type-sipterminal, s, 4) exited non-zero on ‘SIP/bgangaram-b705daf8’ in macro ‘type-sipterminal’
== Spawn extension (macro-type-sipterminal, s, 4) exited non-zero on ‘SIP/bgangaram-b705daf8’ in macro ‘outside-to-internal’
== Spawn extension (macro-type-sipterminal, s, 4) exited non-zero on ‘SIP/bgangaram-b705daf8’

The company that provides the DIDs to me said that this is the message that is being sent back to their switch:

The numbers are routing properly, but the calls are currently being rejected by your equipment with a 603 Declined. Here are the logs from our switch:

– Executing Dial(“SIP/7189063644@bgangaram|90”) in new stack
– Called 7189063644@bgangaram
– Got SIP response 603 “Declined” back from xxx.xxx.xxx.xxx

Can anyone help me in resolving this issue. Thank you very much.

mail-archive.com/asterisk-us … 73970.html