Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| installation_guide:dialer:start [2015/10/13 21:09] – created borja | installation_guide:dialer:start [2019/02/05 10:43] (current) – borja | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Outbound Dialer ====== | ====== Outbound Dialer ====== | ||
| - | |||
| - | [[: | ||
| Line 68: | Line 66: | ||
| | drop |Drop the campaign table. | | | drop |Drop the campaign table. | | ||
| | truncate |Remove all the phones. | | | truncate |Remove all the phones. | | ||
| + | | repare |Repare DB info after an Asterisk Crash. | | ||
| | file |Use the text file to fill the campaign. | | | file |Use the text file to fill the campaign. | | ||
| | insert |Insert a phone in the campaign. | | | insert |Insert a phone in the campaign. | | ||
| Line 90: | Line 89: | ||
| >dialer -c campaign -a drop | >dialer -c campaign -a drop | ||
| >dialer -c campaign -a create | >dialer -c campaign -a create | ||
| - | >dialer -c campaign -a file / | + | >dialer -c campaign -a file -p / |
| - | >dialer -c campaign -a insert -phone 12345678 | + | >dialer -c campaign -a insert -p 12345678 |
| - | >dialer -c campaign -a insert -phone 12345678 param | + | >dialer -c campaign -a insert -p 12345678 param |
| Start in background : | Start in background : | ||
| Line 110: | Line 109: | ||
| - | ===== Call Return Codes ===== | + | ===== Dialer |
| The dialer generates return' | The dialer generates return' | ||
| Line 135: | Line 134: | ||
| |11 |No Sale – These both… | | |11 |No Sale – These both… | | ||
| |12 |Sale – count as contacts | | |12 |Sale – count as contacts | | ||
| + | |||
| + | ===== Originate and Hangup Return Codes ===== | ||
| + | |||
| + | OriginateResponse event which contains the failure reason if any. Reason may be one of the following: | ||
| + | |||
| + | | 1 = Other end has hungup| | ||
| + | | 2 = Local ring| | ||
| + | | 3 = Remote end is ringing| | ||
| + | | 4 = Remote end has answered| | ||
| + | | 5 = Remote end is busy| | ||
| + | | 6 = Make it go off hook| | ||
| + | | 7 = Line is off hook| | ||
| + | | 8 = Congestion (circuits busy)| | ||
| + | |||
| + | Hangup causes : | ||
| + | |||
| + | | 1 | Unallocated (unassigned) number| | ||
| + | | 2 | No route to specified transmit network| | ||
| + | | 3 | No route to destination| | ||
| + | | 5 | Misdialled trunk prefix (national use)| | ||
| + | | 6 | Channel unacceptable| | ||
| + | | 7 | Call awarded and being delivered in an established channel| | ||
| + | | 8 | Preemption| | ||
| + | | 14 | QoR: ported number| | ||
| + | | 16 | Normal Clearing| | ||
| + | | 17 | User busy| | ||
| + | | 18 | No user responding| | ||
| + | | 19 | No answer from user (user alerted)| | ||
| + | | 20 | Subscriber absent| | ||
| + | | 21 | Call Rejected| | ||
| + | | 22 | Number changed| | ||
| + | | 23 | Redirected to new destination| | ||
| + | | 26 | Non-selected user clearing| | ||
| + | | 27 | Destination out of order| | ||
| + | | 28 | Invalid number format| | ||
| + | | 29 | Facility rejected| | ||
| + | | 30 | Response to STATUS ENQUIRY| | ||
| + | | 31 | Normal, unspecified| | ||
| + | | 34 | No circuit/ | ||
| + | | 38 | Network out of order| | ||
| + | | 41 | Temporary failure| | ||
| + | | 42 | Switching equipment congestion| | ||
| + | | 43 | Access information discarded| | ||
| + | | 44 | Requested circuit/ | ||
| + | | 50 | Requested facility not subscribed| | ||
| + | | 52 | Outgoing call barred| | ||
| + | | 54 | Incoming call barred| | ||
| + | | 57 | Bearer capability not authorized| | ||
| + | | 58 | Bearer capability not presently available| | ||
| + | | 65 | Bearer capability not implemented| | ||
| + | | 66 | Channel type not implemented| | ||
| + | | 69 | Requested facility not implemented| | ||
| + | | 81 | Invalid call reference value| | ||
| + | | 88 | Incompatible destination| | ||
| + | | 95 | Invalid message unspecified| | ||
| + | | 96 | Mandatory information element is missing| | ||
| + | | 97 | Message type non-existent or not implemented| | ||
| + | | 98 | Message not compatible with call state or message type non-existent or not implemented| | ||
| + | | 99 | Information element nonexistent or not implemented| | ||
| + | | 100 | Invalid information element contents| | ||
| + | | 101 | Message not compatible with call state| | ||
| + | | 102 | Recover on timer expiry| | ||
| + | | 111 | Protocol error, unspecified| | ||
| + | | 127 | Interworking, | ||
| ===== Configuration file ===== | ===== Configuration file ===== | ||
| Line 165: | Line 228: | ||
| [default] | [default] | ||
| active=true | active=true | ||
| - | function=vxml | + | debug=true |
| - | calltoday=true | + | function=notify |
| - | usednc=false | + | ;timeslot=Fri, |
| - | maxlines=30 | + | ;pause=12h-14h |
| - | attemptsdelay=600 | + | calltoday=true |
| - | timeout=5000 ; max time in ms before line comes UP | + | blacklist=none |
| - | dspmode=none | + | maxlines=1 |
| - | multiplecalls=false | + | timeout=10000 |
| - | trunk=SIP | + | multiplecalls=yes |
| - | dialprefix=none | + | dialformat=IAX2/user |
| - | callerid=9987803065 | + | callerid=0033988998899 |
| - | filter=0 | + | url=http:// |
| + | filter=none | ||
| chanvar=0 | chanvar=0 | ||
| chanstr=0 | chanstr=0 | ||
| - | debug=true | ||
| skip=0 | skip=0 | ||
| - | f_mode=0 | ||
| - | f_areacode=0 | ||
| - | f_areacode_prefix=0 | ||
| - | f_zipcode=0 | ||
| orderby=attempts_pickups | orderby=attempts_pickups | ||
| - | mode=vxml | + | mode=voximal |
| - | timeslot=9h-18h | + | retries=0 |
| - | pause=none | + | |
| - | blacklist=none | + | |
| attempts=1 | attempts=1 | ||
| - | dialformat=SIP/00%s@voztele-out | + | attemptsdelay=00 |
| - | maxcaps=10 | + | clipping=false |
| + | timestart=0 | ||
| + | timestop=24 | ||
| + | ringonly=false | ||
| + | chanvar1= | ||
| + | chanvar2= | ||
| + | sipheader1= | ||
| + | sipheader2= | ||
| + | unanswered=false | ||
| </ | </ | ||
| Line 234: | Line 299: | ||
| ===== Dialer Web interface ===== | ===== Dialer Web interface ===== | ||
| - | Access to Dialer | + | The Dialer |
| - | + | ||
| - | < | + | |
| - | http:// | + | |
| - | </ | + | |