What shows up in the CLI and when ? Do you know if you when you hang up the phone that the line coming in to the box actually goes dead ? It could be a telco issue. What do you have in the CLI ?
How are the phones connected to the Asterisk box? Is it Via IP or directly into an FXO/FXS port?
I know SIP sometimes can have a very slow Call Tare down, not sure about IAX2 as we are still playing around with it, but if it is directly connected to a TDM card, then it could be a carrier issue.
I’ve got both SIP and FXS extensions. Both start ringing at the same time and both end ringing at the same time.
I’ve tried calling into the system by myself and at the same time watching CLI, I can see that the Zap channel cannot detect hangup immediately (always have a delay for around 3 sec, i.e. ~ 3 rings), but if Zap channel detected a hangup, all my extensions stop ringing, therefore, it should be something related to Zap FXO channel, also, there’s no such delay problem between extensions calls.
if you’re talking about the carrier, I’ve tried connecting the FXO port to one of the extension of my existing Panasonic PBX, same problem occurs. (Call from PSTN or calls from another extension are having the same result)
Here is what I can see in CLI:
(when incoming call…)
– Starting simple switch on ‘Zap/4-1’
– Executing [s@pstn:1] Dial(“Zap/4-1”, “ZAP/1&SIP/8003|30”) in new stack
– Called 1
– Called 8003
– Zap/1-1 is ringing
– SIP/8003-08222458 is ringing
(Incoming call hangup and after approx. 3 secs)
– Hungup ‘Zap/1-1’
== Spawn extension (pstn, s, 1) exited non-zero on ‘Zap/4-1’
– Hungup ‘Zap/4-1’