Difference between revisions of "Dial Local"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Description =  
= Description =  


This function allows to dial local extension.
This function allows one to dial a local extension.


Most often it is used to allow to reach local users dialing DID from outside.
Most often it is used to allow one to reach local users by dialing DID from outside.


* Somebody from outside PSTN dials access DID
* Somebody from outside PSTN dials access DID.
* Enters Local Extension
* Enters Local Extension.
* Local extension rings  
* Local extension rings.




Line 13: Line 13:
= Configuration =  
= Configuration =  


Video how to create PBX Function "Dial Local" and assign it to some DID:
Video how to create PBX Function "Dial Local" and assign it to a DID:
 
'''Please note that the following videos show functionality in older versions of MOR. In newer MOR versions PBX functionality is moved to Addons->PBX Functions section. Also, PBX addon must be enabled to use this functionality.'''


<flashow>http://wiki.kolmisoft.com/videos/dial_local_pbx_function_setup_to_did.swf|width=600|height=455</flashow>
<flashow>http://wiki.kolmisoft.com/videos/dial_local_pbx_function_setup_to_did.swf|width=600|height=455</flashow>


If you want to play some audio before entering local extension assign such DID to IVR (which plays necessary audio).
If you want to play some audio before entering the local extension, assign such DID to IVR (which plays the necessary audio).


Video how to do that '''(ALL ACTIONS IN FIRST VIDEO ALREADY MUST BE DONE BEFORE STARTING ON THIS VIDEO!)''':
Video on how to do this '''(ALL ACTIONS IN THE FIRST VIDEO MUST ALREADY BE DONE BEFORE STARTING ON THIS VIDEO!)''':


<flashow>http://wiki.kolmisoft.com/videos/dial_local_with_audio_ivr.swf|width=600|height=455</flashow>
<flashow>http://wiki.kolmisoft.com/videos/dial_local_with_audio_ivr.swf|width=600|height=455</flashow>


Now dialing DID 22222 audio will be played asking to enter local extension.
Now, when DID 22222 is dialed, audio will be played asking for the local extension to be entered.


NOTE: DIDs 11111 and 22222 are just for demo purposes - instead of 22222 use real DID, you can use fake DID 11111 if you will not use it directly.
NOTE: DIDs 11111 and 22222 are just for demo purposes - instead of 22222, use a real DID. You can use Fake DID 11111 if you will not be using it directly.




<br><br>
<br><br>
= Checking =
= Checking =


For such configuration you will need 2 DIDs, one of them can be fake (11111 in our example) another should be read (22222 in our example).
<big><big><b>DIDs in example 11111 and 22222 are JUST for DEMO purposes! Use your own correct DIDs!</b></big></big>


After you done configuration by videos and it fails to work, first thing to do is to call your primary DID (11111 in our example and see if you end up in your IVR where you can enter local extension).
For this configuration you will need two DIDs. One of them can be fake (11111 in our example), and the other should be real (22222 in our example).


* If you can - then you made mistake in second video.  
If you do configuration following the instructions in the videos and it fails to work, the first thing to do is to call your primary DID (11111 in our example) and see if you end up in your IVR, where you can enter the local extension.
* If you can not - you made mistake in first video (at least).
 
* If you can - then you made a mistake in following the second video.  
* If you can not - you made a mistake in following the first video (at least).


Recheck accordingly. Fix. Retest.
Recheck accordingly. Fix. Retest.


Following screenshots are for quick check on configuration. Change 11111/22222 to your DIDs.  
The following screenshots are for a quick check on configuration. Change 11111/22222 to your DIDs.
 
The important parts are marked in red. Check whether you have a similar configuration.


<big><big><b>DIDs in example 11111 and 22222 is JUST for DEMO purposes! Use your own correct DIDs!</b></big></big>


[[Image:dial_local_check1.png]]
[[Image:dial_local_check1.png]]
Line 56: Line 62:
[[Image:dial_local_check6.png]]
[[Image:dial_local_check6.png]]


In last picture t and i actions forwards back to IVR which means that if user presses anything in IVR or does not press anything - he will be routed back to IVR to retry.
In the last picture, 't' and 'i' actions forward back to IVR, which means that if the user presses anything in IVR, he will be routed back to IVR to retry.
 
In other words, the user needs to hear the whole recording before he can start entering the local extension.
 
 
=Dial Local sound file=
<!---This functionality is available from MOR 9--->
After selecting Dial Local you can also specify a sound file to play in edit menu. This sound file will be played when user calling to DID is connected to Dial Local, afterwards system asks to enter local destination:
<br><br>
[[File:Pbx_dial_local_sound_file.png]]
<br><br>
 
=Dial Local Invalid extension IVR=
<!---This functionality is available from MOR X12--->
After selecting Dial Local you can also specify Invalid extension IVR. This IVR will be played if user entered invalid extension (extension is considered invalid if it does not exist in PBX pool selected in Dial Local Edit window and Global PBX pool). If no Invalid extension IVR is selected and user enters invalid extension, MOR will try to call outside.
<br><br>
[[File:Dial_local_invalid_extension.png]]
<br><br>
 
= Troubleshooting =
 
If all else fails, check [[Asterisk CLI]]
 
If you see something like this:
 
    -- Executing Dial("Local/*99@mor_local-05df,2", "SIP/1007|60")
[Oct  9 12:54:13] WARNING[5605]: app_dial.c:1196 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
  == Everyone is busy/congested at this time (1:0/0/1)
 
... this means that the device which you dialed (1007 in our example) is offline and cannot be reached.
 
This is not an IVR problem. Make sure the device is registered to Asterisk, or dial another device.
 
 
= See also =
* [[PBX Functions Addon]]
* [[PBX Functions]]

Latest revision as of 05:48, 9 May 2018

Description

This function allows one to dial a local extension.

Most often it is used to allow one to reach local users by dialing DID from outside.

  • Somebody from outside PSTN dials access DID.
  • Enters Local Extension.
  • Local extension rings.




Configuration

Video how to create PBX Function "Dial Local" and assign it to a DID:

Please note that the following videos show functionality in older versions of MOR. In newer MOR versions PBX functionality is moved to Addons->PBX Functions section. Also, PBX addon must be enabled to use this functionality.

<flashow>http://wiki.kolmisoft.com/videos/dial_local_pbx_function_setup_to_did.swf%7Cwidth=600%7Cheight=455</flashow>

If you want to play some audio before entering the local extension, assign such DID to IVR (which plays the necessary audio).

Video on how to do this (ALL ACTIONS IN THE FIRST VIDEO MUST ALREADY BE DONE BEFORE STARTING ON THIS VIDEO!):

<flashow>http://wiki.kolmisoft.com/videos/dial_local_with_audio_ivr.swf%7Cwidth=600%7Cheight=455</flashow>

Now, when DID 22222 is dialed, audio will be played asking for the local extension to be entered.

NOTE: DIDs 11111 and 22222 are just for demo purposes - instead of 22222, use a real DID. You can use Fake DID 11111 if you will not be using it directly.




Checking

DIDs in example 11111 and 22222 are JUST for DEMO purposes! Use your own correct DIDs!

For this configuration you will need two DIDs. One of them can be fake (11111 in our example), and the other should be real (22222 in our example).

If you do configuration following the instructions in the videos and it fails to work, the first thing to do is to call your primary DID (11111 in our example) and see if you end up in your IVR, where you can enter the local extension.

  • If you can - then you made a mistake in following the second video.
  • If you can not - you made a mistake in following the first video (at least).

Recheck accordingly. Fix. Retest.

The following screenshots are for a quick check on configuration. Change 11111/22222 to your DIDs.

The important parts are marked in red. Check whether you have a similar configuration.


Dial local check1.png

Dial local check2.png

Dial local check3.png

Dial local check4.png

Dial local check5.png

Dial local check6.png

In the last picture, 't' and 'i' actions forward back to IVR, which means that if the user presses anything in IVR, he will be routed back to IVR to retry.

In other words, the user needs to hear the whole recording before he can start entering the local extension.


Dial Local sound file

After selecting Dial Local you can also specify a sound file to play in edit menu. This sound file will be played when user calling to DID is connected to Dial Local, afterwards system asks to enter local destination:

Pbx dial local sound file.png

Dial Local Invalid extension IVR

After selecting Dial Local you can also specify Invalid extension IVR. This IVR will be played if user entered invalid extension (extension is considered invalid if it does not exist in PBX pool selected in Dial Local Edit window and Global PBX pool). If no Invalid extension IVR is selected and user enters invalid extension, MOR will try to call outside.

Dial local invalid extension.png

Troubleshooting

If all else fails, check Asterisk CLI

If you see something like this:

   -- Executing Dial("Local/*99@mor_local-05df,2", "SIP/1007|60")
[Oct  9 12:54:13] WARNING[5605]: app_dial.c:1196 dial_exec_full: Unable to create channel of type 'SIP' (cause 3 - No route to destination)
 == Everyone is busy/congested at this time (1:0/0/1)

... this means that the device which you dialed (1007 in our example) is offline and cannot be reached.

This is not an IVR problem. Make sure the device is registered to Asterisk, or dial another device.


See also