[Asterisk-Users] QuadBRI: How to set the outgoing callerid (KPN - NL)

Remco Barende asterisk at barendse.to
Mon Jun 20 12:11:51 MST 2005


Are you sure that for the BRI outgoing callerid is allowed?

I have several BRI lines where outgoing callerid is blocked (on my 
request) by KPN. No matter what you pass to the BRI line, KPN will never 
pass callerid.


On Mon, 20 Jun 2005, 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.
>
>



More information about the asterisk-users mailing list