[Asterisk-Users] QuadBRI: How to set the outgoing callerid (KPN
- NL)
Stijn Jonker
SJCJonker at SJC.nl
Mon Jun 20 12:28:34 MST 2005
Hmm,
Replying to my own post, forgot one important detail:
Asterisk 1.0.7-BRIstuffed-0.2.0-RC8g
Stijn
On 20-Jun-2005 20:20, Stijn Jonker wrote:
> Hello all,
>
> Recently I purchased an QuadBRI card from junghanns.net after some
> playing around, reconfiguring dialplans etc with the exception of 1
> thing everything seems to work:
>
> I seem to be unable to set the outbound callerid. The dutch telecom
> operator (KPN) provided me with 4 MSN's on 1 BRI interface. In the past
> years I'm more then used to setting the MSN without the leading 0, this
> always worked fine.
>
> With the QuadBRI this didn't work, added the 0, messed around with
> CallingPres, SetCallerPres and the various callerid and usecallerpres
> values in zapata.conf. (Off course found via google, mailinglist,
> voip-info etc) All calls resulting to be presented at the far end with
> the network default caller id.
>
> I'm lost, can somebody provide some assistance, attached is an output of
> bri debug span 1 (this due to line wraps..)
>
> But I think this is the network returning my error:
> "Ext: 1 Cause: Invalid information element contents (100), class =
> Protocol Error (6)"
>
> My zapata is short, but as said the various caller id options have
> passed through this file ;-)
> zapata.conf:
> --------------
> [channels]
> switchtype = euroisdn
> pridialplan = dynamic
> prilocaldialplan = local
> nationalprefix = 0
> internationalprefix = 00
> musiconhold=default
> echocancel = yes
> echocancelwhenbridged = no
> echotraining = 100
> ;-------------------------
> signalling = bri_cpe_ptmp
> context=pstn-inbound
> group = 1
> channel => 1-2
> ;-------------------------
> signalling = bri_net_ptmp
> context=isdn-inbound
> group = 2
> channel => 4-5
>
> Part of dialplan:
> ------------------
> exten => _0.,1,SetCallerID(${EDN_MAIN:1})
> exten => _0.,2,Dial(${ZAP_MAIN}${EXTEN:1},30)
> exten => _0.,3,Macro(dial-result)
>
> exten => _9.,1,SetCallerID(${EDN_WORK:1})
> exten => _9.,2,Dial(${ZAP_MAIN}${EXTEN:1},30)
> exten => _9.,3,Macro(dial-result)
>
> Variables:
> -----------------
> ZAP_MAIN=Zap/g1/
> EDN_MAIN=022929XXX0
> EDN_WORK=022927XXX7
>
> The 022929XXX0 is the "default" msn, even if i try to set this
> explicitly it gets rejected with the network message as mentioned above.
> (But because it's default all calls will originate with 22929XXX0)
>
> If more info is needed don't hesitate to ask for it I'm kind of lost on
> what to provide.
>
> Thanks in advance.
>
>
>
> ------------------------------------------------------------------------
>
> -- Executing SetCallerID("SIP/SJCC7960-ac64", "22927XXX7") in new stack
> -- Executing CallingPres("SIP/SJCC7960-ac64", "3") in new stack
> -- Executing Dial("SIP/SJCC7960-ac64", "Zap/g1/0646XXX645|30") in new stack
> -- Making new call for cr 140
> -- Requested transfer capability: 0x00 - SPEECH
>
>>Protocol Discriminator: Q.931 (8) len=38
>>Call Ref: len= 1 (reference 12/0xC) (Originator)
>>Message type: SETUP (5)
>>[04 03 80 90 a3]
>>Bearer Capability (len= 5) [ Ext: 1 Q.931 Std: 0 Info transfer capability: Speech (0)
>> Ext: 1 Trans mode/rate: 64kbps, circuit-mode (16)
>> Ext: 1 User information layer 1: A-Law (35)
>>[18 01 81]
>>Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Preferred Dchan: 0
>> ChanSel: B1 channel
>
> ]
>
>>[6c 0b 41 83 32 32 39 32 37 3X 3X 3X 37]
>>Calling Number (len=13) [ Ext: 0 TON: Subscriber Number (4) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>> Presentation: Presentation allowed of network provided number (3) '22927XXX7' ]
>>[70 0a a1 36 34 36 3X 3X 3X 36 34 35]
>>Called Number (len=12) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '646XXX645' ]
>>[a1]
>>Sending Complete (len= 1)
>
> -- Called g1/0646XXX445
> < Protocol Discriminator: Q.931 (8) len=12
> < Call Ref: len= 1 (reference 140/0x8C) (Terminator)
> < Message type: STATUS (125)
> < [08 03 82 e4 6c]
> < Cause (len= 5) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
> < Ext: 1 Cause: Invalid information element contents (100), class = Protocol Error (6) ]
> < Cause data 1: 6c (108)
> < [14 01 01]
> < Call State (len= 3) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Call Initiated (1)
> -- Processing IE 8 (cs0, Cause)
> -- Processing IE 20 (cs0, Call State)
> < Protocol Discriminator: Q.931 (8) len=7
> < Call Ref: len= 1 (reference 140/0x8C) (Terminator)
> < Message type: CALL PROCEEDING (2)
> < [18 01 89]
> < Channel ID (len= 3) [ Ext: 1 IntID: Implicit, Other Spare: 0, Exclusive Dchan: 0
> < ChanSel: B1 channel
> ]
> -- Processing IE 24 (cs0, Channel Identification)
> < Protocol Discriminator: Q.931 (8) len=8
> < Call Ref: len= 1 (reference 140/0x8C) (Terminator)
> < Message type: ALERTING (1)
> < [1e 02 82 88]
> < Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2)
> < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ]
> -- Processing IE 30 (cs0, Progress Indicator)
> -- Zap/1-1 is ringing
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Met Vriendelijke groet/Yours Sincerely
Stijn Jonker <SJCJonker at sjc.nl>
More information about the asterisk-users
mailing list