Asterisk to Alcatel via PRI: analog exts work - digital do N
Asterisk to Alcatel via PRI: analog exts work - digital do N
Hi,
I followed the how-to from viewtopic.php?f=44&t=840
All works fine except for Asterisk->Alcatel calls.
Actually, calls from Asterisk to analog extensions on the Alcatel work.
However, calls from Aserisk to digital extensions do NOT work.
I get this error in the Asterisk log:
-- Executing Dial("SIP/4053-0823dd48", "Zap/g1/2001|30") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/2001
-- Channel 0/1, span 1 got hangup, cause 1
-- Channel 0/1, span 1 received AOC-E charging 0 units
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("SIP/4053-0823dd48", "") in new stack
It's odd that analog phones work whereas digital phones don't.
I have telnet access to the Alcatel 440 but am pretty novice with its configuration settings.
However, all the steps in the how-to have been completed.
It might be related to the "Requested transfer capability: 0x00 - SPEECH".
Thanks for any clues you may suggest.
I followed the how-to from viewtopic.php?f=44&t=840
All works fine except for Asterisk->Alcatel calls.
Actually, calls from Asterisk to analog extensions on the Alcatel work.
However, calls from Aserisk to digital extensions do NOT work.
I get this error in the Asterisk log:
-- Executing Dial("SIP/4053-0823dd48", "Zap/g1/2001|30") in new stack
-- Requested transfer capability: 0x00 - SPEECH
-- Called g1/2001
-- Channel 0/1, span 1 got hangup, cause 1
-- Channel 0/1, span 1 received AOC-E charging 0 units
-- Hungup 'Zap/1-1'
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing Hangup("SIP/4053-0823dd48", "") in new stack
It's odd that analog phones work whereas digital phones don't.
I have telnet access to the Alcatel 440 but am pretty novice with its configuration settings.
However, all the steps in the how-to have been completed.
It might be related to the "Requested transfer capability: 0x00 - SPEECH".
Thanks for any clues you may suggest.
A pri debug on the Asterisk box shows this:
-- Called g1/3034
1 < Protocol Discriminator: Q.931 (8) len=10
1 < Call Ref: len= 2 (reference 3/0x3) (Terminator)
1 < Message type: RELEASE COMPLETE (90)
1 < [08 03 81 81 80]
1 < Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
1 < Ext: 1 Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ]
1 < Cause data 1: 80 (128)
1 -- Processing IE 8 (cs0, Cause)
What can "unallocated (unassigned) number" mean exactly so that I can look for that in the Alcatel system.
-- Called g1/3034
1 < Protocol Discriminator: Q.931 (8) len=10
1 < Call Ref: len= 2 (reference 3/0x3) (Terminator)
1 < Message type: RELEASE COMPLETE (90)
1 < [08 03 81 81 80]
1 < Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1)
1 < Ext: 1 Cause: Unallocated (unassigned) number (1), class = Normal Event (0) ]
1 < Cause data 1: 80 (128)
1 -- Processing IE 8 (cs0, Cause)
What can "unallocated (unassigned) number" mean exactly so that I can look for that in the Alcatel system.
Re: Asterisk to Alcatel via PRI: analog exts work - digital do N
Unallocated number means that ddi translation does not translate the numbers for digital extensions.
Can you post here the numbers of analog extensions and the ones of digital extensions in alcatel? (what number you dial to call them).
Regards.
Can you post here the numbers of analog extensions and the ones of digital extensions in alcatel? (what number you dial to call them).
Regards.
Re: Asterisk to Alcatel via PRI: analog exts work - digital do N
Hi,mirceahuh wrote:Unallocated number means that ddi translation does not translate the numbers for digital extensions.
Can you post here the numbers of analog extensions and the ones of digital extensions in alcatel? (what number you dial to call them).
Regards.
so I deduce that the problem is only within the Alcatel system.
The analog extensions on the Alcatel that ring and answer when called from an Asterisk extension are somewhere between 7200 and 7499 (an example would be 7323 and this seems to be coherent with the "Prefix Plan" I paste below).
An example of digital extensions that do not work are extensions in the 2000-2999 range and DECT phones in the 3000-3999 range.
Another digital extension that doesn't work is 7100. However, it seems that it should be part of Trunk Group 1 (TELENORM below). All I know (I didn't configure this system and it's the first time I telnet into an Alcatel) is that there's another PRI QSIG connection Alcatel <--> Bosch PBX. In fact, the Bosch system handles most if not all 7XXX extensions (mostly analog). But I was convinced that ext. 7100 wasn't part of the Bosch system and was a digital extension of the Alcatel.
So then I saw that 7100 was in the "Default DID num. translator" menu and had "Internal Number" 599.
I was thinking of changing "DID transcoding + False" to True in "Consult/Modify: Trunk Groups─Trunk Group Id : 1" below.
Just for the record although I already mentioned it: the Alcatel has (at least) two PRI connections: one is QSIG and goes to a Bosch PBX (trunk 1) and another non-QSIG goes to Asterisk (trunk 4).
I don't know yet what the other trunks are but I'm pretty sure Trunk 3 (E_HB) goes out to the analog extensions that work when called from an Asterisk extension (eg. 7323). In fact "DID transcoding" is True for Trunk 3.
┌─Consult/Modify: DID number translator──────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Instance (reserved) : 1 │
│ DID num. transl. identifier : 0 │
│ │
│ Name : LIMITED_LOCAL_DID │
│ │
└────────────────────────────────────────────────────────────┘
┌─[ 9 ] Instances: Default DID num. translator─┐
│ │
│ -> 7100 │
│ 7101 │
│ 7102 │
│ 7137 │
│ 7201 │
│ 7222 │
│ 7223 │
│ 7301 │
│ 7401 │
│ │
└──────────────────────────────────────────────┘
┌─Consult/Modify: Default DID num. translator──────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Instance (reserved) : 1 │
│ First External Number : 7100 │
│ │
│ First Internal Number : 599 │
│ Range Size : 1 │
│ Unique Internal Number + NO │
│ │
└──────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Default DID num. translator──────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Instance (reserved) : 1 │
│ First External Number : 7101 │
│ │
│ First Internal Number : 7101 │
│ Range Size : 1 │
│ Unique Internal Number + NO │
│ │
└──────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Default DID num. translator──────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Instance (reserved) : 1 │
│ First External Number : 7102 │
│ │
│ First Internal Number : 7102 │
│ Range Size : 8 │
│ Unique Internal Number + NO │
│ │
└──────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Default DID num. translator──────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Instance (reserved) : 1 │
│ First External Number : 7137 │
│ │
│ First Internal Number : 7137 │
│ Range Size : 62 │
│ Unique Internal Number + NO │
│ │
└──────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Default DID num. translator──────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Instance (reserved) : 1 │
│ First External Number : 7201 │
│ │
│ First Internal Number : 7201 │
│ Range Size : 21 │
│ Unique Internal Number + NO │
│ │
└──────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Default DID num. translator──────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Instance (reserved) : 1 │
│ First External Number : 7222 │
│ │
│ First Internal Number : 1999 │
│ Range Size : 1 │
│ Unique Internal Number + NO │
│ │
└──────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Default DID num. translator──────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Instance (reserved) : 1 │
│ First External Number : 7223 │
│ │
│ First Internal Number : 7223 │
│ Range Size : 9 │
│ Unique Internal Number + NO │
│ │
└──────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Default DID num. translator──────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Instance (reserved) : 1 │
│ First External Number : 7301 │
│ │
│ First Internal Number : 7301 │
│ Range Size : 34 │
│ Unique Internal Number + NO │
│ │
└──────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Default DID num. translator──────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Instance (reserved) : 1 │
│ First External Number : 7401 │
│ │
│ First Internal Number : 7401 │
│ Range Size : 34 │
│ Unique Internal Number + NO │
│ │
└──────────────────────────────────────────────────────────────────────┘
┌─[ 5 ] Instances: Trunk Groups─┐
│ │
│ -> 0 │
│ 1 │
│ 2 │
│ 3 │
│ 4 │
│ │
└───────────────────────────────┘
┌─Consult/Modify: Trunk Groups───────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Trunk Group Id : 1 │
│ │
│ Trunk Group Type + T2 │
│ Trunk Group Name : E_TELENORM │
│ Number Compatible With : 0 │
│ Remote Network : 15 │
│ Shared Trunk Group + False │
│ Special Services + Nothing │
│ Node number : 1 │
│ Transcom Trunk Group + False │
│ Auto.reserv.by Attendant + False │
│ Overflow trunk group No. : -1 │
│ Tone on seizure + False │
│ Private Trunk Group + True │
│ Q931 signal variant + QSIG │
│ SS7 signal variant + No variant │
│ Channel selection type + Channel No. by Channel No. │
│ auto.DTMF dialing on outgoing call + YES │
│ T2 Specification + None │
│ Public Network COS : 2 │
│ DID transcoding + False │
│ Can support UUS in SETUP + True │
│ │
│ Implicit Priority │
│ │
│ Activation mode : 0 │
│ Priority Level : 0 │
│ │
│ Preempter + NO │
│ Incoming calls Restriction COS : 10 │
│ Outgoing calls Restriction COS : 10 │
│ Callee number mpt1343 + NO │
│ │
└────────────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Trunk Groups───────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Trunk Group Id : 4 │
│ │
│ Trunk Group Type + T2 │
│ Trunk Group Name : ASTERISK │
│ Number Compatible With : 0 │
│ Remote Network : 15 │
│ Shared Trunk Group + False │
│ Special Services + Nothing │
│ Node number : 1 │
│ Transcom Trunk Group + False │
│ Auto.reserv.by Attendant + False │
│ Overflow trunk group No. : -1 │
│ Tone on seizure + False │
│ Private Trunk Group + False │
│ Q931 signal variant + ISDN all countries │
│ SS7 signal variant + No variant │
│ Channel selection type + Quantified │
│ auto.DTMF dialing on outgoing call + NO │
│ T2 Specification + None │
│ Public Network COS : 0 │
│ DID transcoding + True │
│ Can support UUS in SETUP + True │
│ │
│ Implicit Priority │
│ │
│ Activation mode : 0 │
│ Priority Level : 0 │
│ │
│ Preempter + NO │
│ Incoming calls Restriction COS : 10 │
│ Outgoing calls Restriction COS : 10 │
│ Callee number mpt1343 + NO │
│ │
└────────────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Trunk Groups───────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Trunk Group Id : 3 │
│ │
│ Trunk Group Type + T0 │
│ Trunk Group Name : E_HB │
│ Number Compatible With : 0 │
│ Remote Network : 15 │
│ Shared Trunk Group + False │
│ Special Services + Nothing │
│ Node number : 1 │
│ Transcom Trunk Group + False │
│ Auto.reserv.by Attendant + False │
│ Overflow trunk group No. : -1 │
│ Tone on seizure + False │
│ Private Trunk Group + False │
│ Security Patrol + False │
│ Q931 signal variant + ISDN all countries │
│ auto.DTMF dialing on outgoing call + NO │
│ Public Network COS : 0 │
│ DID transcoding + True │
│ Can support UUS in SETUP + True │
│ │
│ Implicit Priority │
│ │
│ Activation mode : 0 │
│ Priority Level : 0 │
│ │
│ Preempter + NO │
│ Incoming calls Restriction COS : 10 │
│ Outgoing calls Restriction COS : 10 │
│ Callee number mpt1343 + NO │
│ │
└────────────────────────────────────────────────────────────────────────────┘
┌─[ 20 ] Instances: Prefix Plan─┐
│ │
│ 0 │
│ 4 │
│ 560 │
│ 57 │
│ 6 │
│ -> 70 │
│ 71 │
│ 75 │
│ 76 │
│ 77 │
│ 78 │
│ 79 │
│ 80 │
│ 81 │
│ 85 │
│ 86 │
│ 89 │
│ 9 │
│ * │
│ # │
│ │
└───────────────────────────────┘
┌─Consult/Modify: Prefix Plan─────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Number : 70 │
│ │
│ Prefix Meaning + Routing No. │
│ Network Number : 15 │
│ Node Number/ABC-F Trunk Group : 1 │
│ Number of Digits : 4 │
│ Number With Subaddress (ISDN) + NO │
│ Default X25 Id.pref. + NO │
│ │
└─────────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Prefix Plan─────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Number : 71 │
│ │
│ Prefix Meaning + Routing No. │
│ Network Number : 15 │
│ Node Number/ABC-F Trunk Group : 1 │
│ Number of Digits : 4 │
│ Number With Subaddress (ISDN) + NO │
│ Default X25 Id.pref. + NO │
│ │
└─────────────────────────────────────────────────────────────────────────┘
┌─Consult/Modify: Prefix Plan─────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Number : # │
│ │
│ Prefix Meaning + Routing No. │
│ Network Number : 15 │
│ Node Number/ABC-F Trunk Group : 4 │
│ Number of Digits : 8 │
│ Number With Subaddress (ISDN) + NO │
│ Default X25 Id.pref. + NO │
│ │
└─────────────────────────────────────────────────────────────────────────┘
Alcatel extensions that dial # followed by a number should go to the Asterisk trunk and pass the whole number for external calls (including long international numbers).
"Number of Digits : 8" is thus not enough. On the Asterisk side I receive the number but it's truncated to #1234567.
If I change "Number of Digits : 255" (should be unlimited) then I get this error:
┌─Error:─────────────────────────────────────────────┐
│ │
│ Press CANCEL to remove this window │
│ │
│ processing Failure │
│ OBJECT -1: Number of Digits: Invalid Attrib. Value │
│ │
└────────────────────────────────────────────────────┘
How can I pass more than 8 digits (say, 25 or as much as possible) to the Asterisk trunk?
Also, the above-mentioned how-to says that "Prefix Meaning" should be "Open Routing No.".
What's the difference with "Routing No."?
If you've come this far down, thanks for reading!
Re: Asterisk to Alcatel via PRI: analog exts work - digital do N
Hello again,
Let's take it step by step.
The easiest way to call from asterisk to any extension in alcatel would be to change in trunk group 4 (I assume that this is the trunk group used to connect alcatel to asterisk) DDI transcoding from true to false. This means that any number is used as it is received.
If you want to call from alcatel in asterisk (also to send long distance calls), I think the best way is to delete # in prefix plan and to create it again as open routing number. The difference is between them is what you need (open routing no. let's you send as many digits as you want).
I hope this helps.
Regards.
Let's take it step by step.
The easiest way to call from asterisk to any extension in alcatel would be to change in trunk group 4 (I assume that this is the trunk group used to connect alcatel to asterisk) DDI transcoding from true to false. This means that any number is used as it is received.
If you want to call from alcatel in asterisk (also to send long distance calls), I think the best way is to delete # in prefix plan and to create it again as open routing number. The difference is between them is what you need (open routing no. let's you send as many digits as you want).
I hope this helps.
Regards.
Re: Asterisk to Alcatel via PRI: analog exts work - digital do N
Yes, trunk group 4 is the Alcatel-Asterisk trunk.mirceahuh wrote: The easiest way to call from asterisk to any extension in alcatel would be to change in trunk group 4 (I assume that this is the trunk group used to connect alcatel to asterisk) DDI transcoding from true to false. This means that any number is used as it is received.
I will try to turn DDI transcoding off.
That explains it...mirceahuh wrote: If you want to call from alcatel in asterisk (also to send long distance calls), I think the best way is to delete # in prefix plan and to create it again as open routing number. The difference is between them is what you need (open routing no. let's you send as many digits as you want).
It does.mirceahuh wrote: I hope this helps.
Thank you very much.
I'll make the changes on Monday and post back.
Re: Asterisk to Alcatel via PRI: analog exts work - digital do N
Hi again.
I changed DID Transcoding from True to False in Trunk group 4 (Alcatel-Asterisk) and now "everything" seems to work.
There's just one thing left that's still not working.
For the Alcatel to Asterisk Trunk I have to Prefix Plans defined:
┌─Consult/Modify: Prefix Plan─────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Number : 4 │
│ │
│ Prefix Meaning + Routing No. │
│ Network Number : 15 │
│ Node Number/ABC-F Trunk Group : 4 │
│ Number of Digits : 4 │
│ Number With Subaddress (ISDN) + NO │
│ Default X25 Id.pref. + NO │
│ │
└─────────────────────────────────────────────────────────────────────────┘
The above plan allows Alcatel extensions to call Asterisk 4XXX extensions.
And this works fine.
┌─Consult/Modify: Prefix Plan─────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Number : # │
│ │
│ Prefix Meaning + Open Routing No. │
│ Network Number : 15 │
│ Node Number/ABC-F Trunk Group : 4 │
│ Number With Subaddress (ISDN) + NO │
│ │
└─────────────────────────────────────────────────────────────────────────┘
With the above prefix plan, whenever an Alcatel extension dials #123456789, the Asterisk server (on trunk 4) receives the signal but does not receive any number (not even the #). So it obviously doesn't even get routed to the appropriate Asterisk "context".
However, if I change the "Prefix Meaning" to "Routing No." such as:
┌─Consult/Modify: Prefix Plan─────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Number : # │
│ │
│ Prefix Meaning + Routing No. │
│ Network Number : 15 │
│ Node Number/ABC-F Trunk Group : 4 │
│ Number of Digits : 8 │
│ Number With Subaddress (ISDN) + NO │
│ Default X25 Id.pref. + NO │
│ │
└─────────────────────────────────────────────────────────────────────────┘
then dialing #123456789 from an Alcatel extension passes "#1234567" to Asterisk and goes to the appropriate context since I match _#.. However, the number is truncated.
Please note that I "deleted" prefix plan for "Number : #" and re-created it as "open routing no." as you suggested. I didn't just change the Prefix Meaning.
Any suggestions as to what I could try?
I changed DID Transcoding from True to False in Trunk group 4 (Alcatel-Asterisk) and now "everything" seems to work.
There's just one thing left that's still not working.
For the Alcatel to Asterisk Trunk I have to Prefix Plans defined:
┌─Consult/Modify: Prefix Plan─────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Number : 4 │
│ │
│ Prefix Meaning + Routing No. │
│ Network Number : 15 │
│ Node Number/ABC-F Trunk Group : 4 │
│ Number of Digits : 4 │
│ Number With Subaddress (ISDN) + NO │
│ Default X25 Id.pref. + NO │
│ │
└─────────────────────────────────────────────────────────────────────────┘
The above plan allows Alcatel extensions to call Asterisk 4XXX extensions.
And this works fine.
┌─Consult/Modify: Prefix Plan─────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Number : # │
│ │
│ Prefix Meaning + Open Routing No. │
│ Network Number : 15 │
│ Node Number/ABC-F Trunk Group : 4 │
│ Number With Subaddress (ISDN) + NO │
│ │
└─────────────────────────────────────────────────────────────────────────┘
With the above prefix plan, whenever an Alcatel extension dials #123456789, the Asterisk server (on trunk 4) receives the signal but does not receive any number (not even the #). So it obviously doesn't even get routed to the appropriate Asterisk "context".
However, if I change the "Prefix Meaning" to "Routing No." such as:
┌─Consult/Modify: Prefix Plan─────────────────────────────────────────────┐
│ │
│ Node Number (reserved) : 1 │
│ Instance (reserved) : 1 │
│ Number : # │
│ │
│ Prefix Meaning + Routing No. │
│ Network Number : 15 │
│ Node Number/ABC-F Trunk Group : 4 │
│ Number of Digits : 8 │
│ Number With Subaddress (ISDN) + NO │
│ Default X25 Id.pref. + NO │
│ │
└─────────────────────────────────────────────────────────────────────────┘
then dialing #123456789 from an Alcatel extension passes "#1234567" to Asterisk and goes to the appropriate context since I match _#.. However, the number is truncated.
Please note that I "deleted" prefix plan for "Number : #" and re-created it as "open routing no." as you suggested. I didn't just change the Prefix Meaning.
Any suggestions as to what I could try?
Re: Asterisk to Alcatel via PRI: analog exts work - digital do N
Hello,
Ok. Then you should delete prefix # and create it with the following information:
Prefix meaning: Professional trunk group
Prefix information: 4 (your alcatel-asterisk trunk group number)
If you create this,
Then, when you size trunk group 4 (dial #), you should hear a dial tone, then dial the number you want. You have to change your dial plan in asterisk, because if you press # again in alcatel it means to send the number (end of dialing, since it is not overlap dialing).
Regards,
Mircea.
Ok. Then you should delete prefix # and create it with the following information:
Prefix meaning: Professional trunk group
Prefix information: 4 (your alcatel-asterisk trunk group number)
If you create this,
Then, when you size trunk group 4 (dial #), you should hear a dial tone, then dial the number you want. You have to change your dial plan in asterisk, because if you press # again in alcatel it means to send the number (end of dialing, since it is not overlap dialing).
Regards,
Mircea.
Re: Asterisk to Alcatel via PRI: analog exts work - digital do N
Thank you very much Mircea.mirceahuh wrote: If you create this,
Then, when you size trunk group 4 (dial #), you should hear a dial tone, then dial the number you want. You have to change your dial plan in asterisk, because if you press # again in alcatel it means to send the number (end of dialing, since it is not overlap dialing).
Now Asterisk is indeed receiving the full number. From the log:
-- Accepting overlap voice call from '9718473034' to '606800876' on channel 0/3, span 1
In Asterisk's zapata.conf I enabled overlapdial.
Should I disable it?
As you say, I need to change the Asterisk's dial plan but then I would have to avoid using # on the Asterisk side, right?
In other words, do you suggest I just add a dial plan in Asterisk that matches for example _0. so that users would have to dial "#0606800876#"?
But what if I wanted to match a non-numeric digit? something like * so that users should dial #* followed by a number?
I noticed that if I dial #*606800876 then Asterisk receives 606800876.
Anyway, this would be like the "cherry on top".
The core functionality is now there.
Many thanks!
Re: Asterisk to Alcatel via PRI: analog exts work - digital do N
I don't know about changing overlap dialing in asterisk. This is up to you, to see how is it working with actual settings.
Regarding #* or #0 dialing in alcatel, I suggest you to use #0. This depends on how can you implement the matching in asterisk. Let's say you use #*. You said that the number received in asterisk is not preceded by that *. Then how would you match an external number like 4xxxxxxxxx....? Because I believe asterisk would match this like being an internal extension.
So, I recommend you to use # for the prefix in alcatel, followed by 0 for the matching in asterisk, and followed by the external number.
If you still want that the users of alcatel pabx to dial #*xxxxxxx for the external numbers, you can do this:
- delete # from prefix plan
- create another prefix to size the trunk group (any available prefix - could be #1), with prefix information "Professional trunk group" and prefix meaning "4"
- create in Abbreviated numbering/Direct Abbreviated numbering a speed dial as follows:
Direct abbr. no. prefix: #*
Call number: #10
Then, when a user would dial #*606800876, alcatel will dial 0606800876, asterisk receives 0606800876 and would match _0X. and send it to the public operator.
I hope I could make myself understood and I hope this would work as you expect, because I haven't tested it. You should try.
Regards,
Mircea.
Regarding #* or #0 dialing in alcatel, I suggest you to use #0. This depends on how can you implement the matching in asterisk. Let's say you use #*. You said that the number received in asterisk is not preceded by that *. Then how would you match an external number like 4xxxxxxxxx....? Because I believe asterisk would match this like being an internal extension.
So, I recommend you to use # for the prefix in alcatel, followed by 0 for the matching in asterisk, and followed by the external number.
If you still want that the users of alcatel pabx to dial #*xxxxxxx for the external numbers, you can do this:
- delete # from prefix plan
- create another prefix to size the trunk group (any available prefix - could be #1), with prefix information "Professional trunk group" and prefix meaning "4"
- create in Abbreviated numbering/Direct Abbreviated numbering a speed dial as follows:
Direct abbr. no. prefix: #*
Call number: #10
Then, when a user would dial #*606800876, alcatel will dial 0606800876, asterisk receives 0606800876 and would match _0X. and send it to the public operator.
I hope I could make myself understood and I hope this would work as you expect, because I haven't tested it. You should try.
Regards,
Mircea.