[Asterisk-Users] Set CallerID in zapata.conf with QuadBri or other solution with parallel call signalling

Jean-Christophe Heger jcheger at acytec.com
Sat May 21 22:01:20 MST 2005


I can't tell you how to resolve your issue, but I can tell you about
mine. I was fighting for setting my outgoing number (MSN /
bri_cpe_ptmp), and showing or hiding the number, with Swisscom operator.

Showing or hiding the number is resolved by the CallingPres command. For
me, values 0 and 32 worked.
Reference:
http://www.voip-info.org/tiki-index.php?page=Asterisk%20cmd%20CallingPres

Setting the outgoing number was another headache.While incoming
CallerIDs had 7 digits, the ougoing MSN must be set to 9 digits. The
formerly called 'zone prefix', now fully included inside the number, has
to be sent as well.

I hope this can help you.

Jean-Christophe

my conf:

[pstn-out]
exten => _.,1,Macro(setmsn,${CALLERIDNUM})
exten => _.,2,CallingPres(32)                   ; 0 to show, 32 to hide
exten => _.,3,SetCallerID(${MSN})
exten => _.,4,Dial(Zap/g1/${EXTEN})
exten => _.,5,Congestion

[macro-setmsn]
exten => s,1,GotoIf($[${ARG1} = 120]?200)
exten => s,2,GotoIf($[${ARG1} = 121]?200)
exten => s,3,GotoIf($[${ARG1} = 122]?200)
exten => s,4,GotoIf($[${ARG1} = 123]?200)
exten => s,6,GotoIf($[${ARG1} = 131]?202)
exten => s,7,SetGlobalVar(MSN=333333333)
exten => s,200,SetGlobalVar(MSN=111111111)
exten => s,202,SetGlobalVar(MSN=222222222)


Companity a écrit :

> Hi,
>
> we are using asterisk with Junghanns QuadBri and some sip phones. 2
> channels are configured in NT mode (ISDN PBX connected, internal ) and
> 2 channels are connected to the public ISDN network (bri-cpe). We use
> Bristuff 0.2.0 RC8C from Junghanns.
>
> When a call comes in from the public phone for a specific extension
> (Hotline Number), we initiate a parallelcall to some SIP phones and
> also to our PBX through the quadbri and we also do a signalling on one
> mobile phone(through the second channel which is connected to the
> oublic phone network).
>
> Problem:  
>
> The sip phones and the internal phones on the PBX see the number of
> the calling party correctly (e.g. 040-987654321). Cause we can´t set a
> callerid to the public phone network (to show the calling party
> number), we want to show an extension of our numbers on our isdn-bri
> (asigned by Carrier, e.g. our numbers are 12345-0 to 12345-99). If we
> use our current configuration, everythings works good, execpt the isdn
> call to the mobile phone. As calling id it shows 12345 w/o an
> extension. We would like to set a specific extension, so that for the
> call to the mobile phone it is displayed 12345-88 (so we see that is a
> call forwarded from asterisk for a specific extension) and the rest
> (SIP an PBX) should display the ID of the calling party (e.g.
> 040-987654321). Does anybody has an idea ? I tried to set a callerid
> in the zapata.conf for the channels dialing the mobile phone with
> callerid= "" <1234588> and also same w/ setcallerid(""<1234588>).
> Result is that it´s shown 12345 to the mobile phone.
>
> thanks for help
>
> Andreas
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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
>




More information about the asterisk-users mailing list