Hi All,
I have configured the soft key on the phone & Asterisk to divert the call to mobile. Everything seems to be working fine, i am getting the call on mobile as well. But there is no audio both side.
Any idea what could be the issue? why i am not getting audio both side.
Here is the configuration
;123 DESKPHONE-EXTENSION
exten = 22334455,1,GotoIf(["{DEVICE_STATE(Custom:305)}" = “INUSE”]?5)
exten = 22334455,2,Dial(SIP/SIP-123,40,twk)
exten = 22334455,4,Hangup()
exten = 22334455,5,Dial(SIP/SIP-TRUNK/0123456789,45,twk)
exten = 22334455,6,Hangup()
Added under “internal” context:
; Mobile Divert
exten = 305,1,Answer()
exten = 305,2,GotoIf(["{DEVICE_STATE(Custom:305)}" != “INUSE”]?5)
exten = 305,3,Set(DEVICE_STATE(Custom:305)=Not_Inuse)
exten = 305,4,Hangup()
exten = 305,5,Set(DEVICE_STATE(Custom:305)=InUse)
exten = 305,6,Hangup()
exten = 305,hint,custom:305
Added softbutton with the name of Divert on Deskphone EXTENSION with value 305, this Divert the call to mobile number but no audio both ways.
Thanks