[asterisk-users] Print CALLERID in CLI during "pri debug "
joakimsen at gmail.com
joakimsen at gmail.com
Fri Dec 7 16:34:04 CST 2007
What don't you tell us what you are ultimately trying to do. You want
the callerid next to the connect message in debug output... why? What
will that help you to accomplish?
On Dec 7, 2007 4:42 PM, Arpit Mehta <am2866 at columbia.edu> wrote:
> Ok so the call reference is the 'cr' field (q931.c) and how do I
> retrieve the caller id from this call reference ?
>
> On Dec 7, 2007 4:29 AM, Richard Revels <rrevels at bandwidth.com> wrote:
> >
> > When the call sets up the 'call reference' is assigned. It will be unique
> > for the duration of the call and other messages, like Connect, will
> > reference it. At the same time, the setup will have indicated the caller ID
> > info.
> >
> >
> > Sent from my iPhone
>
> >
> >
> > On Dec 6, 2007, at 10:28 PM, "Arpit Mehta" <am2866 at columbia.edu> wrote:
> >
> >
> >
> >
> >
> > Or in other words is there a way to map which message is from which CallerID
> > ?
> >
> > On Dec 6, 2007 6:40 PM, Arpit Mehta <am2866 at columbia.edu> wrote:
> > > 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
> > >
> >
> >
> >
> > --
> > Arpit Mehta
> > Graduate Student
> > Department of Computer Science
> > Columbia University
> >
> > Tel: 1-646-387-5998
> >
> > _______________________________________________
> > --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
> >
>
>
>
> --
> Arpit Mehta
> Graduate Student
> Department of Computer Science
> Columbia University
>
> Tel: 1-646-387-5998
>
> _______________________________________________
> --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
>
More information about the asterisk-users
mailing list