[HOWTO] Asterisk connection via PRI

mrphil

Re: [HOWTO] Asterisk connection via PRI

Post by mrphil »

Apologies for the noob question, but I am trying to follow this guide and have an issue on the 4400. I followed these steps to set up the PBRA2, but when setting up the trunk I reach this point:


o Under Access create an object:
o If your card is in shelf 0, slot 4 the physical address will be 0-4-0
o access type=T2

I enter the physical address of the board as 0-16-0 and of type T2, but receive a non-descript error of "missing Attribute value". See attached screenshot.

Any help would be greatly appreciated!
You do not have the required permissions to view the files attached to this post.
krzysioD
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1163
Joined: 30 Aug 2006 13:43
Location: Europe, Poland

Re: [HOWTO] Asterisk connection via PRI

Post by krzysioD »

Lol

What tool you are using for programing your OXE?
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.
User avatar
cavagnaro
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 7013
Joined: 14 Sep 2005 19:45
Location: Brasil, Porto Alegre
Contact:

Re: [HOWTO] Asterisk connection via PRI

Post by cavagnaro »

Is it 4740?? I think that should be able to do it but by downloading the OXE libraries.
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
mrphil

Re: [HOWTO] Asterisk connection via PRI

Post by mrphil »

Ok, I persuaded the service company to look at is as a fault and they sorted it, turns out the GUI is older than the software running on PBX so it doesn't send all the required info and fails.
krzysioD
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1163
Joined: 30 Aug 2006 13:43
Location: Europe, Poland

Re: [HOWTO] Asterisk connection via PRI

Post by krzysioD »

I've put my BPRA2 also in slot 16 :)

Code: Select all

  
+-------------------------------------------------------------------+
| Cr | cpl| cpl type   | hw type   |  cpl  state  |  coupler ID     |
|----|----|------------|-----------|--------------|-----------------|
|  3 | 16 |       BPRA2|---------- |   IN SERVICE 


┌─Consult/Modify: T2/T1/T0 Access────────────────────────────────────────┐
│                                                                        │
│             Node Number (reserved) : 101                               │
│                     Trunk Group Id : 34                                │
│                Instance (reserved) : 1                                 │
│                   Physical Address : 3-16-0                            │
│                                                                        │
│                        Access Type + T2                                │
│                  Access Cluster Id : -1                                │
│                      Time Slots T2 : 01111111111111110111111111111111  │
│                                                                        │
└────────────────────────────────────────────────────────────────────────┘

     ┌─Consult/Modify: Digital Access─────────────────────────────────────┐
     │                                                                    │
     │             Node Number (reserved) : 101                           │
     │                      Shelf Address : 3                             │
     │                      Board Address : 16                            │
     │                   T0/T2 Access No. : 0                             │
     │                                                                    │
     │                        Access Type + T2                            │
     │                         Board type + BPRA2                         │
     │           Synchronisation Priority : 255                           │
     │                               CRC4 + YES                           │


And it works. Don't use stupid GUI when you have CLI.
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.
mrphil

Re: [HOWTO] Asterisk connection via PRI

Post by mrphil »

So close! Asterisk to Alcatel working perfectly. Alcatel to Asterisk is very very crackly and drops the call after exactly 1 second. Assuming its some sort of clock timing issue on the Alcatel end, but can't see anywhere to change this. Any ideas?
torrentula

Re: [HOWTO] Asterisk connection via PRI

Post by torrentula »

One side needs to be providing clocking. On the OXE you can set the digital access to network=yes and the sync priority to 255.

Shelf ->Descend->Board->Descend->Digital Access

Network mode =yes
sync priority 255

If Asterisk is providing clock then set network mode to no and set sync priority to between 200-250, depending on what other accesses you have in your OXE.
mrphil

Re: [HOWTO] Asterisk connection via PRI

Post by mrphil »

OK, I think the timing issue may not be it. If I follow this part

My Asterisk extensions begin with 3, so under Translator/Prefix plan

* 3 - Open routing no.
* Node number=the ID number of the Asterisk trunk group


From the Alcatel phones I can dial only the single digit 3, and it immediately says wrong number and gives busy tone. Asterisk receives the following in its logs so it obviously gets through correctly:

-- Extension '3' in context 'from-zaptel' from '4830' does not exist. Rejecting call on channel 1/27, span 1

If I create in the prefix plan the full extension number of 3001, then Alcatel lets me dial and asterisk receives the call, but my Alcatel phone display acts as if the call wasn't connected and hangs up after the 1 second even though during that time there is two-way audio. I assume from the way the guide is written that adding the prefix plan of 3 should enable all extensions starting with 3 to be sent to the Alcatel but this doesn't seem to work for me? Am I understanding this correctly?
krzysioD
Alcatel Unleashed Certified Guru
Alcatel Unleashed Certified Guru
Posts: 1163
Joined: 30 Aug 2006 13:43
Location: Europe, Poland

Re: [HOWTO] Asterisk connection via PRI

Post by krzysioD »

Huh,

manage TG prefix, like *#*20, for TG#20, #20 for asterisk, and then try to send digits.

the output from asterisk says:
"don't have a numbering plan in context from-zaptel starting with 3".

so, what's your extensions.conf of asterisk, that is question.

start with something like
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

the _3XXX tells to asterisk receive digit 3, then any 3 digits 0-9.

or catch up the everything with that:
exten => _X.,1,Noop(TEST$EXTEN})

Using the above you could send 1 or 2 or 5 or 10, or even 20 digits in digit-by-digit mode. It's easy.
You could end your dialing with a # on UA set or simply wait for "answer" from asterisk.
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.
mrphil

Re: [HOWTO] Asterisk connection via PRI

Post by mrphil »

Ah, ok I understand what is happening now, thanks. As Im using Trixbox/Freepbx its automatically generating the extensions.conf which seems to be expect the whole number in one go.

So, in Alcatel I changed from Open Routing No. to Routing No. and specified 4 digit length which lets me dial properly (not sure if this is what it is intended for), but I still have the same issue where dialling from Alcatel side the Asterisk phone rings and is answered but Alcatel hangs up 1 second later. I also noticed that the Alcatel phone display never changes to show the call timer, as if there is no notification back from Asterisk that the call was answered.
Post Reply

Return to “Asterisk”