Re: [asterisk-users] not succeeding to hide callerid with outbound calls
Numbering Plan (E.164/E.163) (1) Presentation: Presentation permitted, user number passed network screening (1) '30300' ] [70 0e 80 30 30 33 31 36 34 36 31 36 3* 3* 3* 3*] Called Number (len=16) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '003164616' ] [a1] Sending Complete (len= 1) q931.c:4877 q931_setup: Call 32803 enters state 1 (Call Initiated). Hold state: Idle -- Called g1/003164616 Protocol Discriminator: Q.931 (8) len=10 TEI=0 Call Ref: len= 2 (reference 35/0x23) (Sent to originator) Message Type: CALL PROCEEDING (2) [18 03 a9 83 81] Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0 ChanSel: As indicated in following octets Ext: 1 Coding: 0 Number Specified Channel Type: 3 Ext: 1 Channel: 1 Type: CPE] Received message for call 0x6b0f420 on 0x2c07fd20 TEI/SAPI 0/0, call-pri is 0x2c07fd20 TEI/SAPI 0/0 -- Processing IE 24 (cs0, Channel Identification) q931.c:6916 post_handle_q931_message: Call 32803 enters state 3 (Outgoing Call Proceeding). Hold state: Idle -- DAHDI/1-1 is proceeding passing it to SIP/joostkuif-0014 Protocol Discriminator: Q.931 (8) len=9 TEI=0 Call Ref: len= 2 (reference 35/0x23) (Sent to originator) Message Type: ALERTING (1) [1e 02 84 88] Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] Received message for call 0x6b0f420 on 0x2c07fd20 TEI/SAPI 0/0, call-pri is 0x2c07fd20 TEI/SAPI 0/0 -- Processing IE 30 (cs0, Progress Indicator) q931.c:6806 post_handle_q931_message: Call 32803 enters state 4 (Call Delivered). Hold state: Idle -- DAHDI/1-1 is ringing From: asterisk-users-boun...@lists.digium.com [asterisk-users-boun...@lists.digium.com] On Behalf Of Joost Kuif | Mobillion Sent: Friday, September 03, 2010 10:14 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] not succeeding to hide callerid with outbound calls - Email found in subject Hi All, In my dialplan and standard asterisk CLI logging i see that i am able to restrict the callerid when dialing out with asterisk. however, on the receiving phone, the callerid is still displayed. When i increment the logging of the pri with pri set debug on span 1 on the CLI i also get the lower level debugging info from the pri. From here it looks like the SET CALLERPRES()=prohib is not working as expected... we see: Presentation: Presentation permitted We use asterisk 1.6 with DAHDI and a PRI ISDN 30 line in the Netherlands. Can anyone help me sorting out this issue?? Thanks in advance! -- Executing [...@macro-transfer:25] NoOp(SIP/joostkuif-0003, geheim) in new stack -- Executing [...@macro-transfer:26] NoOp(SIP/joostkuif-0003, voor de SET CALLERPRES() = allowed_not_screened) in new stack -- Executing [...@macro-transfer:27] NoOp(SIP/joostkuif-0003, CALLINGPRES = 0) in new stack -- Executing [...@macro-transfer:28] Set(SIP/joostkuif-0003, CALLERPRES()=prohib) in new stack -- Executing [...@macro-transfer:29] NoOp(SIP/joostkuif-0003, na de SET CALLERPRES() = prohib) in new stack -- Executing [...@macro-transfer:30] NoOp(SIP/joostkuif-0003, CALLINGPRES is nu = 35) in new stack -- Executing [...@macro-transfer:31] Goto(SIP/joostkuif-0003, dial) in new stack -- Goto (macro-transfer,s,36) -- Executing [...@macro-transfer:36] NoOp(SIP/joostkuif-0003, dial) in new stack -- Executing [...@macro-transfer:37] Dial(SIP/joostkuif-0003, DAHDI/g1/003164616,10) in new stack -- Making new call for cref 32772 -- Requested transfer capability: 0x00 - SPEECH Protocol Discriminator: Q.931 (8) len=45 TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent from 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) User information layer 1: A-Law (35) [18 03 a1 83 81] Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Preferred Dchan: 0 ChanSel: As indicated in following octets Ext: 1 Coding: 0 Number Specified Channel Type: 3 Ext: 1 Channel: 1 Type: CPE] [6c 0b 21 81 36 34 36 31 36 30 35 39 30] Calling Number (len=13) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) Presentation: Presentation permitted, user number passed network screening (1) '64616' ] [70 0e 80 30 30
[asterisk-users] not succeeding to hide callerid with outbound calls
Hi All, In my dialplan and standard asterisk CLI logging i see that i am able to restrict the callerid when dialing out with asterisk. however, on the receiving phone, the callerid is still displayed. When i increment the logging of the pri with pri set debug on span 1 on the CLI i also get the lower level debugging info from the pri. From here it looks like the SET CALLERPRES()=prohib is not working as expected... we see: Presentation: Presentation permitted We use asterisk 1.6 with DAHDI and a PRI ISDN 30 line in the Netherlands. Can anyone help me sorting out this issue?? Thanks in advance! -- Executing [...@macro-transfer:25] NoOp(SIP/joostkuif-0003, geheim) in new stack -- Executing [...@macro-transfer:26] NoOp(SIP/joostkuif-0003, voor de SET CALLERPRES() = allowed_not_screened) in new stack -- Executing [...@macro-transfer:27] NoOp(SIP/joostkuif-0003, CALLINGPRES = 0) in new stack -- Executing [...@macro-transfer:28] Set(SIP/joostkuif-0003, CALLERPRES()=prohib) in new stack -- Executing [...@macro-transfer:29] NoOp(SIP/joostkuif-0003, na de SET CALLERPRES() = prohib) in new stack -- Executing [...@macro-transfer:30] NoOp(SIP/joostkuif-0003, CALLINGPRES is nu = 35) in new stack -- Executing [...@macro-transfer:31] Goto(SIP/joostkuif-0003, dial) in new stack -- Goto (macro-transfer,s,36) -- Executing [...@macro-transfer:36] NoOp(SIP/joostkuif-0003, dial) in new stack -- Executing [...@macro-transfer:37] Dial(SIP/joostkuif-0003, DAHDI/g1/003164616,10) in new stack -- Making new call for cref 32772 -- Requested transfer capability: 0x00 - SPEECH Protocol Discriminator: Q.931 (8) len=45 TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent from 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) User information layer 1: A-Law (35) [18 03 a1 83 81] Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Preferred Dchan: 0 ChanSel: As indicated in following octets Ext: 1 Coding: 0 Number Specified Channel Type: 3 Ext: 1 Channel: 1 Type: CPE] [6c 0b 21 81 36 34 36 31 36 30 35 39 30] Calling Number (len=13) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) Presentation: Presentation permitted, user number passed network screening (1) '64616' ] [70 0e 80 30 30 33 31 36 34 36 31 36 30 35 39 30] Called Number (len=16) [ Ext: 1 TON: Unknown Number Type (0) NPI: Unknown Number Plan (0) '003164616' ] [a1] Sending Complete (len= 1) q931.c:4877 q931_setup: Call 32772 enters state 1 (Call Initiated). Hold state: Idle -- Called g1/003164616 Protocol Discriminator: Q.931 (8) len=10 TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent to originator) Message Type: CALL PROCEEDING (2) [18 03 a9 83 81] Channel ID (len= 5) [ Ext: 1 IntID: Implicit Other(PRI) Spare: 0 Exclusive Dchan: 0 ChanSel: As indicated in following octets Ext: 1 Coding: 0 Number Specified Channel Type: 3 Ext: 1 Channel: 1 Type: CPE] Received message for call 0x2c4e93f0 on 0xbead2a0 TEI/SAPI 0/0, call-pri is 0xbead2a0 TEI/SAPI 0/0 -- Processing IE 24 (cs0, Channel Identification) q931.c:6916 post_handle_q931_message: Call 32772 enters state 3 (Outgoing Call Proceeding). Hold state: Idle -- DAHDI/1-1 is proceeding passing it to SIP/joostkuif-0003 Protocol Discriminator: Q.931 (8) len=9 TEI=0 Call Ref: len= 2 (reference 4/0x4) (Sent to originator) Message Type: ALERTING (1) [1e 02 84 88] Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] Received message for call 0x2c4e93f0 on 0xbead2a0 TEI/SAPI 0/0, call-pri is 0xbead2a0 TEI/SAPI 0/0 -- Processing IE 30 (cs0, Progress Indicator) q931.c:6806 post_handle_q931_message: Call 32772 enters state 4 (Call Delivered). Hold state: Idle -- DAHDI/1-1 is ringing -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Can't read environment variable
Hi, I can't read a environment variable in a asterisk dialplan. When logged in as user root on the system an 'echo $HOSTNAME' gives the hostame of the machine. Asterisk (1.4) is started from the same console. I try to read it like this: exten = s,n,NoOp(host=${ENV(HOSTNAME)}) Does anyone know what i am missing? Ipv een saaie e-mail een leuk videobericht? Ga naar www.KletsKoppies.nl http://www.kletskoppies.nl/ kuif_joost.gif___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Can't read environment variable
This pointed me into the right direction, thanks Tzafrir! i added a export HOSTNAME=$HOSTNAME into my .bash_profile Grtz, Joost -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Tzafrir Cohen Verzonden: Wednesday, January 30, 2008 1:58 PM Aan: asterisk-users@lists.digium.com Onderwerp: Re: [asterisk-users] Can't read environment variable On Wed, Jan 30, 2008 at 01:38:48PM +0100, Joost Kuif | Mobillion wrote: Hi, I can't read a environment variable in a asterisk dialplan. When logged in as user root on the system an 'echo $HOSTNAME' gives the hostame of the machine. Asterisk (1.4) is started from the same console. I try to read it like this: exten = s,n,NoOp(host=${ENV(HOSTNAME)}) Does anyone know what i am missing? Is that variable set? cat /proc/PID_OF_ASTERISK/environ | tr '\0' '\n' | grep ^HOSTNAME= -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users