|
Sangoma A102D QSIG name support 3 Months, 2 Weeks ago
|
Karma: 0
|
Hi,
I have configured a Sangoma A102D with QSIG ecma variant (ISO cannot be configured as Alcatel has ecma --> very big network --> we cannot switch to ISO on alacatel from that reason) linked with an Alcatel-Lucent OmniPCX Enterprise. All well. Calls are passed w/o problems.
However I need to pass name from asterisk to alcatel. Asterisk sends name in facility as namePresentationAllowedSimple but Alcatel drops it with reason "Invalid Information Element". Alcatel needs namePresentationAllowedExtended for name in IE. I have read many posts and the single way I found to achieve this is with libpri 1.6.0 beta and a patch applied:
issues.asterisk.org/view.php?id=13454
Elastix version is 2.2.0 (asterisk 1.8.7), Dahdi 2.4.1.2
The question is: is there a way of patching and installing libpri 1.6.0 or to recompile libpri libpri-1.4.12-0 if a patch is provided?
Thank you.
|
|
|
|
Last Edit: 2012/02/08 04:36 By T0t3nK0pf.
|
|
|
Re:Sangoma A102D QSIG name support 3 Months, 1 Week ago
|
Karma: 0
|
Traces
Elastix:
| Code: |
PRI Span: 2 -- Making new call for cref 32774
Elastix*CLI>
-- Requested transfer capability: 0x00 - SPEECH
Elastix*CLI>
PRI Span: 2 Adding facility ie contents to send in SETUP message:
Elastix*CLI>
PRI Span: 2 ASN.1 dump
Elastix*CLI>
PRI Span: 2 Context Specific/C [10 0x0A] <AA> Len:6 <06>
Elastix*CLI>
PRI Span: 2 Context Specific [0 0x00] <80> Len:1 <01>
Elastix*CLI>
PRI Span: 2 <00> - "~"
Elastix*CLI>
PRI Span: 2 Context Specific [2 0x02] <82> Len:1 <01>
Elastix*CLI>
PRI Span: 2 <00> - "~"
Elastix*CLI>
PRI Span: 2 Context Specific [11 0x0B] <8B> Len:1 <01>
Elastix*CLI>
PRI Span: 2 <00> - "~"
Elastix*CLI>
PRI Span: 2 Context Specific/C [1 0x01] <A1> Len:22 <16>
Elastix*CLI>
PRI Span: 2 Integer(2 0x02) <02> Len:1 <01>
Elastix*CLI>
PRI Span: 2 <06> - "~"
Elastix*CLI>
PRI Span: 2 Integer(2 0x02) <02> Len:1 <01>
Elastix*CLI>
PRI Span: 2 <00> - "~"
Elastix*CLI>
PRI Span: 2 Context Specific [0 0x00] <80> Len:14 <0E>
Elastix*CLI>
PRI Span: 2 <62 6F 67 64 61 6E 2E 73-69 6D 61 63 69 75> - "bogdan.X"PRI Span: 2 ASN.1 end
PRI Span: 2 nfe NetworkFacilityExtension Context Specific/C [10 0x0A]
Elastix*CLI>
PRI Span: 2 sourceEntity Context Specific [0 0x00] = 0 0x0000
Elastix*CLI>
PRI Span: 2 destinationEntity Context Specific [2 0x02] = 0 0x0000
Elastix*CLI>
PRI Span: 2 interpretation Context Specific [11 0x0B] = 0 0x0000
Elastix*CLI>
PRI Span: 2 INVOKE Component Context Specific/C [1 0x01]
Elastix*CLI>
PRI Span: 2 invokeId Integer(2 0x02) = 6 0x0006
Elastix*CLI>
PRI Span: 2 operationValue Integer(2 0x02) = 0 0x0000
Elastix*CLI>
PRI Span: 2 operationValue = ROSE_QSIG_CallingName
Elastix*CLI>
PRI Span: 2 callingName Name
Elastix*CLI>
PRI Span: 2 namePresentationAllowedSimple Context Specific [0 0x00] =
Elastix*CLI>
PRI Span: 2 <62 6F 67 64 61 6E 2E 73-69 6D 61 63 69 75> - "bogdan.X"
Elastix*CLI>
PRI Span: 2
PRI Span: 2 > DL-DATA request
Elastix*CLI>
PRI Span: 2 > Protocol Discriminator: Q.931 (8) len=70
PRI Span: 2 > TEI=0 Call Ref: len= 2 (reference 6/0x6) (Sent from originator)
Elastix*CLI>
PRI Span: 2 > Message Type: SETUP (5)
PRI Span: 2 TEI=0 Transmitting N(S)=13, window is open V(A)=13 K=7
Elastix*CLI>
PRI Span: 2
Elastix*CLI>
PRI Span: 2 > TEI: 0 State 7(Multi-frame established)
PRI Span: 2 > V(A)=13, V(S)=13, V(R)=23
PRI Span: 2 > K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 2 > T200_id=0, N200=3, T203_id=16384
PRI Span: 2 > [ 00 01 1a 2e 08 02 00 06 05 04 03 80 90 a3 18 03 a1 83 81 1c 24 9f aa 06 80 01 00 82 01 00 8b 01 00 a1 16 02 01 06 02 01 00 80 0e 62 6f 67 64 61
6e 2e 73 69 6d 61 63 69 75 6c 07 21 80 39 39 39 39 39 70 06 80 32 38 36 36 36 ]
PRI Span: 2 > Informational frame:
PRI Span: 2 > SAPI: 00 C/R: 0 EA: 0
PRI Span: 2 > TEI: 000 EA: 1
PRI Span: 2 > N(S): 013 0: 0
PRI Span: 2 > N(R): 023 P: 0
PRI Span: 2 > 70 bytes of data
PRI Span: 2 > Protocol Discriminator: Q.931 (8) len=70
PRI Span: 2 > TEI=0 Call Ref: len= 2 (reference 6/0x6) (Sent from originator)
PRI Span: 2 > Message Type: SETUP (5)
PRI Span: 2 > [04 03 80 90 a3]
PRI Span: 2 > Bearer Capability (len= 5) [ Ext: 1 Coding-Std: 0 Info transfer
capability: Speech (0)
PRI Span: 2 > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
PRI Span: 2 > User information layer 1: A-Law (35)
Elastix*CLI>
PRI Span: 2 > [18 03 a1 83 81]
Elastix*CLI>
PRI Span: 2 > Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare:
0 Preferred Dchan: 0
PRI Span: 2 > ChanSel: As indicated in following octets
PRI Span: 2 > Ext: 1 Coding: 0 Number Specified Channel
Type: 3
PRI Span: 2 > Ext: 1 Channel: 1 Type: CPE]
PRI Span: 2 > [1c 24 9f aa 06 80 01 00 82 01 00 8b 01 00 a1 16 02 01 06 02 01 00
80 0e 62 6f 67 64 61 6e 2e 73 69 6d 61 63 69 75]
PRI Span: 2 > Facility (len=38, codeset=0) [ 0x9F, 0xAA, 0x06, 0x80, 0x01, 0x00,
0x82, 0x01, 0x00, 0x8B, 0x01, 0x00, 0xA1, 0x16, 0x02, 0x01, 0x06, 0x02, 0x01, 0x00, 0x80, 0x0E, 'bogdan.X' ]
PRI Span: 2 > [6c 07 21 80 39 39 39 39 39]
PRI Span: 2 > Calling Number (len= 9) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
PRI Span: 2 > Presentation: Presentation permitted, user number not screened (0) '99999' ]
PRI Span: 2 > [70 06 80 32 38 36 36 36]
Elastix*CLI>
PRI Span: 2 > Called Number (len= 8) [ Ext: 1 TON: Unknown Number Type (0) NPIElastix*CLI>
: Unknown Number Plan (0) '28666' ]
Elastix*CLI>
PRI Span: 2 -- Stopping T203 timer
Elastix*CLI>
PRI Span: 2 -- Starting T200 timer
PRI Span: 2 q931.c:6036 q931_setup: Call 32774 enters state 1 (Call Initiated).
Elastix*CLI>
Hold state: Idle
-- Called DAHDI/g12/28666
PRI Span: 2
PRI Span: 2 < TEI: 0 State 7(Multi-frame established)
PRI Span: 2 < V(A)=13, V(S)=14, V(R)=23
PRI Span: 2 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 2 < T200_id=16384, N200=3, T203_id=0
PRI Span: 2 < [ 00 01 01 1c ]
PRI Span: 2 < Supervisory frame:
PRI Span: 2 < SAPI: 00 C/R: 0 EA: 0
PRI Span: 2 < TEI: 000 EA: 1
PRI Span: 2 < Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
PRI Span: 2 < N(R): 014 P/F: 0
PRI Span: 2 < 0 bytes of data
PRI Span: 2 -- Got ACK for N(S)=13 to (but not including) N(S)=14
PRI Span: 2 -- ACKing N(S)=13, tx_queue head is N(S)=-1 (-1 is empty, -2 is not
transmitted)
PRI Span: 2 -- Stopping T200 timer
PRI Span: 2 -- Starting T203 timer
PRI Span: 2 Done handling message for SAPI/TEI=0/0
PRI Span: 2
PRI Span: 2 < TEI: 0 State 7(Multi-frame established)
PRI Span: 2 < V(A)=14, V(S)=14, V(R)=23
PRI Span: 2 < K=7, RC=0, l3_initiated=0, reject_except=0, ack_pend=0
PRI Span: 2 < T200_id=0, N200=3, T203_id=16384
PRI Span: 2 < [ 02 01 2e 1c 08 02 80 06 7d 08 03 80 e3 1c 14 01 06 ]
PRI Span: 2 < Informational frame:
PRI Span: 2 < SAPI: 00 C/R: 1 EA: 0
PRI Span: 2 < TEI: 000 EA: 1
PRI Span: 2 < N(S): 023 0: 0
PRI Span: 2 < N(R): 014 P: 0
PRI Span: 2 < 13 bytes of data
PRI Span: 2 < Protocol Discriminator: Q.931 (8) len=13
PRI Span: 2 < TEI=0 Call Ref: len= 2 (reference 6/0x6) (Sent to originator)
PRI Span: 2 < Message Type: STATUS (125)
PRI Span: 2 < [08 03 80 e3 1c]
PRI Span: 2 < Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare:
0 Location: User (0)
PRI Span: 2 < Ext: 1 Cause: Info. element nonexist or not implemented (99), class = Protocol Error (e.g. unknown message) (6) ]
Elastix*CLI>
PRI Span: 2 < Cause data 1: 1c (28, Facility IE)
Elastix*CLI>
|
Alcatel:
| Code: |
_
_____________________________________________________________________________
| (019517:599087) Physical-Event :
| long: 83 desti: 0 source: 0 cryst: 2 cpl: 23 us: 0 term: 0 type a5
| tei: 0 >>>> message received : SETUP [05] Call ref : 00 06
|______________________________________________________________________________
|
| IE:[04] BEARER_CAPABILITY (l=3) 80 90 a3
| IE:[18] CHANNEL (l=3) a1 83 81 -> T2 : B channel 1 preferred
| IE:[1c] FACILITY (l=36)
| [9f] Discriminator of supplementary service applications
| [aa] NFE (l=6):
| [80] Source Entity (l=1) End_PTNX
| [82] Destination Entity (l=1) End_PTNX
| [8b] Interpretation APDU (l=1): DISCARD (0)
| [a1] INVOKE (l=22):
| Invoke Ident. : 0006 (6)
| OP: 0000 (0)
| [80] Context specific (l=14) 62 6f 67 64 61 6e 2e 73 69
| 6d 61 63 69 75
| IE:[6c] CALLING_NUMBER (l=7) -> 21 80 Num : 99999
| IE:[70] CALLED_NUMBER (l=6) -> 80 Num : 28666
|______________________________________________________________________________
______________________________________________________________________________
| (019517:599089) 1043: Send_IO1 (link-nbr=15, sapi=0, tei=0) :
| long: 26 desti: 0 source: 15 cryst: 2 cpl: 23 us: 8 term: 0 type a5
| tei: 0 <<<< message sent : STATUS [7d] Call ref : 80 06
|______________________________________________________________________________
|
| IE:[08] CAUSE (l=3) 80 e3 1c -> [e3]
| INFORMATION ELEMENT NON-EXISTENT OR NOT IMPLEMENTED
| IE:[14] CALL_STATE (l=1) 06
|______________________________________________________________________________
|
|
|
|
|
|
|
|
Re:Sangoma A102D QSIG name support 3 Months, 1 Week ago
|
Karma: 0
|
|
Update:
I was able to patch and compile libpri-1.4.12 and send name in extended format (thanks to patch). However the problem seems to be not the name presentation format, but the IE format sent by asterisk which is ISO: 0x9F. Alcatel expects 0x91 -->ECMA.
Does anybody knows how to do this or a patch that works for this?
In order to compile I used:
dahdi-linux-complete-2.5.0.2+2.5.0.2.tar.gz
asterisk-1.8.7.0-0.src.rpm
libpri-1.4.12.tar.gz (didn't work with libpri-1.6.0-beta1)->and I applied a patch to this
wanpipe-3.5.24.tgz
|
|
|
|
Last Edit: 2012/02/15 04:30 By T0t3nK0pf.
|
|
|