I am transferring the current session to mod_callcenter like this:
$session->transfer("47673503","XML","public");
where 47673503 is the extension number for the callcenter.
The call is getting hungup as soon as the program sees the above line. The console shows this:
2013-07-15 11:38:04.221516 [DEBUG] switch_ivr.c:1815 (sofia/internal/
5000@10.1.30.236) State Change CS_EXECUTE -> CS_ROUTING
2013-07-15 11:38:04.221516 [DEBUG] switch_core_session.c:1340 Send signal sofia/internal/
5000@10.1.30.236 [BREAK]
2013-07-15 11:38:04.221516 [DEBUG] sofia.c:5741 Channel sofia/internal/
5000@10.1.30.236 entering state [completed][200]
2013-07-15 11:38:04.221516 [DEBUG] sofia.c:5741 Channel sofia/internal/
5000@10.1.30.236 entering state [ready][200]
2013-07-15 11:38:04.221516 [DEBUG] switch_core_session.c:860 Send signal sofia/internal/
5000@10.1.30.236 [BREAK]
2013-07-15 11:38:04.221516 [NOTICE] switch_ivr.c:1822 Transfer sofia/internal/
5000@10.1.30.236 to XML[47673503@public]
2013-07-15 11:38:04.221516 [DEBUG] switch_cpp.cpp:844 transfer result: 0
Please help.
--
Ashish Gautam