I just created a patch to return the specific sequence number of calling number entries so you can ignore my plea for help.
Thanks. -- Matthew Billings | Affordable WWW & Internet Solutions foreThought.net | for Small Business [EMAIL PROTECTED] | 910 16th Street, #1220 (303) 228-0070 x821 --The Future is Now!-- | Denver, CO 80202 (303) 228-0077 fax > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of MattB > Sent: Monday, May 10, 2004 3:03 PM > To: [EMAIL PROTECTED] > Subject: [Asterisk-Users] Callerid via PRI > > When receiving multiple calling numbers via a PRI for a call setup, I > cannot find the ability to select between either first or last. Is > there a way to do this currently? If not, can anyone help me in getting > this to work? Here is the dump of the PRI in intensive debugging. > Please note that I want the first calling number, not the last. Any > help would be much appreciated. Below the PRI trace is my Zapata.conf > for reference. > > < Informational frame: > < SAPI: 00 C/R: 1 EA: 0 > < TEI: 000 EA: 1 > < N(S): 103 0: 0 > < N(R): 103 P: 0 > < 47 bytes of data > -- ACKing all packets from 102 to (but not including) 103 > -- Since there was nothing left, stopping T200 counter > -- Stopping T203 counter since we got an ACK > -- Nothing left, starting T203 counter > < Protocol Discriminator: Q.931 (8) len=47 > < Call Ref: len= 2 (reference 11520/0x2D00) (Originator) > < Message type: SETUP (5) > < Bearer Capability (len= 3) [ Ext: 1 Q.931 Std: 0 Info transfer > capability: 3.1kHz audio (16) > < Ext: 1 Trans mode/rate: 64kbps, > circuit-mode (16) > < Ext: 1 User information layer 1: u-Law > (34) > < Channel ID (len= 5) [ Ext: 1 IntID: Implicit, PRI Spare: 0, Preferred > Dchan: 0 > < ChanSel: Reserved > < Ext: 1 Coding: 0 Number Specified Channel > Type: 3 > < Ext: 1 Channel: 1 ] > < Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) > 0: 0 Location: Public network serving the remote user (4) > < Ext: 1 Progress Description: Calling > equipment is non-ISDN. (3) ] > < Calling Number (len=14) [ 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) '5555551234' ] > < Calling Number (len= 4) [ Ext: 0 TON: Unknown Number Type (0) NPI: > Unknown Number Plan (0) > < Presentation: Unknown (67) '' ] > < Called Number (len=10) [ Ext: 1 TON: Subscriber Number (4) NPI: > ISDN/Telephony Numbering Plan (E.164/E.163) (1) '5590004' ] > Sending Receiver Ready (104) > > Zapata.conf > [channels] > context=default > switchtype=national > pridialplan=national > signalling=pri_cpe > usecallerid=yes > usecallingpres=no > hidecallerid=no > ;callerid=asreceived > threewaycalling=no > cancallforward=no > transfer=no > immediate=no > adsi=no > echotraining=yes > echocancel=yes > echocancelwhenbridged=yes > group=1 > channel=1-23 > > > -- > Matthew Billings | Affordable WWW & Internet Solutions > foreThought.net | for Small Business > [EMAIL PROTECTED] | 910 16th Street, #1220 (303) > 228-0070 x821 > --The Future is Now!-- | Denver, CO 80202 (303) > 228-0077 fax > > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
