My config:
[xx]
exten => _X.,1,Log(Notice,“Start a call xx”)
exten => _X.,n,Dial(SIP/1.1.1.1/${EXTEN},7,S(63))
exten => _X.,n,Log(Notice,“Stop dialing xx…”)
exten => _X.,n,Hangup
I calling via CLI (it dosent matter via CLI or CALL-file)
channel originate local/123@xx application playback welcome
And after answer the asterisk to do disconnect:
_-- Executing [123@xx:1] Log("Local/123@xx-0000002a;2", "Notice,"Start a call xx"") in new stack_
[Sep 20 14:38:31] NOTICE[2783][C-00000554]: Ext. 123:1 @ xx: “Start a call xx”
_ – Executing [123@xx:2] Dial(“Local/123@xx-0000002a;2”, “SIP/1.1.1.1/123,7,S(63)”) in new stack_
_ – Setting call duration limit to 63.000 seconds._
_ == Using SIP RTP CoS mark 5_
_ – Called SIP/1.1.1.1/123_
_ – SIP/1.1.1.1-00000029 answered Local/123@xx-0000002a;2_
_ – Launching playback(welcome) on Local/123@xx-0000002a;1_
_ – <Local/123@xx-0000002a;1> Playing ‘welcome.slin’ (language ‘en’)_
_ > 0x7f2b70058470 – Probation passed - setting RTP source address to 1.1.1.1:20110_
_ == Spawn extension (xx, 123, 2) exited non-zero on ‘Local/123@xx-0000002a;2’_
Could you please help me with the disconnect.
i can’t understand what happend