Inbound Caller Id - Only Numbers

My PRI provider is sending caller id information in an “information element”. Our system currently isn’t getting the caller id information, it only is displaying the incoming number. What can I do to debug / fix this issue?

Below is an example of what the PRI provider says the incoming information should look like.

FACILITY: .1B .15 .9F .8B .01 .00 .B1 .10 .03 .01 >> informs that the name info will be in the 0x1C facility and will follow

FACILITY: .1D .1B .9B .8B .01 .00 .B1 .15 .02 .02 >>> actual name data
.05 .45 .01 .01 .00 .80 .0B .54 .65 .73
.76 .20 .45 .65 .6E .63 .68 .20 .32
NAME: “Test Company”.

pri set debug on span 1
replace 1 with your span #
My guess is your provider isn’t providing CNAM lookups.

I have our Digium Gateway G100 log some calls for awhile to see if we were getting any caller id information. It looks like it was getting the information. Here is a sample of the log. I’m not sure where a incoming call started and ended so I just included a fair bit before and after.
You can see the company name “BRASS MAR WATER” is found. How do I check that this information is getting to our Asterisk system from the gateway?

Ext: 1 Channel: 11 Type: CPE] May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/sig_pri_new.c:5386 in pri_dchannel: -- Accepting call from '6166784370' to '8957493' on channel 0/11, span 1 May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [8957493@port1:1] Verbose("GTW/port1:11-0", "2,8957493 matches Rule PRItoAsterisk") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: app_verbose.c:112 in verbose_exec: == 8957493 matches Rule PRItoAsterisk May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [8957493@port1:2] Proceeding("GTW/port1:11-0", "") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [8957493@port1:3] Gosub("GTW/port1:11-0", "sub-failover,s,1(8957493,SIP/admin,0)") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [s@sub-failover:1] Verbose("GTW/port1:11-0", "2,Beginning failover") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: app_verbose.c:112 in verbose_exec: == Beginning failover May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [s@sub-failover:2] Set("GTW/port1:11-0", "PROV=2") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [s@sub-failover:3] Set("GTW/port1:11-0", "STRIP=3") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [s@sub-failover:4] Set("GTW/port1:11-0", "ARG=ARG") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [s@sub-failover:5] Set("GTW/port1:11-0", "MAX=100") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [s@sub-failover:6] GotoIf("GTW/port1:11-0", "0?dialstrnoexten") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [s@sub-failover:7] GotoIf("GTW/port1:11-0", "0?dialstrnoexten") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [s@sub-failover:8] GotoIf("GTW/port1:11-0", "0?dialstrnoexten") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [s@sub-failover:9] Set("GTW/port1:11-0", "DIALSTR=SIP/admin/8957493") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [s@sub-failover:10] Goto("GTW/port1:11-0", "dial") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:10141 in pbx_builtin_goto: -- Goto (sub-failover,s,12) May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: pbx.c:4257 in pbx_extension_helper: -- Executing [s@sub-failover:12] Dial("GTW/port1:11-0", "SIP/admin/8957493") in new stack May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_sip.c:11456 in add_sdp: Audio is at 10002 May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_sip.c:11049 in add_codec_to_sdp: Adding codec 0x4 (ulaw) to SDP May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_sip.c:11049 in add_codec_to_sdp: Adding codec 0x8 (alaw) to SDP May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_sip.c:11049 in add_codec_to_sdp: Adding codec 0x1000 (g722) to SDP May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_sip.c:11049 in add_codec_to_sdp: Adding codec 0x800 (g726) to SDP May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_sip.c:11049 in add_codec_to_sdp: Adding codec 0x100 (g729) to SDP May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_sip.c:11049 in add_codec_to_sdp: Adding codec 0x2 (gsm) to SDP May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_sip.c:11185 in add_noncodec_to_sdp: Adding non-codec 0x1 (telephone-event) to SDP May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_sip.c:4251 in send_request: Reliably Transmitting (no NAT) to 192.168.255.1:5060: INVITE sip:[email protected]:5060 SIP/2.0^M Via: SIP/2.0/UDP 192.168.255.10:5060;branch=z9hG4bK4cc0ed5c^M Max-Forwards: 70^M From: "6166784370" ;tag=as23119b43^M To: ^M Contact: ^M Call-ID: [email protected]:5060^M CSeq: 102 INVITE^M User-Agent: Digium Gateway^M Date: Thu, 22 May 2014 13:22:07 GMT^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH^M Supported: replaces, timer^M Content-Type: application/sdp^M Content-Length: 408^M ^M v=0^M o=root 284631442 284631442 IN IP4 192.168.255.10^M s=Digium Gateway^M c=IN IP4 192.168.255.10^M t=0 0^M m=audio 10002 RTP/AVP 0 8 9 111 18 3 101^M a=rtpmap:0 PCMU/8000^M a=rtpmap:8 PCMA/8000^M a=rtpmap:9 G722/8000^M a=rtpmap:111 G726-32/8000^M a=rtpmap:18 G729/8000^M a=fmtp:18 May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: app_dial.c:2363 in dial_exec_full: -- Called SIP/admin/8957493 May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:25854 in handle_request_do: SIP/2.0 100 Trying^M Via: SIP/2.0/UDP 192.168.255.10:5060;branch=z9hG4bK4cc0ed5c;received=192.168.255.10^M From: "6166784370" ;tag=as23119b43^M To: ^M Call-ID: [email protected]:5060^M CSeq: 102 INVITE^M Server: FPBX-2.11.0(11.9.0)^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE^M Supported: replaces, timer^M Session-Expires: 1800;refresher=uas^M Contact: ^M Content-Length: 0^M ^M May 22 13:22:07 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:25864 in handle_request_do: --- (12 headers 0 lines) --- May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 < Protocol Discriminator: Q.931 (8) len=37 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 < TEI=0 Call Ref: len= 2 (reference 25/0x19) (Sent from originator) May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 < Message Type: FACILITY (98) May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 < [1c 1e 9f 8b 01 00 a1 18 02 02 11 ac 02 01 00 80 0f 42 52 41 53 53 20 4d 41 52 20 57 41 54 45 52] May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 < Facility (len=32, codeset=0) [ 0x9F, 0x8B, 0x01, 0x00, 0xA1, 0x18, 0x02, 0x02, 0x11, 0xAC, 0x02, 0x01, 0x00, 0x80, 0x0F, 'BRASS MAR WATER' ] May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 Received message for call 0x102b70a0 on link 0x1028d274 TEI/SAPI 0/0 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 -- Processing IE 28 (cs0, Facility) May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 -- Delayed processing IE 28 (cs0, Facility) May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 ASN.1 dump May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 Context Specific [11 0x0B] Len:1 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 - "~" May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 Context Specific/C [1 0x01] Len:24 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 Integer(2 0x02) Len:2 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 - "~~" May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 Integer(2 0x02) Len:1 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 - "~" May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 Context Specific [0 0x00] Len:15 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 - "BRASS MAR WATER" May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 ASN.1 end May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 interpretation Context Specific [11 0x0B] = 0 0x0000 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 INVOKE Component Context Specific/C [1 0x01] May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 invokeId Integer(2 0x02) = 4524 0x11AC May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 operationValue Integer(2 0x02) = 0 0x0000 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 operationValue = ROSE_QSIG_CallingName May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 callingName Name May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 namePresentationAllowedSimple Context Specific [0 0x00] = May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3306]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 - "BRASS MAR WATER" May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:25854 in handle_request_do: SIP/2.0 180 Ringing^M Via: SIP/2.0/UDP 192.168.255.10:5060;branch=z9hG4bK4cc0ed5c;received=192.168.255.10^M From: "6166784370" ;tag=as23119b43^M To: ;tag=as18b47020^M Call-ID: [email protected]:5060^M CSeq: 102 INVITE^M Server: FPBX-2.11.0(11.9.0)^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE^M Supported: replaces, timer^M Session-Expires: 1800;refresher=uas^M Contact: ^M Content-Length: 0^M ^M May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:25864 in handle_request_do: --- (12 headers 0 lines) --- May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:14348 in list_route: list_route: hop: May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: app_dial.c:1264 in wait_for_answer: -- SIP/admin-00000328 is ringing May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 q931.c:5509 q931_alerting: Call 25 enters state 7 (Call Received). Hold state: Idle May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > DL-DATA request May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > Protocol Discriminator: Q.931 (8) len=9 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > TEI=0 Call Ref: len= 2 (reference 25/0x19) (Sent to originator) May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > Message Type: ALERTING (1) May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 TEI=0 Transmitting N(S)=22, window is open V(A)=22 K=7 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > Protocol Discriminator: Q.931 (8) len=9 May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > TEI=0 Call Ref: len= 2 (reference 25/0x19) (Sent to originator) May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > Message Type: ALERTING (1) May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > [1e 02 81 88] May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > Progress Indicator (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Private network serving the local user (1) May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:25854 in handle_request_do: SIP/2.0 180 Ringing^M Via: SIP/2.0/UDP 192.168.255.10:5060;branch=z9hG4bK4cc0ed5c;received=192.168.255.10^M From: "6166784370" ;tag=as23119b43^M To: ;tag=as18b47020^M Call-ID: [email protected]:5060^M CSeq: 102 INVITE^M Server: FPBX-2.11.0(11.9.0)^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE^M Supported: replaces, timer^M Session-Expires: 1800;refresher=uas^M Contact: ^M Content-Length: 0^M ^M May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:25864 in handle_request_do: --- (12 headers 0 lines) --- May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:14348 in list_route: list_route: hop: May 22 13:22:08 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: app_dial.c:1264 in wait_for_answer: -- SIP/admin-00000328 is ringing May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:25854 in handle_request_do: SIP/2.0 200 OK^M Via: SIP/2.0/UDP 192.168.255.10:5060;branch=z9hG4bK4cc0ed5c;received=192.168.255.10^M From: "6166784370" ;tag=as23119b43^M To: ;tag=as18b47020^M Call-ID: [email protected]:5060^M CSeq: 102 INVITE^M Server: FPBX-2.11.0(11.9.0)^M Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE^M Supported: replaces, timer^M Session-Expires: 1800;refresher=uas^M Contact: ^M Remote-Party-ID: "Kristi Roelofs" ;party=called;privacy=off;screen=no^M Content-Type: application/sdp^M Require: timer^M Content-Length: 203^M ^M v=0^M o=root 740843178 740843178 IN IP4 192.168.255.1^M s=Asterisk PBX 11.9.0^M c=IN IP4 192.168.255.1^M t=0 0^M m=audio 15844 RTP/AVP 8 0^M a=rtpmap:8 PCMA/8000^M a=rtpmap:0 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:25864 in handle_request_do: --- (15 headers 10 lines) --- May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:9038 in process_sdp: Found RTP audio format 8 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:9038 in process_sdp: Found RTP audio format 0 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:9654 in process_sdp_a_audio: Found audio description format PCMA for ID 8 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:9654 in process_sdp_a_audio: Found audio description format PCMU for ID 0 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:9271 in process_sdp: Capabilities: us - 0x190e (gsm|ulaw|alaw|g726|g729|g722), peer - audio=0xc (ulaw|alaw)/video=0x0 (nothing)/text=0x0 (nothing), combined - 0xc (ulaw|alaw) May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:9281 in process_sdp: Non-codec capabilities (dtmf): us - 0x1 (telephone-event|), peer - 0x0 (nothing), combined - 0x0 (nothing) May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:9309 in process_sdp: Peer audio RTP is at port 192.168.255.1:15844 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:14348 in list_route: list_route: hop: May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:10127 in set_destination: set_destination: Parsing for address/port to send to May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:10187 in set_destination: set_destination: set destination to 192.168.255.1:5060 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[3269]: chan_sip.c:4251 in send_request: Transmitting (no NAT) to 192.168.255.1:5060: ACK sip:[email protected]:5060 SIP/2.0^M Via: SIP/2.0/UDP 192.168.255.10:5060;branch=z9hG4bK295a1b4d^M Max-Forwards: 70^M From: "6166784370" ;tag=as23119b43^M To: ;tag=as18b47020^M Contact: ^M Call-ID: [email protected]:5060^M CSeq: 102 ACK^M User-Agent: Digium Gateway^M Content-Length: 0^M ^M --- May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: app_dial.c:1175 in wait_for_answer: -- SIP/admin-00000328 answered GTW/port1:11-0 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 q931.c:5660 q931_connect: Call 25 enters state 8 (Connect Request). Hold state: Idle May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > DL-DATA request May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > Protocol Discriminator: Q.931 (8) len=14 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > TEI=0 Call Ref: len= 2 (reference 25/0x19) (Sent to originator) May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > Message Type: CONNECT (7) May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 TEI=0 Transmitting N(S)=23, window is open V(A)=23 K=7 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > Protocol Discriminator: Q.931 (8) len=14 May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > TEI=0 Call Ref: len= 2 (reference 25/0x19) (Sent to originator) May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > Message Type: CONNECT (7) May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > [18 03 a9 83 8b] May 22 13:22:14 G100-59-c3-68 asterisk[3209]: VERBOSE[2313]: chan_gtw/chan.c:4567 in dgm_pri_message: port1 > Channel ID (len= 5)

Still banging my head against the wall! Anyone know how I can confirm that Asterisk is getting the Caller Id information from the gateway? Or are there any settings in Asterisk I should be looking at?

I solved my issue, I had to increase the wait time in the gateway. This allowed the gateway to get the number from my service provider and then pass it on to the FreePBX system.