Call drop in redirecting external calls

Hi All,

I have a problem in call transfer.

I have a DID number and SIP trunk. Inbound and Ounbound calls are working without any problem. I have a dialplan that redirect calls to an external number (my cell phone)that begin with 6 (_6*). When call is made from an internal number (for ex 8000) the call is redirected to my cell phone without any problem.

When the same transfer is made for an external incoming call (first call is sent to an internal number and after 5 seconds it is redirected) the call is dropped. In SIP logs I only see a REFER message and a BYE message coming out of asterisk. The log printed in asterisk is as follows. I am suspicious call is dropped because both legs are on the same trunk.

I can not find out anything from the logs I have. Is there anyone who can give me a hint or tell me which logs I can check for it.

– Executing [[email protected]:9] Transfer(“SIP/78.46.42.74-00000021”, “SIP/905556960917”) in new stack
– Executing [[email protected]:10] Hangup(“SIP/78.46.42.74-00000021”, “”) in new stack
== Spawn extension (from-trunk, 6001, 10) exited non-zero on ‘SIP/78.46.42.74-00000021’
– Executing [[email protected]:1] Hangup(“SIP/78.46.42.74-00000021”, “”) in new stack
== Spawn extension (from-trunk, h, 1) exited non-zero on ‘SIP/78.46.42.74-00000021’
== Manager ‘is_user’ logged off from 192.168.0.22
– Executing [[email protected]:1] Macro(“SIP/6001-0000001f”, “hangupcall,”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/6001-0000001f”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [[email protected]:4] GotoIf(“SIP/6001-0000001f”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] GotoIf(“SIP/6001-0000001f”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [[email protected]:9] Hangup(“SIP/6001-0000001f”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/6001-0000001f’ in macro ‘hangupcall’
== Spawn extension (macro-dialout-trunk, h, 1) exited non-zero on ‘SIP/6001-0000001f’

== Spawn extension (macro-dialout-trunk, s, 19) exited non-zero on ‘SIP/6001-0000001f’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 00442030269224, 4) exited non-zero on ‘SIP/6001-0000001f’
– Executing [[email protected]:1] Macro(“SIP/6001-0000001f”, “hangupcall”) in new stack
– Executing [[email protected]:1] GotoIf(“SIP/6001-0000001f”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [[email protected]:4] GotoIf(“SIP/6001-0000001f”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [[email protected]:7] GotoIf(“SIP/6001-0000001f”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [[email protected]:9] Hangup(“SIP/6001-0000001f”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/6001-0000001f’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/6001-0000001f’
localhost*CLI>

I don`t have this bug in my release right, is there anyone who can guide me?

Asterisk version? Is it this bug?

Asterisk version is 1.6.2.11. Asterisk now 1.7 32 bit.
They say ‘This bug has been in 1.4 since 1.4.38-rc1; in 1.6 since 1.6.2.15-rc1’ does it mean I don’t have this bug in my release? It seems so similar.