[asterisk-users] Print CALLERID in CLI during "pri debug "

Arpit Mehta am2866 at columbia.edu
Thu Dec 6 17:40:02 CST 2007


Hi all,

I was wondering if it is possible to print the callerid value in the
CLI when doing 'pri debug span 1'
For example

> Call Ref: len= 2 (reference 2707/0xA93) (Terminator)
> Message type: CONNECT (7)
> [18 03 a9 83 97]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0  Exclusive  Dchan: 0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0  Number Specified  Channel Type: 3
>                       Ext: 1  Channel: 23 ]
> [1e 02 81 82]
> Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)  0: 0  Location: Private network serving the local user (1)
>


I would like to print

'1234567890 Message type: CONNECT (7)
.......
.......
'

where 1234567890 is the callerid

Thanks

Regards

-- 
Arpit Mehta
Graduate Student
Department of Computer Science
Columbia University

Tel: 1-646-387-5998



More information about the asterisk-users mailing list