From Abrupt Porcupine, 6 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and PSAPv3
  1.    ------------------------------------------------------------------------
  2. recv 302 bytes from udp/[10.0.9.56]:31313 at 17:31:20.715320:
  3.    ------------------------------------------------------------------------
  4.    MESSAGE sip:+12134237680@office.nga911.com SIP/2.0
  5.    Via: SIP/2.0/UDP 10.0.9.56:31313
  6.    From: <sip:+12139054794@office.nga911.com>
  7.    To: <sip:+12134237680@office.nga911.com>
  8.    CSeq: 13 MESSAGE
  9.    Content-Type: text/plain
  10.    Content-Length: 17
  11.    Call-ID: b3fce95e-c23f-4b24-bc4f-0b8f2b350e79
  12.    
  13.    Hello Don! Sergey
  14.  
  15.    ------------------------------------------------------------------------
  16. 2018-01-12 17:31:20.701289 [INFO] mod_sms.c:368 Processing text message +12139054794->+12134237680 in context e911
  17. Chatplan: +12134237680 parsing [e911->sms2im-integration-test] continue=false
  18. Chatplan: +12134237680@office.nga911.com Regex (PASS) [sms2im-integration-test] destination_number() =~ /^(.*)$/ break=on-false
  19. Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Account-ID=30ec2ee9ad51c5d8b43c45eafd4e113e)
  20. Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Authorizing-Type=device)
  21. Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Authorizing-ID=56e0be7ac06b6db19c4707aefe3526bf)
  22. Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Username=sms2im)
  23. Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Realm=office.nga911.com)
  24. Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Account-Realm=office.nga911.com)
  25. Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Account-Name=office.nga911.com)
  26. Chatplan: +12134237680@office.nga911.com Action set(sip_h_X-ecallmgr_Presence-ID=sms2im@office.nga911.com)
  27. Chatplan: +12134237680@office.nga911.com Action set(sip_profile=external)
  28. Chatplan: +12134237680@office.nga911.com Action python(psap_recipient_resolve)
  29. 2018-01-12 17:31:20.701289 [NOTICE] mod_python.c:212 Invoking py module: psap_recipient_resolve
  30. send 481 bytes to udp/[10.0.9.56]:31313 at 17:31:20.717084:
  31.    ------------------------------------------------------------------------
  32.    SIP/2.0 202 Accepted
  33.    Via: SIP/2.0/UDP 10.0.9.56:31313
  34.    From: <sip:+12139054794@office.nga911.com>
  35.    To: <sip:+12134237680@office.nga911.com>;tag=Dm8K891vUXyyQ
  36.    Call-ID: b3fce95e-c23f-4b24-bc4f-0b8f2b350e79
  37.    CSeq: 13 MESSAGE
  38.    Contact: <sip:10.0.9.48:12000>
  39.    User-Agent: FreeSWITCH-mod_sofia/1.6.19+git-20171224T074649Z~f858a27ad1~64bit
  40.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  41.    Supported: timer, path, replaces
  42.    Content-Length: 0
  43.    
  44.    ------------------------------------------------------------------------
  45. 2018-01-12 17:31:21.021307 [DEBUG] mod_python.c:283 Call python script
  46. 2018-01-12 17:31:21.021307 [WARNING] switch_cpp.cpp:1365 PSAP URL: https://csp.nga911.com/routablePsapForTextOrInstantMessage?latitude=34.18&longitude=-118.46&esinetEntryRoutePhoneNumber=12139054794
  47. recv 326 bytes from udp/[10.0.9.52]:5060 at 17:31:21.550385:
  48.    ------------------------------------------------------------------------
  49.    OPTIONS sip:10.0.9.48:12000 SIP/2.0
  50.    Via: SIP/2.0/UDP 10.0.9.52;branch=z9hG4bK08e7.a9c00ed1000000000000000000000000.0
  51.    To: <sip:10.0.9.48:12000>
  52.    From: <sip:sipcheck@proxy1a-pre.kazoo>;tag=5a2765198be9bbdd993fc367dcb8f4ba-ef96
  53.    CSeq: 10 OPTIONS
  54.    Call-ID: 63e4da6b275cae71-105@10.0.9.52
  55.    Max-Forwards: 70
  56.    Content-Length: 0
  57.    
  58.    ------------------------------------------------------------------------
  59. send 610 bytes to udp/[10.0.9.52]:5060 at 17:31:21.550679:
  60.    ------------------------------------------------------------------------
  61.    SIP/2.0 200 OK
  62.    Via: SIP/2.0/UDP 10.0.9.52;branch=z9hG4bK08e7.a9c00ed1000000000000000000000000.0
  63.    From: <sip:sipcheck@proxy1a-pre.kazoo>;tag=5a2765198be9bbdd993fc367dcb8f4ba-ef96
  64.    To: <sip:10.0.9.48:12000>;tag=eX1ca5j0r6mHK
  65.    Call-ID: 63e4da6b275cae71-105@10.0.9.52
  66.    CSeq: 10 OPTIONS
  67.    Contact: <sip:10.0.9.48:12000>
  68.    User-Agent: FreeSWITCH-mod_sofia/1.6.19+git-20171224T074649Z~f858a27ad1~64bit
  69.    Accept: application/sdp
  70.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  71.    Supported: timer, path, replaces
  72.    Allow-Events: talk, hold, conference, refer
  73.    Content-Length: 0
  74.    
  75.    ------------------------------------------------------------------------
  76. 2018-01-12 17:31:22.401291 [NOTICE] sofia_reg.c:448 Registering kazoo
  77. send 822 bytes to udp/[34.214.12.24]:5060 at 17:31:22.419708:
  78.    ------------------------------------------------------------------------
  79.    REGISTER sip:node1.nga911.com;transport=udp SIP/2.0
  80.    Via: SIP/2.0/UDP 52.24.72.57:5080;rport;branch=z9hG4bKrNXBp0BeX4ptg
  81.    Max-Forwards: 70
  82.    From: <sip:queries1@node1.nga911.com>;tag=Kg6UtcXrX6XQa
  83.    To: <sip:queries1@node1.nga911.com>
  84.    Call-ID: b0ded5c9-1092-4f4f-87b4-130bffd3a039
  85.    CSeq: 117553048 REGISTER
  86.    Contact: <sip:gw+kazoo@52.24.72.57:5080;transport=udp;gw=kazoo>
  87.    Expires: 30
  88.    User-Agent: FreeSWITCH-mod_sofia/1.6.19+git-20171224T074649Z~f858a27ad1~64bit
  89.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  90.    Supported: timer, path, replaces
  91.    Authorization: Digest username="queries1", realm="node1.nga911.com", nonce="Wljx0lpY8KaUzDS5L+JPYSaLuZBdHoNB", algorithm=MD5, uri="sip:node1.nga911.com;transport=udp", response="45c3213562dc209e8729ba541ffa687e"
  92.    Content-Length: 0
  93.    
  94.    ------------------------------------------------------------------------
  95. recv 442 bytes from udp/[34.214.12.24]:5060 at 17:31:22.426471:
  96.    ------------------------------------------------------------------------
  97.    SIP/2.0 200 OK
  98.    Via: SIP/2.0/UDP 52.24.72.57:5080;rport=5080;branch=z9hG4bKrNXBp0BeX4ptg;received=35.165.141.141
  99.    From: <sip:queries1@node1.nga911.com>;tag=Kg6UtcXrX6XQa
  100.    To: <sip:queries1@node1.nga911.com>;tag=f4e66e59ec86a3ee90aa830968a18b2d.9487
  101.    Call-ID: b0ded5c9-1092-4f4f-87b4-130bffd3a039
  102.    CSeq: 117553048 REGISTER
  103.    Contact: <sip:gw+kazoo@52.24.72.57:5080;transport=udp;gw=kazoo>;expires=300
  104.    Supported: outbound
  105.    Content-Length: 0
  106.    
  107.    ------------------------------------------------------------------------
  108. 2018-01-12 17:31:22.421303 [DEBUG] sofia_reg.c:2435 Changing expire time to 300 by request of proxy sip:node1.nga911.com
  109. 2018-01-12 17:31:23.181305 [INFO] switch_cpp.cpp:1365 PSAP Route: 911Text@office.nga911.com
  110. 2018-01-12 17:31:23.181305 [DEBUG] mod_python.c:286 Finished calling python script
  111. 2018-01-12 17:31:23.181305 [DEBUG] sofia_presence.c:225 Can't find registered user 911Text@office.nga911.com
  112. send 1012 bytes to udp/[52.42.195.203]:5060 at 17:31:23.333124:
  113.    ------------------------------------------------------------------------
  114.    MESSAGE sip:911Text@office.nga911.com SIP/2.0
  115.    Via: SIP/2.0/UDP 52.24.72.57:5080;rport;branch=z9hG4bKSyp4QUvHtDDDc
  116.    Max-Forwards: 70
  117.    From: <sip:+12139054794@office.nga911.com>;tag=pBj6ZXF3m10FD
  118.    To: <sip:911Text@office.nga911.com>
  119.    Call-ID: 0a7fd959-a71d-4601-b716-ae7388650df9
  120.    CSeq: 117553077 MESSAGE
  121.    User-Agent: FreeSWITCH-mod_sofia/1.6.19+git-20171224T074649Z~f858a27ad1~64bit
  122.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  123.    Supported: timer, path, replaces
  124.    Content-Type: text/plain
  125.    Content-Length: 17
  126.    X-FS-Sending-Message: 9070d4f0-6e1f-4466-b8ff-df6f643a2421
  127.    X-ecallmgr_Account-ID: 30ec2ee9ad51c5d8b43c45eafd4e113e
  128.    X-ecallmgr_Authorizing-Type: device
  129.    X-ecallmgr_Authorizing-ID: 56e0be7ac06b6db19c4707aefe3526bf
  130.    X-ecallmgr_Username: sms2im
  131.    X-ecallmgr_Realm: office.nga911.com
  132.    X-ecallmgr_Account-Realm: office.nga911.com
  133.    X-ecallmgr_Account-Name: office.nga911.com
  134.    X-ecallmgr_Presence-ID: sms2im@office.nga911.com
  135.    X-alertId: 282183
  136.    
  137.    Hello Don! Sergey
  138.  
  139.    ------------------------------------------------------------------------
  140. recv 529 bytes from udp/[52.42.195.203]:5060 at 17:31:23.334980:
  141.    ------------------------------------------------------------------------
  142.    SIP/2.0 202 Accepted
  143.    Via: SIP/2.0/UDP 52.24.72.57:5080;received=35.165.141.141;rport=5080;branch=z9hG4bKSyp4QUvHtDDDc
  144.    From: <sip:+12139054794@office.nga911.com>;tag=pBj6ZXF3m10FD
  145.    To: <sip:911Text@office.nga911.com>;tag=tFgr4Ftp93a4e
  146.    Call-ID: 0a7fd959-a71d-4601-b716-ae7388650df9
  147.    CSeq: 117553077 MESSAGE
  148.    Contact: <sip:10.0.9.35:11000>
  149.    User-Agent: proxy.ackone.com
  150.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  151.    Supported: path, replaces
  152.    Content-Length: 0
  153.