On Sat, Aug 30, 2008 at 9:02 PM, CLEMENT Fr?d?ric <fclement at viatelecom.com>wrote: > Hi, > > I wrote a little application whith an incoming call and and a outgoing one. > I want to commute "full-duplex" both calls. > > Here is my code : > > //------------------------------------------------------------- > void TSvi::HandleUserCommuteMsg(TApplication *App) > //------------------------------------------------------------- > { > TCall *Call1, *Call2; > > Call1 = > this->CallList->GetById(atoi(App->GetItemList()->GetItemValue("CallId1"))); > Call2 = > this->CallList->GetById(atoi(App->GetItemList()->GetItemValue("CallId2"))); > > _Logger->Log(LOG_INFO, "Commute %d <-> %d\n", > Call1->GetCallId(), Call2->GetCallId()); > > pjsua_conf_connect(pjsua_call_get_conf_port(Call1->GetCallId()), > pjsua_call_get_conf_port(Call2->GetCallId())); > // pjsua_conf_connect(pjsua_call_get_conf_port(Call2->GetCallId()), > pjsua_call_get_conf_port(Call1->GetCallId())); > } > > When I add the two "pjsua_conf_connect" lines as above, I get an > horrible noise. Could it be echo/feedback? > > When one is commented (as above), I have a correct one-way conversation. > If I comment the other line, I get nothing. > > Yes that's expected. Cheers Benny > What can it be ? > > Regards, > > Frederic > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080901/481e7b43/attachment-0001.html