Here is a part of the code, the caller calls SEMS, then using dialout SEMS 
calls the callee, i have two problem , when the callee answered the call is 
established in his side,
but the even is not sent to the caller eventhough i follow the quizconnect app, 
second one to leave a message if no answer
 
Callee:
---------
initial state START;
transition "got INVITE in caller leg" START - invite -> RUN_INVITE;

state RUN_INVITE enter {
  set($connect_session=0);
  dlg.acceptInvite(183, Session Progress);
    setInOutPlaylist();
   set(b_leg_caller=x);
   set(b_leg_callee=y);
   set(b_leg_domain=iptel.org);
   set(b_leg_app=callee);
   set(b_leg_auth_user=x);
   set(b_leg_auth_pwd=mypass);
   
   set(b_leg_var.a_ltag=@local_tag);
   dlg.dialout(b_leg);
   log(2,$b_leg_ltag);
  setTimer(1, 10);
};
 
transition "Caller Answered" RUN_INVITE - test(#b_status==MATCHED) / {
  closePlaylist(false);
  dlg.acceptInvite(200, OK);
  conference.join(@local_tag);
} -> CONNECTED;
state CONNECTED;

transition "No answer " RUN_INVITE  - { failed , timerTest(#id==1) } -> Record;
state Record;
-----------------------------------------------------------------------------
Caller:
--------
initial state START;
transition "session starts in callee leg" START - sessionStart / {
log(3,$a_ltag);     -- always blank , not working  
set($b_status=MATCHED);
postEvent($a_ltag, b_status);
conference.join($a_ltag);
} -> CONNECTED;
state CONNECTED;
                                          
_______________________________________________
Sems mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/sems

Reply via email to