Connectors
Leadsquared
LSQ IP-PSTN Connector
13 min
this exotel connector enables a leadsquared agent to receive incoming calls, visualize the call details, and provide make outbound calls on the lsq dashboard through the exotel softphone note the agent’s leg is on voip if you want to refer to the pstn pstn calling connector for lsq, please refer here you can also integrate multiple instances/accounts of exotel ( eg if multiple contact centers are in different regions you can now configure each of them as separate tabs one for an indian region, one for an international region, etc ) integration features click to call place outbound calls to customers from leadsquared directly call pop up all calls take place in a call pop up that has all information related to the call the agent will be able to pick up or reject incoming calls from this popup call log all call details are sent to lsq once the call is terminated call timer this will enable users to make calls only during preset timings prerequisites in order to have a successful integration with the leadsquared account, you must complete the following tasks sign up for an exotel account in the mumbai region ask the account manager to enable voip calling for your account verify your account through phone or email get your account kyc verified purchase exophone(vn) to be used by leadsquared users/agents for outbound calls lead must be created in leadsquared crm installation/ configuration leadsquared portal navigate to apps>apps marketplace on the leadsquared portal, search for the universal telephony connector, and click install add/ modify connector hover the cursor over the settings ⚙ icon and click configure click the add new connector button enter a name for the new connector, then click add virtual number copy the vn purchased from the exotel portal, and add the same in the virtual number field (prefix with country code followed by eg +91 ) coc config connector config / call timer this can be configured via the leadsquared app available on https //my exotel com/{accsid}/apps#available apps click on “know more” and then “install” configure the parameters that are shown call route url to be copied from leadsquared utc connector >> lead route v2 (screenshot below) pop up url to be copied from leadsquared utc connector >> agent pop up api (screenshot below) call log url to be copied from leadsquared utc connector >> call log api call start timer time in format hh\ mm\ ss allow calling from this time of the day default value = 00 00 00 call end timer time in format hh\ mm\ ss stop calling at this time of the day default value = 23 59 59 call allowed days select the days that you want to allow calling on parameters to be filled on the exotel dashboard note api key token base 64 value will be fetched only on clicking 'update' the same value needs to be copied onto the leadsquared connector click to call settings a) call route url copy the urls from the above fields from the lsq dashboard steps a,b,c kindly configure the leadroutev2 url do not use call route api which is depreciated only configure the url without query parameters (?caller id=\<phonenumber of caller/lead>\&agentinfo=\<pass true to retrieve entire agent information>) as mentioned eg the call route url for the above screenshot would be https //telephony in21 leadsquared com/1/api/telephony/leadroutev2/247ce167766855cc81588d6c7bf92cd526/2ef86c44 06b8 41eb a4e9 759ccc459e0a b) pop up url click on the ‘enable’ checkbox and save, the remaining options as pre configured on the lsq portal enable the "show phone call popup" checkbox in leadsquared user profile settings(https //in21 leadsquared com/settings/myprofile) c) call log url 3\ configure the click to call url in the utc configuration a url https //api lsq cocreate exotel com/v1/leadsquared/outbound/call/connect?agentnumber=@agentnumberwithcc\&customernumber=@phonenumberwithcountrycode\&virtualnumber=@virtualnumberwithcc\&agentid=@{user\ telephonyagentid,} b custom headers authorization base64 value of exotel api token/ key (available under “choose api key name “ on the leadsquared app on exotel appbazaar once the configuration is updated) ii accsid exotel account id (available on the leadsquared app on exotel appbazaar) c http method get call flow configuration for inbound calls exotel portal login to exotel acc (https //my in exotel com/ for mum stamp or https //my exotel com/ for sgp stamp) navigate to admin panel >> app bazar click on custom apps (+ create) to add a new flow add an ‘app name’ and create a new flow call start >> add a connect applet to begin the call flow connect applet select the ‘dial phone number(s) returned by url’ radio button enter the primary url https //api lsq cocreate exotel com/v1/leadsquared/inbound/call/dialwhom?accsid={accsid} create popup to enable pop up on the leadsquared portal https //api lsq cocreate exotel com/v1/leadsquared/inbound/call/popup?accsid={accsid} 7\ add a passthru applet in the “call conversation ends” section a passthru url https //api lsq cocreate exotel com/v1/leadsquared/inbound/call/passthru?accsid={accsid} b make passthru asynchronous (☑) 8\ add a passthru applet in the “if nobody answers” section passthru url https //api lsq cocreate exotel com/v1/leadsquared/inbound/call/passthru?accsid={accsid} make passthru asynchronous (☑) the above call flow setup can only handle calls from existing leads that are created and available in leadsquared to handle new callers whose data is not available in leadsquared, please add the below to the existing call flow the idea is to route the new callers to the groups available in exotel we will also send those call details to leadsquared based on which a new lead will be created on leadsquared post call completion 3\ you can also route the calls to a common customer care number by selecting “dial phone number(s)” and providing the customer care number in the field 2\ in dial whom of 2nd connect applet, choose a group to dial place the 2nd connect applet in the “ we didn't dial anyone ” section as mentioned below 4\ configure both agent popup and passthru with the below urls as same as it’s configured in the 1st connect applet to send popup data and call logs to leadsquared create popup https //api lsq cocreate exotel com/v1/leadsquared/inbound/call/popup?accsid={accsid} passthru applet (call conversation ends) https //api lsq cocreate exotel com/v1/leadsquared/inbound/call/passthru?accsid={accsid} passthru applet (if nobody answers) https //api lsq cocreate exotel com/v1/leadsquared/inbound/call/passthru?accsid={accsid} changes need to be made in lsq on exotel, reset the password for every user in the voip settings page sgp my exotel com/voipinfo mum my in exotel com/voipinfo switch the device type to sip for all users on the “co workers and groups” under the “manage” section page as mentioned below if the users are doing it themselves, on the lsq page, go to “my profile”, edit the “telephony agent id” and add the sip id of the user there enable both the “show phone call popup” and “is softphone enabled” to “yes” in the same settings page mentioned below sip id format=> sip \<voip username>, example sip\ mariyabb6c6dd61 if the admin is doing it for all the users, click on the profile icon, and click on “manage users” click on the gear icon and “edit” go to “other details” and click on “edit” here you can add the sip id of the user and enable softphone add the configuration for the softphone the admin needs to go to the utc connector, click on settings, and then “configure” navigate to “agent popup api” > “agent panel settings” toggle the “enable agent panel” to yes add the panel url softphone | exotel panel permissions add the text “allow=microphone” give a panel title that will be visible in the dialog in its closed state for more information, kindly refer to the “agent panel settings” section mentioned her click on “user agent mapping” on the menu on the left add all the users that you want to enable voip calling for and add the sip id in the “agent identifier login to the softphone open the respective softphone that you can find at the bottom sgp my exotel com/voipinfo mum my in exotel com/voipinfo fill in the below details and click on “save” 1\ sip id use the sip id provided in the lsq profile section example sip\ mariyabb6c6dd61 2\ sip password use the same password you have configured under the “get your users ready for ip calling” section you can find the below two values in the exotel’s voip settings page 3\ voip domain 4\ voip proxy
🤔
Have a question?
Our knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.