[asterisk-bugs] [Asterisk 0017467]: Dahdi callerid name is no passed

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 1 03:51:32 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17467 
====================================================================== 
Reported By:                jamicque
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17467
Category:                   Channels/chan_dahdi
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.8 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-06-04 05:55 CDT
Last Modified:              2010-07-01 03:51 CDT
====================================================================== 
Summary:                    Dahdi callerid name is no passed
Description: 
When calling from SIP to DAHDI, callerid name is not passed.
Callerid name should be passed in DSS1 "display" message. However it is
not send.

  == Using SIP RTP TOS bits 136
  == Using SIP RTP CoS mark 4
  == Using SIP VRTP TOS bits 136
  == Using SIP VRTP CoS mark 4
  == Using UDPTL TOS bits 136
  == Using UDPTL CoS mark 4
    -- Executing [0586204003 at CALLEX:1] GotoIf("SIP/test002-00000002",
"0?3") in new stack
    -- Executing [0586204003 at CALLEX:2] Set("SIP/test002-00000002",
"__ORGDEST=0586204003") in new stack
    -- Executing [0586204003 at CALLEX:3] AGI("SIP/test002-00000002",
"agi://127.0.0.1/call-processor") in new stack
    -- AGI Script Executing Application: (Set) Options:
(CHANNEL(language)=pl)
    -- AGI Script Executing Application: (Set) Options:
(CALLERID(all)=test002 test002<+48616252100>)
    -- AGI Script Executing Application: (Set) Options:
(CALLERPRES()=ALLOWED_PASSED_SCREEN)
    -- AGI Script Executing Application: (Set) Options: (GROUP(in)=user3)
    -- AGI Script Executing Application: (Set) Options: (GROUP(out)=hdw1)
    -- AGI Script Executing Application: (Set) Options:
(_NUMBER_A=48616252100)
    -- AGI Script Executing Application: (Set) Options:
(_NUMBER_B=48586204003)
    -- AGI Script Executing Application: (Dial) Options:
(DAHDI/g1/0586204003,45,tTr)
-- Making new call for cr 32771
    -- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8)  len=45
> Call Ref: len= 2 (reference 3/0x3) (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  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 ]
> [6c 0e 21 81 2b 34 38 36 31 36 32 35 32 31 30 30]
> Calling Number (len=16) [ 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)  '+48616252100' ]
> [70 0b 80 30 35 38 36 32 30 34 30 30 33]
> Called Number (len=13) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0)  '0586204003' ]
> [a1]
> Sending Complete (len= 1)
q931.c:3134 q931_setup: call 32771 on channel 1 enters state 1 (Call
Initiated)
    -- Called g1/0586204003
    -- Accepting call from '+48616252100' to '0586204003' on channel 0/1,
span 2
    -- Executing [0586204003 at CALLEX:1] GotoIf("DAHDI/32-1", "0?3") in new
stack
    -- Executing [0586204003 at CALLEX:2] Set("DAHDI/32-1",
"__ORGDEST=0586204003") in new stack
    -- Executing [0586204003 at CALLEX:3] AGI("DAHDI/32-1",
"agi://127.0.0.1/call-processor") in new stack
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 3/0x3) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit  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 ]
-- Processing IE 24 (cs0, Channel Identification)
q931.c:3683 q931_receive: call 32771 on channel 1 enters state 3 (Outgoing
call  Proceeding)
    -- DAHDI/1-1 is proceeding passing it to SIP/test002-00000002
    -- AGI Script Executing Application: (Set) Options:
(CHANNEL(language)=pl)
    -- AGI Script Executing Application: (Set) Options:
(CALLERID(all)=unknown<+48616252100>)
    -- AGI Script Executing Application: (Set) Options:
(CALLERPRES()=ALLOWED_PASSED_SCREEN)
    -- AGI Script Executing Application: (Set) Options: (GROUP(in)=hdw2)
    -- AGI Script Executing Application: (Set) Options:
(GROUP(out)=user2)
[Jun  4 12:52:39] WARNING[31484]: chan_sip.c:16430 func_header_read: This
function can only be used on SIP channels.
    -- AGI Script Executing Application: (Set) Options:
(_CFWD_ACCOUNT=test001)
    -- AGI Script Executing Application: (Set) Options:
(_NUMBER_A=48616252100)
    -- AGI Script Executing Application: (Set) Options: (_NUMBER_B=11)
    -- AGI Script Executing Application: (Dial) Options:
(SIP/test001,45,wW)
  == Using SIP RTP TOS bits 136
  == Using SIP RTP CoS mark 4
  == Using SIP VRTP TOS bits 136
  == Using SIP VRTP CoS mark 4
  == Using UDPTL TOS bits 136
  == Using UDPTL CoS mark 4
    -- Called test001
    -- SIP/test001-00000003 is ringing
< Protocol Discriminator: Q.931 (8)  len=9
< Call Ref: len= 2 (reference 3/0x3) (Terminator)
< Message type: ALERTING (1)
< [1e 02 81 88]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 
0: 0  Location: Private network serving the local user (1)
<                               Ext: 1  Progress Description: Inband
information or appropriate pattern now available. (8) ]
-- Processing IE 30 (cs0, Progress Indicator)
q931.c:3596 q931_receive: call 32771 on channel 1 enters state 4 (Call
Delivered)
    -- DAHDI/1-1 is ringing

====================================================================== 

---------------------------------------------------------------------- 
 (0124128) jamicque (reporter) - 2010-07-01 03:51
 https://issues.asterisk.org/view.php?id=17467#c124128 
---------------------------------------------------------------------- 
the same situation with pri trunk. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-01 03:51 jamicque       Note Added: 0124128                          
======================================================================




More information about the asterisk-bugs mailing list