Local Channel Problem

Hello,

I am using the following settings…

Manager Api Command:

Action: Originate
Channel: Local/@tutorial
Exten: s
Context: ast
Priority: 1

extensions.conf settings

[ast]
exten => s,1,DeadAgi(approve-credit)

[tutorial]
exten => _X.,1,Dial(Zap/1/${EXTEN})
exten => _X.,n,Background(demo-congrats)
exten => _X.,n,Hangup()

but the above configuration can’t dial the number… here, i am posting the logs…

-- Executing Dial("Local/457@tutorial-6683,2", "Zap/1/457") in new stack

Dec 27 17:49:51 DEBUG[9948]: chan_zap.c:1914 zt_call: Dialing '457’
Dec 27 17:49:51 DEBUG[9948]: chan_zap.c:1986 zt_call: Deferring dialing…
– Called 1/457
Dec 27 17:49:51 DEBUG[9948]: chan_zap.c:2342 zt_hangup: Hangup: channel: 1 index = 0, normal = 23, callwait = -1, thirdcall = -1
Dec 27 17:49:51 DEBUG[9948]: chan_zap.c:1435 zt_disable_ec: disabled echo cancellation on channel 1
Dec 27 17:49:51 DEBUG[9948]: chan_zap.c:2782 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/1-1
Dec 27 17:49:51 DEBUG[9948]: chan_zap.c:1372 update_conf: Updated conferencing on 1, with 0 conference users
– Hungup 'Zap/1-1’
Dec 27 17:49:51 DEBUG[9948]: app_dial.c:1635 dial_exec_full: Exiting with DIALSTATUS=CANCEL.
== Spawn extension (tutorial, 457, 2) exited non-zero on ‘Local/457@tutorial-6683,2’

If i try to dial the same no using the soft phone registered with asterisk, it dials the same number successfully…

Please guide me, Where the things go wrong…

Thanking You,

Jigar Thakkar.

if it works with the softphone what is it not working with?

Phone/model?

Hello,

Thanks for your reply…

The diff b/w two situation is… if i tried to call using soft phone… the manger command will be like …

Action: Originate
Channel: SIP/ivan
Context: ast
Exten: s
Priority: 1

While if i tried to using local channel, instead of SIP/ivan… like Local/@tutorial, it gives the problem… And couldn’t dial a call, saying the Differing Call… As the log shows i posted above…

Please guide me regarding this…

Thanks & Regards,

Jigar Thakkar.