I want to transfer incoming call to phones context on same server, earlier I was transferring call to other server with below syntax and same was working fine.
same => n,Dial(SIP/192.168.1.203/400001,Tt)
now I tried this : same => n,Dial(SIP//400001,Tt)
I have written code for 400001 under [phones] context
exten =>400001,1,Background(AConnectingAdvisor)
exten =>400001,n,queue(support)
exten =>400001,n,Hangup()
Dial(Local/400001@default)
or
Goto(default,400001,1)
Thanks for very quick response I am new in asterisk but hope with the help for you guys will be champ in few years.hhahha
PRI is plugged on serverA so I have taken call on serverB through this command:
exten => 6656520,1,Dial(SIP/192.168.1.203/${EXTEN},To)
call directly route under phones context and then I take via different-diffrent logics & context to finally a context
[mytest]
exten => s,1,Answer()
same => n,Dial(SIP/192.168.1.203/400001,Tt)
and then want to transfer 400001
many many thanks issue resolved…thanks a lot working fine