Re: [Asterisk-java-users] setCallingPres() don't work
Brought to you by:
srt
From: Daniele R. <dan...@gm...> - 2014-10-20 10:50:06
|
Hi Yves, thanks for your suggestion. Unfortunally I'm originating the call from the code OriginateAction action = new OriginateAction(); action.setAsync(true); action.setChannel("SIP/provider/phonenumber"); action.setContext(context)); action.setExten(exten); action.setPriority(priority); action.setTimeout(asteriskTimeout); action.setCallerId(telefonata.getCallerId()); action.setCallingPres(3); So I think using set(CALLERID(num-pres)=prohib) the callerid can't be oscured because the call is yet made at that point. Others idea? Thanks 2014-10-19 22:46 GMT+02:00 Yves A. <yv...@gm...>: > out of my stomach one of these steps: > > - use > > set(CALLERID(num-pres)=prohib) > > from within the dialplan > or > - compile libpri and dahdi into your asterisk > > yves > > > Am 19.10.2014 um 18:22 schrieb Daniele Renda: > > Hi guys, > someone can help me? > > Thanks! > > 2014-10-14 17:41 GMT+02:00 Daniele Renda <dan...@gm...>: > >> Hi, >> I'm using Asterisk 11.12.1 with Asterisk Java 1.0.0.M3. >> >> I'm trying to hide the callerId when I create an originateasync. >> >> When I want to display the callerid I do: >> >> action.setCallerId(telefonata.getCallerId()); >> action.setCallingPres(3); >> >> instead when I want to hide it I do: >> >> action.setCallingPres(32); >> >> unfortunally seems that the call is not sent by asterisk. >> >> I see that "This property is only available on BRIstuffed Asterisk >> servers." But how I can hide the caller id if I'm using a sip trunking >> asterisk server? >> >> Thanks very much >> >> -- >> Daniele Renda >> > > > > -- > Daniele Renda > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device.http://p.sf.net/sfu/Zoho > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Comprehensive Server Monitoring with Site24x7. > Monitor 10 servers for $9/Month. > Get alerted through email, SMS, voice calls or mobile push notifications. > Take corrective actions from your mobile device. > http://p.sf.net/sfu/Zoho > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > -- Daniele Renda |