=====Embed System under Same Domain ===== Same embeded domain means - agents login through asterCC panel - the start page and asterCC are under a same domain name, e.g., at the asterCC server. * First, we neet two files, sample.html and popup.html(source code on the bottom), as the page for receive events and popup, and upload the files to asterCC server. The path is /var/www/html/asterCC/app/webroot * The we need to set sample.html as the default page, and now we need to borrow the campaign module. * Enter [[en:module_manual:call center]] -> [[en:module_manual:call center:link urls]], and add a link, whose type has to be campaignurl, and we enter sample.html after the URL. * Enter [[en:module_manual:campaign]] -> [[en:module_manual:campaign:campaign]], and add a campaign, and choose sample.html as the campaign URL. * Enter [[en:module_manual:call center]] -> [[en:module_manual:call center:app binding]], and make this campaign the default inbound popup. * Enter [[en:module_manual:user]] -> [[en:module_manual:user:Agent Groups]] to edit agent group. Make this campaign the default outbound popup. {{:en:custom_development_guide:dev_link_url_add_en.jpg?direct&680|}} {{:en:custom_development_guide:dev_campaign_config_en.jpg?direct&680|}} {{:en:custom_development_guide:dev_app_bind_en.jpg?direct&680|}} {{:en:custom_development_guide:dev_agent_group_config_en.jpg?direct&680|}} * login as agents, place outbound calls with soft phones to acquire popup * and we can see that the new popups have acquired parameters through url {{:en:custom_development_guide:dev_agent_portal_en.jpg?direct&680|}} {{:en:custom_development_guide:dev_agent_portal_popup_en.jpg?direct&680|}} sample.html asterCC development sample (local domain)
Popup url:

Caller ID:

Type(1 inbound||2 outbound):

popup.html popup page




hello world, my url is