[HOWTO] Asterisk connection via PRI
-
krzysioD
- Alcatel Unleashed Certified Guru

- Posts: 1163
- Joined: 30 Aug 2006 13:43
- Location: Europe, Poland
Re: [HOWTO] Asterisk connection via PRI
It's asterisk side problem.
Don't use some f****g GUI, it makes you don't know whats going on.
open asterisk console, and give it a try:
dialplan show from-zaptel
Then you will see.
Also:
pri debug span 1
(assuming you have span 1 in asterisk box, and asterisk version to 1.4.x in 1.6.x it's a dahdi not zaptel)
Don't use some f****g GUI, it makes you don't know whats going on.
open asterisk console, and give it a try:
dialplan show from-zaptel
Then you will see.
Also:
pri debug span 1
(assuming you have span 1 in asterisk box, and asterisk version to 1.4.x in 1.6.x it's a dahdi not zaptel)
Please note that at no time I will provide you with OXE/4400 nor AOS releases.
Note that it's our private time, that we spent to help you, so please don't expect complete solution for your problem.
You will need to do homework by your self.
Note that it's our private time, that we spent to help you, so please don't expect complete solution for your problem.
You will need to do homework by your self.
-
mrphil
Re: [HOWTO] Asterisk connection via PRI
Im fairly certain its not Asterisk, its the Alctel. Using this dial plan:
exten => _3XXX,1,Noop(TEST$EXTEN})
exten => _3XXX,n,Answer()
exten => _3XXX,n,Playback(demo-congrats)
exten => _3XXX,n,Wait(10)
exten => _3XXX,n,Hangup
I get "Congratu <hangup>" every single time. Despite initial connection, I see this line in span debug:
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Destination out of order (27), class = Normal Event (1) ]
However, I have since found that if I change "Private Trunk Group" to true in the Alcatel, the call stays connected fine. with just one small issue. Extension numbers then appear with a 9 in front of them, so calling from 3001 will show on Alcatel phones as 93001. So there must be a setting someone that I can change to not have this 9 automatically prefixed by Alcatel PBX?
exten => _3XXX,1,Noop(TEST$EXTEN})
exten => _3XXX,n,Answer()
exten => _3XXX,n,Playback(demo-congrats)
exten => _3XXX,n,Wait(10)
exten => _3XXX,n,Hangup
I get "Congratu <hangup>" every single time. Despite initial connection, I see this line in span debug:
Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0 Location: Private network serving the local user (1)
> Ext: 1 Cause: Destination out of order (27), class = Normal Event (1) ]
However, I have since found that if I change "Private Trunk Group" to true in the Alcatel, the call stays connected fine. with just one small issue. Extension numbers then appear with a 9 in front of them, so calling from 3001 will show on Alcatel phones as 93001. So there must be a setting someone that I can change to not have this 9 automatically prefixed by Alcatel PBX?
-
krzysioD
- Alcatel Unleashed Certified Guru

- Posts: 1163
- Joined: 30 Aug 2006 13:43
- Location: Europe, Poland
Re: [HOWTO] Asterisk connection via PRI
I tell you it's something on asterisk.
It was here discussed many, many times how to setup asterisk & alcatel, also in the Internet there is a guide how to setup this.
There are many possibilities, but to be honest one of them is you try to connect both switches without basic training on either of them.
Please setup on alcatel trunk in network mode=yes with crc4 checking and on asterisk cpe mode, also with crc4.
Please use simple dialplan on both switches.
Please read about external callback translator to remove '9' (sorry, this is basic of ALU OXE), documentation is right-top corner of this forum.
It was here discussed many, many times how to setup asterisk & alcatel, also in the Internet there is a guide how to setup this.
There are many possibilities, but to be honest one of them is you try to connect both switches without basic training on either of them.
Please setup on alcatel trunk in network mode=yes with crc4 checking and on asterisk cpe mode, also with crc4.
Please use simple dialplan on both switches.
Please read about external callback translator to remove '9' (sorry, this is basic of ALU OXE), documentation is right-top corner of this forum.
Please note that at no time I will provide you with OXE/4400 nor AOS releases.
Note that it's our private time, that we spent to help you, so please don't expect complete solution for your problem.
You will need to do homework by your self.
Note that it's our private time, that we spent to help you, so please don't expect complete solution for your problem.
You will need to do homework by your self.
Re: [HOWTO] Asterisk connection via PRI
Is there any way to transfer call with Asterisk? I am using latest Asterisk (1.6.0.5) via Q.SIG connection to Alcatel OXE. Everything is fine but I have no idea how to transfer call with Asterisk. Q.SIG protocol knows this but I do not know how complete Asterisk implementation is and found no example on this topic.
-
krzysioD
- Alcatel Unleashed Certified Guru

- Posts: 1163
- Joined: 30 Aug 2006 13:43
- Location: Europe, Poland
Re: [HOWTO] Asterisk connection via PRI
Was discussed on this forum, please do search.
It is possible on asterisk using eicon diva server PRI card and Call Diversion on Alcatel OXE side.
iirc it was developed and described by mflores from this forum.
on normal digium hardware with recent libpri it is also possible, but i needed to use 'svn current' version (development version) of libpri and zaptel/dahdi.
Also sending alphanumeric calling name is possible
At least in recent version of OXE (i've tested with R7.1).
Very good alternative to some expensive IVR if you don't want/ don't need integration with CSTA.
It is possible on asterisk using eicon diva server PRI card and Call Diversion on Alcatel OXE side.
iirc it was developed and described by mflores from this forum.
on normal digium hardware with recent libpri it is also possible, but i needed to use 'svn current' version (development version) of libpri and zaptel/dahdi.
Also sending alphanumeric calling name is possible
Very good alternative to some expensive IVR if you don't want/ don't need integration with CSTA.
Please note that at no time I will provide you with OXE/4400 nor AOS releases.
Note that it's our private time, that we spent to help you, so please don't expect complete solution for your problem.
You will need to do homework by your self.
Note that it's our private time, that we spent to help you, so please don't expect complete solution for your problem.
You will need to do homework by your self.
Re: [HOWTO] Asterisk connection via PRI
Thanks for your answer!
I did without relevant result. I have searched with asterisk call transfer and now with asterisk call diversion.krzysioD wrote:Was discussed on this forum, please do search.
Found no results on this forum for mrflores as author or as keyword. Do you have any URL for this discussion?krzysioD wrote:iirc it was developed and described by mflores from this forum.
I am using latest release version but I'll take a look on trunk branch.krzysioD wrote:on normal digium hardware with recent libpri it is also possible, but i needed to use 'svn current' version (development version) of libpri and zaptel/dahdi.
Sounds good indeed. That's why I am looking for some information. I have finished IVR on Asterisk but would be great using Call Transfer or Call Diversion instead of wasting two channels per call.krzysioD wrote:Also sending alphanumeric calling name is possibleAt least in recent version of OXE (i've tested with R7.1).
Very good alternative to some expensive IVR if you don't want/ don't need integration with CSTA.
-
krzysioD
- Alcatel Unleashed Certified Guru

- Posts: 1163
- Joined: 30 Aug 2006 13:43
- Location: Europe, Poland
Re: [HOWTO] Asterisk connection via PRI
Huh,
it was mgoegel
sorry, wrong forum, wrong nick, too early in the morning.
for start:
viewtopic.php?f=44&t=2092&p=16180#p16180
also libpri in asterisk and search for transfer there.
it was mgoegel
for start:
viewtopic.php?f=44&t=2092&p=16180#p16180
also libpri in asterisk and search for transfer there.
Please note that at no time I will provide you with OXE/4400 nor AOS releases.
Note that it's our private time, that we spent to help you, so please don't expect complete solution for your problem.
You will need to do homework by your self.
Note that it's our private time, that we spent to help you, so please don't expect complete solution for your problem.
You will need to do homework by your self.
Re: [HOWTO] Asterisk connection via PRI
Much better!krzysioD wrote:Huh,
it was mgoegelsorry, wrong forum, wrong nick, too early in the morning.
for start:
viewtopic.php?f=44&t=2092&p=16180#p16180
also libpri in asterisk and search for transfer there.
Because that post has been written a year ago I think that function might included in latest release now. But I still not found any traces how to use this transfer function in my dialplan.
- cavagnaro
- Alcatel Unleashed Certified Guru

- Posts: 7013
- Joined: 14 Sep 2005 19:45
- Location: Brasil, Porto Alegre
- Contact:
Re: [HOWTO] Asterisk connection via PRI
And it would be much better if you avoid to duplucate your posts.
Ignorance is not the problem, the problem is the one who doesn't want to learn
OTUC/ICS ACFE/ACSE R3.0/4.0/5.0/6.0
Certified Genesys CIV 8.5
Certified Genesys Troubleshooting 8.5
Certified Genesys BEP 8.x
Genesys Developer
OTUC/ICS ACFE/ACSE R3.0/4.0/5.0/6.0
Certified Genesys CIV 8.5
Certified Genesys Troubleshooting 8.5
Certified Genesys BEP 8.x
Genesys Developer
Re: [HOWTO] Asterisk connection via PRI
Mea culpa! Mea maxima culpa! Last time I got an error and I was mindless now thinking it was not showed up. But it is...cavagnaro wrote:And it would be much better if you avoid to duplucate your posts.
