3Com Oven manual Release Notes for 3Com Asterisk Appliance Release

Models: Oven

1 16
Download 16 pages 29.45 Kb
Page 12
Image 12

Release Notes for 3Com Asterisk Appliance Release 1.4.0.14.3

Page 12

ƒIncoming calls with a DID in the range 5551231000 -1199 first match on line 9. The first plus sign (+) character in the DID is stripped.

ƒThen, the incoming calls match on line 7, where a 9 replaces the plus sign (+) in the caller ID.

ƒThen, the incoming calls match on line 8, where the first seven digits from the remaining DID (that is, 1555123XXXX) are stripped and the calls are routed to extension XXXX (that is, to the extension that matches the last 4 digits of the DID).

1include=default

2exten = _+X.,1,Set(CALLERID(num)=9${CALLERID(num):1})

3exten=_+X.,2,Goto(default55001)

4exten=s,1,ExecIf($[ "${CALLERID(num)}"="" ],SetCallerPres,unavailable)

5exten=s,2,ExecIf($[ "${CALLERID(num)}"="" ],Set,CALLERID(all)=unknown <0000000>)

6exten=s,3,Goto(default55001)

7exten = _1555123XXXX,1,Set(CALLERID(num)=9${CALLERID(num):1})

8exten=_1555123XXXX,2,Goto(default${EXTEN:7}1)

9exten=_+1555123XXXX,1,Goto(${EXTEN:1}1)

ƒGuideline: To route incoming calls based on DID, you need to create a separate entry for each DID.

An alternative is to edit the Bandwidth incoming calling rule directly. For 3Com telephones: Follow the steps in the preceding guideline.

For Polycom telephones: To allow incoming calls with a DID that matches an extension to be routed directly to that extension, make these modifications (see the example below) so that:

ƒIncoming calls that match the company DID range match the last line, where the first character plus sign (+) is stripped from the DID.

ƒThe line preceding the last line matches, where the first several characters of the DID are stripped and the call is routed to the extension that matches the last 4 digits of the DID.

[DID_trunk_3] include=default

exten=_+X.,1,Goto(default55001)

exten=s,1,ExecIf($[ "${CALLERID(num)}"="" ],SetCallerPres,unavailable) exten=s,2,ExecIf($[ "${CALLERID(num)}"="" ],Set,CALLERID(all)=unknown

<0000000>)

exten=s,3,Goto(default55001)

exten=_1555123XXXX,1,Goto(default${EXTEN:7}1) exten=_+1555123XXXX,1,Goto(${EXTEN:1}1)

ƒGuideline: Modify the trunk dial macro to ensure that the system sends out the correct caller ID to Bandwidth.

Modify the trunkdial macro (see the example below) so that:

ƒThe characters +1 are prepended to the first digits of the DID range to the caller ID of a phone extension.

ƒReplace the first line in the macro-trunkdial, for example, exten=s,1,set(CALLERID(all)=${IF(${LEN(${CALLER ID(num)})} > 6 ? ${CALLERID(all)} : ${ARG2})}) with exten = s,1,set(CALLERID(num)=+555123${CALLERID(num)})

[macro-trunkdial]

exten = s,1,set(CALLERID(num)=+1555123${CALLERID(num)}) exten = s,n,Dial(${ARG1})

exten = s,n,Goto(s-${DIALSTATUS},1) exten = s-NOANSWER,1,Hangup

exten = s-BUSY,1,Hangup

Page 12
Image 12
3Com Oven manual Release Notes for 3Com Asterisk Appliance Release