Re: [Asterisk-java-users] setCallingPres() don't work
Brought to you by:
srt
From: Peter K. <pet...@ed...> - 2014-10-20 14:10:17
|
Just a stupid question. When you build a simple dialplan does calling pres work as expected ? Or does your telefonie provider even support this feature ? peter -----Ursprüngliche Nachricht----- Von: Daniele Renda <dan...@gm...> Gesendet: Mon 20 Oktober 2014 15:41 An: ast...@li... Betreff: Re: [Asterisk-java-users] setCallingPres() don't work Hi Yves, yes I yet done this....but unfortunally the caller id is not hidden... In case I'll try the ogher suggestion if there isn't a better way. Thanks very much 2014-10-20 15:37 GMT+02:00 Yves A. <yv...@gm... <mailto:yv...@gm...> >: you're originating the call by giving a context, prio, exten... so go to your dialplan [context] and insert set(...) at the given exten/prio pos. if you´re unsure... post your dialplan.. or try the other suggestion and compile dahdi into your asterisk... yves Am 20.10.2014 um 12:50 schrieb Daniele Renda: 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... <mailto: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... <mailto: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 <http://p.sf.net/sfu/Zoho> _______________________________________________ Asterisk-java-users mailing list Ast...@li... <mailto:Ast...@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 <http://p.sf.net/sfu/Zoho> _______________________________________________ Asterisk-java-users mailing list Ast...@li... <mailto:Ast...@li...> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users -- 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 <http://p.sf.net/sfu/Zoho> _______________________________________________ Asterisk-java-users mailing list Ast...@li... <mailto:Ast...@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 <http://p.sf.net/sfu/Zoho> _______________________________________________ Asterisk-java-users mailing list Ast...@li... <mailto:Ast...@li...> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users -- 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 list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users Mehr News und Informationen aus der Welt der EDAG Group können Sie in unserem interaktiven EMAG-Magazin (http://www.edag.de/de/services/corporate-services/newsletter.html) nachlesen! More news and information about the EDAG Group can be found in our interactive EMAG-Magazine (http://www.edag.de/en/services/corporate-services/newsletter.html)! ------------------------------------------------------------------------------ Registergericht/Court of jurisdiction: Amtsgericht Wiesbaden, HRB 27623 USt.-Id: DE 292 939 239 Vorstand / Executive Board: Werner Kropsbauer (CEO), Jörg Ohlsen (CTO), Harald Poeschke (COO), Jürgen Vogt (CFO) Aufsichtsratsvorsitzender / Chairman of the Supervisory Board: Thomas Eichelmann Hauptsitz/Headquarters: EDAG Engineering AG, Kreuzberger Ring 40, 65205 Wiesbaden Deutschland/Germany / www.edag.com This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. |