- when 'o' option is used for overlap dialing, don't send any digits
with the CONNECT_REQ. This gives better progress together with 'b'.V0_6
parent
b65c13d415
commit
e6911c60e8
7
README
7
README
|
@ -77,9 +77,10 @@ The Dial string
|
|||
The string consists of a list of characters with the following meaning:
|
||||
'b' : early B3 always.
|
||||
'B' : early B3 on successful calls only.
|
||||
'o' : use overlap sending of number if number is longer than 2 digits
|
||||
(This is useful, when further digits shall be send to complete the
|
||||
destination address).
|
||||
'o' : use overlap sending of number.
|
||||
(Useful if additional digits shall be send afterwards or together
|
||||
with 'b' to get dialtone and then send the number, e.g. if otherwise
|
||||
no progress tones are available)
|
||||
|
||||
If the <interface-name> is used in dialstring, be sure the name (specified
|
||||
in capi.conf) does not start with 'contr' or 'g'.
|
||||
|
|
|
@ -938,9 +938,9 @@ static int capi_call(struct ast_channel *c, char *idest, int timeout)
|
|||
#else
|
||||
CONNECT_REQ_CIPVALUE(&CMSG) = 0x10; /* Telephony */
|
||||
#endif
|
||||
if ((i->doOverlap) && (strlen(dest) > 2)) {
|
||||
strncpy(i->overlapdigits, dest + 2, sizeof(i->overlapdigits) - 1);
|
||||
called[0] = 3;
|
||||
if ((i->doOverlap) && (strlen(dest))) {
|
||||
strncpy(i->overlapdigits, dest, sizeof(i->overlapdigits) - 1);
|
||||
called[0] = 1;
|
||||
} else {
|
||||
called[0] = strlen(dest) + 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue