I am having problem for my following scenerio, plz suggest any improvements or some other stable technique.
I want to call someone thrugh IAX2, when connected i want to connect it to the Agent through queue. My details are below:
exten => 500,1,Dial(IAX2firstname.lastname@example.org/s@default,G(demo^4^1))
exten => 4,1,Queue(test|tT|||30)
; Agent Login
exten => 5,1,AgentLogin(12)
and thru the manager interface:
When i issue the above command, agent gets a beep and then there is silence, nothing happens. When i try to soft hangup the Agent channel i.e. soft hangup SIP/901-9c14, it says :
*CLI> soft hangup SIP/901-9c14
Requested Hangup on channel ‘SIP/901-9c14’
and it doesn’t hangs the channel, even if i powerof my ip phone.