{"id":4501,"date":"2019-08-22T16:20:21","date_gmt":"2019-08-22T14:20:21","guid":{"rendered":"https:\/\/technicadelarte.com\/kb\/?page_id=4501"},"modified":"2025-02-18T16:09:53","modified_gmt":"2025-02-18T14:09:53","slug":"connect-luci-using-sip","status":"publish","type":"page","link":"https:\/\/technicadelarte.com\/kb\/?page_id=4501","title":{"rendered":"Connecting LUCI with SIP"},"content":{"rendered":"<p>SIP (Session Initiation Protocol) is a protocol used in VoIP communications allowing users to make voice calls. Unlike the RTP protocol you need an external SIP server (like iptel.org) where both the receiver and transmitter can login (in SIP terms &#8220;REGISTER&#8221;) with a username (can also be a number) and password. Both devices register at the SIP server and then call each other by &#8220;dialing&#8221; the other username. The SIP server is only used to initiate the connection, after that, the audio data stream is directly send from SIP client to SIP client.<\/p>\r\n<p>This small How-to explains a step by step procedure to setup LUCI STUDIO or LUCI LIVE as a SIP client. So that they are able to make or receive a SIP call.<\/p>\r\n<p>First you need\u00a0 a SIP account at a third party SIP server service like iptel.org or <a href=\"https:\/\/sip.audio\/knowledgebase\/luci_live_ios.php\" target=\"_blank\" rel=\"noopener noreferrer\">sip.audio<\/a>. After the registering you will have the following account details:<\/p>\r\n<ul>\r\n<li>a username:\u00a0<em> johndoo or johndoo@sipserver.com<\/em><\/li>\r\n<li>a password: <em>jd2019<\/em><\/li>\r\n<li>SIP server domain: <em>sipserver.com<\/em><\/li>\r\n<li>Optional STUN server: <em>stun.sipserver.com<\/em><\/li>\r\n<\/ul>\r\n<p>These account credentials are used to register your LUCI to the SIP server. Only when you are registered, you can wait for a SIP call or call any other SIP client.<\/p>\r\n<h3>Method 1: Direct Station Call<\/h3>\r\n<p>To make a call, you must create a station profile in LUCI by selecting the function &#8220;Add \/ Edit new station&#8221;. You will see the profile editing screen.<\/p>\r\n<p><a href=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LLL-sip-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7636 size-full alignleft\" style=\"width: 400px;\" src=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LLL-sip-1.png\" alt=\"\" width=\"592\" height=\"475\" srcset=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LLL-sip-1.png 592w, https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LLL-sip-1-300x241.png 300w\" sizes=\"auto, (max-width: 592px) 85vw, 592px\" \/><\/a>Here you enter :<br \/><span style=\"color: #3366ff;\">name<\/span> : Station name or person you call with this station<br \/><span style=\"color: #3366ff;\">protocol<\/span>: SIP<br \/><span style=\"color: #3366ff;\">destination<\/span>: the sip account username, <em>optional with the @ sip server domain name or IP address if it is different from your account server.<\/em><br \/><span style=\"color: #3366ff;\">stun<\/span>: the optional stun server<br \/><span style=\"color: #3366ff;\">user<\/span>: your SIP account username with @ sip server domain name or IP address<br \/><span style=\"color: #3366ff;\">password<\/span>: your SIP account password<\/p>\r\n<p>When this station is selected and you press the register button <a href=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2017\/01\/ButtonConnectNormal.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-854\" src=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2017\/01\/ButtonConnectNormal.png\" alt=\"\" width=\"30\" height=\"30\" \/><\/a> , LUCI will be registered at <em>sipserver.com<\/em> with the <em>johndoo<\/em> user credentials. On success the button will stay red without any error message. As it is registered, it is now ready to receive SIP calls from any other SIP client.<\/p>\r\n<p>For calling <em>Janedoo<\/em> press the MIC button<a href=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2017\/01\/ButtonMicNormal.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-851\" src=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2017\/01\/ButtonMicNormal.png\" alt=\"\" width=\"30\" height=\"30\" \/><\/a> , and wait for <em>Janedoo<\/em> to answer your call. You can hangup by pressing the MIC button again.<\/p>\r\n<h3>Method 2: using the SIP user default settings<\/h3>\r\n<p>If you need to add more SIP destinations you should use the SIP default settings. Here you can enter your account credentials, making the Station profiles simpler. You can set your default credentials in the &#8220;Options \/ SIP&#8221; section.<\/p>\r\n<p><a href=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-options.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7641\" src=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-options.png\" alt=\"\" width=\"400\" height=\"407\" srcset=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-options.png 535w, https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-options-294x300.png 294w\" sizes=\"auto, (max-width: 400px) 85vw, 400px\" \/><\/a>Here you enter :<br \/><span style=\"color: #3366ff;\">user<\/span>: your SIP account username without the server domain<br \/><span style=\"color: #3366ff;\">password<\/span>: your SIP account password<br \/><span style=\"color: #3366ff;\">server<\/span>: sip server domain name or IP address<br \/><span style=\"color: #3366ff;\">displayname<\/span>: this name will show up on the callee&#8217;s display so they know who is calling.<br \/><a href=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LLL-sip-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-7637\" src=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LLL-sip-2.png\" alt=\"\" width=\"400\" height=\"319\" srcset=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LLL-sip-2.png 593w, https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LLL-sip-2-300x239.png 300w\" sizes=\"auto, (max-width: 400px) 85vw, 400px\" \/><\/a><br \/>All Stations can now made with only the destination name and selecting the &#8220;Default&#8221; option.<\/p>\r\n<h6>\u00a0<\/h6>\r\n<h3>Advanced SIP settings<\/h3>\r\n<p>In the Options SIP section you can change some advanced SIP features :<\/p>\r\n<p><span style=\"color: #3366ff;\">Use extra identities for incoming calls<\/span> : If you have more accounts on other SIP servers and you want to be able to receive calls on these accounts also, then you can add more SIP user credentials here :<\/p>\r\n<p><a href=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-servers.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7640 size-full\" src=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-servers.png\" alt=\"\" width=\"378\" height=\"267\" srcset=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-servers.png 378w, https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-servers-300x212.png 300w\" sizes=\"auto, (max-width: 378px) 85vw, 378px\" \/><\/a> <span style=\"color: #3366ff;\">name<\/span>: just an identifier<br \/><span style=\"color: #3366ff;\">user<\/span> and <span style=\"color: #3366ff;\">password<\/span>: your SIP account credentials for this sip server<br \/><span style=\"color: #3366ff;\">server<\/span>: the SIP server domain name.<br \/><span style=\"color: #3366ff;\">New<\/span> : press this to get an empty form<br \/><span style=\"color: #3366ff;\">Remove<\/span>: press this to remove the server<\/p>\r\n<p>On pressing the register button, LUCI is registered with all SIP accounts and can therefore be called by any clients of these servers. <em>Note: making a call is done through the main default SIP server.<\/em><\/p>\r\n<p><span style=\"color: #3366ff;\">Use IPv6 when available<\/span> : IPv6 is the new internet addressing method but it is not yet available on every network. If you are confident that your internet path to the SIP server is IPv6 capable you can select this option.<\/p>\r\n<p><span style=\"color: #3366ff;\">Auto Answer<\/span> : Select this option if you want to connect automatically upon being called.<\/p>\r\n<p><span style=\"color: #3366ff;\">rtp port<\/span> : The SIP server is only used connect the clients. Once connected the audio data is send through a different port. Normally port 5004 is used, but if your internet provider blocks this port or, for safety reasons, you want to use a different data port you can change it here.<\/p>\r\n<p><span style=\"color: #3366ff;\">Framing timeout<\/span> : If no audio data is received you can set a time to end the call.<\/p>\r\n<h3>Different SIP server port<\/h3>\r\n<p>The standard communications port for SIP is <span style=\"color: #3366ff;\">5060<\/span>. If for some reason your SIP Server provider uses a different port, you can add the port number to the server domain name\u00a0 separated by a colon (&#8220;:&#8221;). So at Stations <span style=\"color: #3366ff;\">destination <\/span><em>johndoo@sipserver.com:9070<\/em> or at the SIP default <span style=\"color: #3366ff;\">server <\/span><em>sipserver.com:9070<\/em><\/p>\r\n<h3>a &#8220;Wait for call&#8221; Station<\/h3>\r\n<p>When your LUCI needs to be in a constant &#8220;waiting to be called&#8221; mode, it is a good practise to define a special Station:<\/p>\r\n<p><a href=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-wait.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7639\" src=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-wait.png\" alt=\"\" width=\"400\" height=\"312\" srcset=\"https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-wait.png 567w, https:\/\/technicadelarte.com\/kb\/wp-content\/uploads\/2021\/11\/LS-sip-wait-300x234.png 300w\" sizes=\"auto, (max-width: 400px) 85vw, 400px\" \/><\/a>As destination you can either fill in<\/p>\r\n<pre class=\"dont-translate\">waitforcall<\/pre>\r\n<p>or if you want to automatically answer incoming calls to:<\/p>\r\n<pre class=\"dont-translate\">autoanswer<\/pre>\r\n<p>&nbsp;<\/p>\r\n<p><em>Note: For LUCI STUDIO you have the option to select &#8220;Follow Caller&#8221; as audio codec format, making the return stream match the incoming stream. This is an obsolete option for SIP, the return stream will always have the same codec as the incoming call. The set codec format will only be used when making calls.<\/em><\/p>\r\n<p><em>Note: waitforcall cannot be used in LUCI LIVE SE and LUCI LIVE Lite as they have only one Connect button. They can make a phone call but cannot wait to receive one.<\/em><\/p>\r\n<h3>Known SIP problems\/difficulties<\/h3>\r\n<ul>\r\n<li>All LUCI products can make a SIP call, but only LUCI STUDIO and LUCI LIVE \/ LUCI SUBSCRIBE MAX can receive a SIP call.<\/li>\r\n<li>There are mobile internet providers who are blocking SIP traffic on their cheaper subscriptions. The only solution is to change the provider or ask for a solution.<\/li>\r\n<li>Some combinations of routers and firewalls generate NAT (Network address translation) faults, causing the SIP Server to negotiating a wrong audio data port. This is noticeable at either the caller or the callee having no audio signal. Adding a &#8220;stun-server&#8221; could help, but not in all cases. For more info : <a href=\"https:\/\/www.voip-info.org\/nat-and-voip\" target=\"_blank\" rel=\"noopener\">https:\/\/www.voip-info.org\/nat-and-voip<\/a><\/li>\r\n<li>Some SIP client apps support only one or a few audio codecs like G722\u00a0 or AAC-HE or OPUS, and not all bitrates or sample frequencies.<\/li>\r\n<li>SIP uses a third party &#8220;in between&#8221; Server which means that your SIP connections can be monitored.<\/li>\r\n<li>Check your office phone equipment. If this is a Voip Server changes are it will eat up all SIP communication on your network, leaving your LUCI in the dark. A common solution is to get a SIP account on this Voip server.<\/li>\r\n<li>Many big radio stations implement their own SIP server systems so they have full control over their Codec park. Benefits are avoiding NAT issues, blocking of unknown origins, monitoring of calls, actively switch to unused codecs, distribute phonebooks etc.<\/li>\r\n<li>If you experience strange SIP behaviour like calls are not ended when the other side hangs-up, check your network router(s), some have a SIP-ARG module that modifies the SIP traffic between local and global, it either needs to be switched on or off depending on use of a STUN server.<\/li>\r\n<\/ul>\r\n\r\n<p class=\"wp-block-paragraph\">&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>SIP (Session Initiation Protocol) is a protocol used in VoIP communications allowing users to make voice calls. Unlike the RTP protocol you need an external SIP server (like iptel.org) where both the receiver and transmitter can login (in SIP terms &#8220;REGISTER&#8221;) with a username (can also be a number) and password. Both devices register at &hellip; <a href=\"https:\/\/technicadelarte.com\/kb\/?page_id=4501\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Connecting LUCI with SIP&#8221;<\/span><\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"parent":2300,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4501","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/pages\/4501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4501"}],"version-history":[{"count":89,"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/pages\/4501\/revisions"}],"predecessor-version":[{"id":9980,"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/pages\/4501\/revisions\/9980"}],"up":[{"embeddable":true,"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=\/wp\/v2\/pages\/2300"}],"wp:attachment":[{"href":"https:\/\/technicadelarte.com\/kb\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}