Can't hang up ringing call / Too Many Hops

I have an outgoing SIP trunk (to a VOIP termination service) running on Asterisk 1.4.21.

Outgoing calls work great, except when asterisk tries to disconnect them before the recipient has picked up the phone. If the caller hangs up during ringing, the recipients phone will continue to ring (until fax or voicemail picks up and ultimately hangs up). This makes ringall strategies very unpleasant :smile:

The last few lines in the log are:

-- Goto (macro-hangupcall,s,11) -- Executing [s@macro-hangupcall:11] Hangup("Local/XXXXXXXXXX@outbound-allroutes-409c,2", "") in new stack == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/XXXXXXXXXX@outbound-allroutes-409c,2' in macro 'hangupcall' == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'Local/XXXXXXXXXX@outbound-allroutes-409c,2' -- Got SIP response 483 "Too Many Hops" back from XX.XX.XX.XX

Which is identical to a successful hang up on a connected call, with the exception of the ā€œToo Many Hopsā€ line. All I could find on the 'net about this error is that it’s usually too ambiguous to help you, and that its usually a result of a routing loop. But I’m already connecting fine… is this a problem on my provider’s end?

I’m pretty new in the game so if I left out any important details, or if I’m missing something obvious… please let me know :smile:

Thanks

Hi, for the record, I was in touch with my provider’s support and they fixed the problem.