by pankajthakur » Wed Jul 04, 2012 2:59 am
Hi All,
I have an issue related to call transfer to Tech Support in IVR. While the call comes to IVR i.e. on DID number from external number, the IVR prompts are playing. In between the IVR we have the option to transfer to Tech Support, means the call should transfer to Tech Support. But the call is not transferring to Tech Support. We are using the following code to transfer the call
exten => _X.,1,Set(CALLERID(num)=9852XXXXXX)
exten => _X.,n,Dial(SIP/9852XXXXXX/9853XXXXXX)
When we are registering the Soft-phone to the asterisk server with same DID(9852XXXXXX) and calling to IVR, at that time we are able to transfer the call to Tech Support. But when we are registering the Soft phone with any number other than DID or we are calling from any other external number to IVR, at that time we are not able to transfer the call to Tech Support.
Here are the logs when we are registering the soft-phone with DID number and calling to IVR.
-- Executing [_X.@TechSupport:2] Dial("SIP/9852XXXXXX-000001e0", "SIP/9852XXXXXX/9853XXXXXX") in new stack
== Using SIP RTP CoS mark 5
-- Called 9852XXXXXX/9853XXXXXX
[Jul 3 05:04:50] WARNING[18640]: chan_sip.c:12799 __set_address_from_contact: Invalid host name in Contact: (can't resolve in DNS) : '9852XXXXXX'
-- SIP/9852XXXXXX-000001e1 answered SIP/9852XXXXXX-000001e0
-- Packet2Packet bridging SIP/9852XXXXXX-000001e0 and SIP/9852XXXXXX-000001e1
== Spawn extension (TechSupport, _X., 2) exited non-zero on 'SIP/9852XXXXXX-000001e0'
ivr-01*CLI>
The logs when we are calling from Soft-phone which is registered with 2000 to asterisk server.
-- Executing [_X.@TechSupport:2] Dial("SIP/2000-000001e3", "SIP/9852XXXXXX/9853XXXXXX") in new stack
== Using SIP RTP CoS mark 5
[Jul 3 06:03:49] WARNING[30495]: app_dial.c:1780 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'SIP/2000-000001e3' status is 'CHANUNAVAIL'
ivr-01*CLI>
When the call will come to IVR from any external number then in logs the external number will appear in stead of 2000.
I need your help to resolve this issue. Please help.
Thanks