Strange double outgoing call on h323

Asterisk works as the converter between SIP and H.323. SIP - internal network, H.323 - VoIP telco.
Context responsible for switching:

[voip-sip]
exten => _.,1,Dial(OH323/9999#${EXTEN}@80.237.12.33|60)
exten => _.,1,Hangup
exten => _.,2,Hangup

Sense of record - on any number we call through OH323 using number with prefix 9999#.
80.237.12.33 - ip address of Telco softswitch. Timeout - 60 seconds
Addition before number 9999# is requirement of the Telco.
We call for example on 74957852525. The call passes successfully.

*CLI> – Executing Dial(“SIP/5060-087e3690”, “OH323/9999#74957852525@80.237.12.33|60”) in new stack
– H.323 call to 9999#74957852525@80.237.12.33 with codec(s) g729
– Outbound H.323 call to destination ‘9999#74957852525@80.237.12.33’, channel ‘OH323/9999#74957852525@80.237.12.33-ac98b353’.
– Called 9999#74957852525@80.237.12.33 > H.323 call ‘ip$localhost/5764-ac98b353’, exception CALL_PROGRESS. > H.323 call ‘ip$localhost/5764-ac98b353’, exception CALL_ALERTED.
– OH323/9999#74957852525@80.237.12.33-ac98b353 is making progress passing it to SIP/5060-087e3690
– OH323/9999#74957852525@80.237.12.33-ac98b353 is ringing > H.323 call ‘ip$localhost/5764-ac98b353’, exception CALL_ESTABLISHED.
– OH323/9999#74957852525@80.237.12.33-ac98b353 answered SIP/5060-087e3690
– Hungup ‘OH323/9999#74957852525@80.237.12.33-ac98b353’

And then something strange begins. After have hanged up there is a second call on number h
Whence it undertakes? Of cource the call does not pass (28 - Invalid number format)

== Spawn extension (voip-sip, 74957852525, 1) exited non-zero on ‘SIP/5060-087e3690’
– Executing Dial(“SIP/5060-087e3690”, “OH323/9999#h@80.237.12.33|60”) in new stack
– H.323 call to 9999#h@80.237.12.33 with codec(s) g729
– Outbound H.323 call to destination ‘9999#h@80.237.12.33’, channel ‘OH323/9999#h@80.237.12.33-ac98b354’.
– Called 9999#h@80.237.12.33
– Hungup ‘OH323/9999#h@80.237.12.33-ac98b354’
== Spawn extension (voip-sip, h, 1) exited non-zero on 'SIP/5060-087e3690’
Jul 18 00:01:58 WARNING[22039]: chan_oh323.c:4191 oh323_exec_request: Request to hangup call with null token
– H.323 call ‘ip$localhost/5764-ac98b353’ cleared, reason 1 (Cleared by local user), established (7 sec)
– H.323 call ‘ip$localhost/5765-ac98b354’ cleared, reason 24 (Call ended with Q.931 cause [28 - Invalid number format])

Somebody faced with similar?
How to remove this second call?

Dmitry

[voip-sip]
exten => _X.,1,Dial(OH323/9999#${EXTEN}@80.237.12.33|60)
exten => _X.,1,Hangup

is what you need. _. matches ANYthing, including the ‘h’ extension which is dialled after a call hangs up. Making it _X. requires there to be at least one numeric digit in the number.

hope that helps