Je viens de tester l'exemple de Al3x et de F6HQZ mais rien n'y fait
example d'Al3x:
Code:
Using SIP RTP CoS mark 5
-- Executing [00033625081954@from-sip-cyril:1] NoOp("SIP/7034-000000fa", "Outbound international call to number ==> 0033625081954") in new stack
-- Executing [00033625081954@from-sip-cyril:2] NoOp("SIP/7034-000000fa", "0") in new stack
-- Executing [00033625081954@from-sip-cyril:3] Set("SIP/7034-000000fa", "CALLERID(number)=323217034") in new stack
-- Executing [00033625081954@from-sip-cyril:4] SetCallerPres("SIP/7034-000000fa", "prohib") in new stack
-- Executing [00033625081954@from-sip-cyril:5] Dial("SIP/7034-000000fa", "DAHDI/g11/0033625081954") in new stack
PRI Span: 1 -- Making new call for cref 32832
-- Requested transfer capability: 0x00 - SPEECH
PRI Span: 1
PRI Span: 1 > DL-DATA request
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=45
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 64/0x40) (Sent from originator)
PRI Span: 1 > Message Type: SETUP (5)
PRI Span: 1 TEI=0 Transmitting N(S)=56, window is open V(A)=56 K=7
PRI Span: 1
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=45
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 64/0x40) (Sent from originator)
PRI Span: 1 > Message Type: SETUP (5)
PRI Span: 1 > [04 03 80 90 a3]
PRI Span: 1 > Bearer Capability (len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability: Speech (0)
PRI Span: 1 > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
PRI Span: 1 > User information layer 1: A-Law (35)
PRI Span: 1 > [18 03 a1 83 82]
PRI Span: 1 > Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Preferred Dchan: 0
PRI Span: 1 > ChanSel: As indicated in following octets
PRI Span: 1 > Ext: 1 Coding: 0 Number Specified Channel Type: 3
PRI Span: 1 > Ext: 1 Channel: 2 Type: CPE]
PRI Span: 1 > [6c 0b 21 81 33 32 33 32 31 37 30 33 34]
PRI Span: 1 > Calling Party Number (len=13) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
PRI Span: 1 > Presentation: Presentation allowed, User-provided, verified and passed (1) '323217034' ]
PRI Span: 1 > [70 0e 80 30 30 33 33 36 32 35 30 38 31 39 35 34]
PRI Span: 1 > Called Party Number (len=16) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '0033625081954' ]
PRI Span: 1 > [a1]
PRI Span: 1 > Sending Complete (len= 1)
2ème example d'Al3x avec callerid 0:
Code:
Executing [00033625081954@from-sip-cyril:1] NoOp("SIP/7034-000000fc", "Outbound international call to number ==> 0033625081954") in new stack
-- Executing [00033625081954@from-sip-cyril:2] NoOp("SIP/7034-000000fc", "0") in new stack
-- Executing [00033625081954@from-sip-cyril:3] Set("SIP/7034-000000fc", "CALLERID(number)=0000000000") in new stack
-- Executing [00033625081954@from-sip-cyril:4] SetCallerPres("SIP/7034-000000fc", "prohib") in new stack
-- Executing [00033625081954@from-sip-cyril:5] Dial("SIP/7034-000000fc", "DAHDI/g11/0033625081954") in new stack
PRI Span: 1 -- Making new call for cref 32834
-- Requested transfer capability: 0x00 - SPEECH
PRI Span: 1
PRI Span: 1 > DL-DATA request
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=46
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 66/0x42) (Sent from originator)
PRI Span: 1 > Message Type: SETUP (5)
PRI Span: 1 TEI=0 Transmitting N(S)=64, window is open V(A)=64 K=7
PRI Span: 1
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=46
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 66/0x42) (Sent from originator)
PRI Span: 1 > Message Type: SETUP (5)
PRI Span: 1 > [04 03 80 90 a3]
PRI Span: 1 > Bearer Capability (len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability: Speech (0)
PRI Span: 1 > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
PRI Span: 1 > User information layer 1: A-Law (35)
PRI Span: 1 > [18 03 a1 83 81]
PRI Span: 1 > Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Preferred Dchan: 0
PRI Span: 1 > ChanSel: As indicated in following octets
PRI Span: 1 > Ext: 1 Coding: 0 Number Specified Channel Type: 3
PRI Span: 1 > Ext: 1 Channel: 1 Type: CPE]
PRI Span: 1 > [6c 0c 21 81 30 30 30 30 30 30 30 30 30 30]
PRI Span: 1 > Calling Party Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
PRI Span: 1 > Presentation: Presentation allowed, User-provided, verified and passed (1) '0000000000' ]
PRI Span: 1 > [70 0e 80 30 30 33 33 36 32 35 30 38 31 39 35 34]
PRI Span: 1 > Called Party Number (len=16) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '0033625081954' ]
PRI Span: 1 > [a1]
PRI Span: 1 > Sending Complete (len= 1)
test de F6HQZ:
Code:
Parsing '/etc/asterisk/unistim.conf': == Found
== Using SIP RTP CoS mark 5
-- Executing [00033625081954@from-sip-cyril:1] NoOp("SIP/7034-000000fe", "Outbound international call to number ==> 0033625081954") in new stack
-- Executing [00033625081954@from-sip-cyril:2] NoOp("SIP/7034-000000fe", "0") in new stack
-- Executing [00033625081954@from-sip-cyril:3] Set("SIP/7034-000000fe", "CALLERID(number)=000ABCD000") in new stack
-- Executing [00033625081954@from-sip-cyril:4] SetCallerPres("SIP/7034-000000fe", "prohib") in new stack
-- Executing [00033625081954@from-sip-cyril:5] Dial("SIP/7034-000000fe", "DAHDI/g11/0033625081954") in new stack
PRI Span: 1 -- Making new call for cref 32835
-- Requested transfer capability: 0x00 - SPEECH
PRI Span: 1
PRI Span: 1 > DL-DATA request
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=46
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 67/0x43) (Sent from originator)
PRI Span: 1 > Message Type: SETUP (5)
PRI Span: 1 TEI=0 Transmitting N(S)=72, window is open V(A)=72 K=7
PRI Span: 1
PRI Span: 1 > Protocol Discriminator: Q.931 (8) len=46
PRI Span: 1 > TEI=0 Call Ref: len= 2 (reference 67/0x43) (Sent from originator)
PRI Span: 1 > Message Type: SETUP (5)
PRI Span: 1 > [04 03 80 90 a3]
PRI Span: 1 > Bearer Capability (len= 5) [ Ext: 1 Coding-Std: 0 Info transfer capability: Speech (0)
PRI Span: 1 > Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
PRI Span: 1 > User information layer 1: A-Law (35)
PRI Span: 1 > [18 03 a1 83 81]
PRI Span: 1 > Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Preferred Dchan: 0
PRI Span: 1 > ChanSel: As indicated in following octets
PRI Span: 1 > Ext: 1 Coding: 0 Number Specified Channel Type: 3
PRI Span: 1 > Ext: 1 Channel: 1 Type: CPE]
PRI Span: 1 > [6c 0c 21 81 30 30 30 41 42 43 44 30 30 30]
PRI Span: 1 > Calling Party Number (len=14) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
PRI Span: 1 > Presentation: Presentation allowed, User-provided, verified and passed (1) '000ABCD000' ]
PRI Span: 1 > [70 0e 80 30 30 33 33 36 32 35 30 38 31 39 35 34]
PRI Span: 1 > Called Party Number (len=16) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '0033625081954' ]
PRI Span: 1 > [a1]
PRI Span: 1 > Sending Complete (len= 1)
peu importe ce que j'indique pour "prohiber" le CLI le paramètre présentation est toujours avec la même valeur:
Presentation allowed, User-provided, verified and passed
Je pense que c'est peut-être un bug car la pas moyen de modifier ce paramètre de présentation.
Cordialement.