From Diminutive Parrot, 6 Years ago, written in FreeSWITCH.
- go back
Embed
Viewing differences between and PSAP call
  1.    ------------------------------------------------------------------------
  2. recv 702 bytes from udp/[10.0.9.54]:5060 at 22:03:51.871502:
  3.    ------------------------------------------------------------------------
  4.    MESSAGE sip:+12134237680@gw.nga911.com:15060;transport=UDP SIP/2.0
  5.    Via: SIP/2.0/UDP 10.0.9.54;branch=z9hG4bK4bb7.ee84ae6b6364da953c935d7be2d645a0.0
  6.    Via: SIP/2.0/UDP 91.224.133.8:56666;received=91.224.133.8;branch=z9hG4bK-524287-1---1620c951d0e377f0;rport=56666
  7.    Max-Forwards: 50
  8.    To: <sip:+12134237680@gw.nga911.com:15060;transport=UDP>
  9.    From: <sip:1002@gw.nga911.com:15060;transport=UDP>;tag=b7c7a82c
  10.    Call-ID: hiLaYPlQ5_F80DIYuFryOw..
  11.    CSeq: 3 MESSAGE
  12.   Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, SUBSCRIBE
  13.    Content-Type: text/plain
  14.    User-Agent: Zoiper rd82a609
  15.    Allow-Events: presence, kpml, talk
  16.    Content-Length: 5
  17.    X-AUTH-IP: 91.224.133.8
  18.    X-AUTH-PORT: 56666
  19.    
  20.    Fffff
  21.  
  22.    ------------------------------------------------------------------------
  23. 2018-01-10 22:03:51.865465 [INFO] mod_sms.c:368 Processing text message 1002->+12134237680 in context e911
  24. Chatplan: +12134237680 parsing [e911->sms2im-integration-test] continue=false
  25. Chatplan: +12134237680@gw.nga911.com Regex (PASS) [sms2im-integration-test] destination_number() =~ /^(.*)$/ break=on-false
  26. Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Account-ID=30ec2ee9ad51c5d8b43c45eafd4e113e)
  27. Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Authorizing-Type=device)
  28. Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Authorizing-ID=56e0be7ac06b6db19c4707aefe3526bf)
  29. Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Username=sms2im)
  30. Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Realm=office.nga911.com)
  31. Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Account-Realm=office.nga911.com)
  32. Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Account-Name=office.nga911.com)
  33. Chatplan: +12134237680@gw.nga911.com Action set(sip_h_X-ecallmgr_Presence-ID=sms2im@office.nga911.com)
  34. Chatplan: +12134237680@gw.nga911.com Action set(sip_profile=external)
  35. Chatplan: +12134237680@gw.nga911.com Action python(psap_recipient_resolve)
  36. 2018-01-10 22:03:51.865465 [NOTICE] mod_python.c:212 Invoking py module: psap_recipient_resolve
  37. 2018-01-10 22:03:51.865465 [DEBUG] mod_python.c:283 Call python script
  38. 2018-01-10 22:03:51.865465 [WARNING] switch_cpp.cpp:1365 PSAP URL: https://csp.nga911.com/routablePsapForTextOrInstantMessage?entryRouteId=22&latitude=34.18&longitude=-118.46
  39. send 667 bytes to udp/[10.0.9.54]:5060 at 22:03:51.873057:
  40.    ------------------------------------------------------------------------
  41.    SIP/2.0 202 Accepted
  42.    Via: SIP/2.0/UDP 10.0.9.54;branch=z9hG4bK4bb7.ee84ae6b6364da953c935d7be2d645a0.0
  43.    Via: SIP/2.0/UDP 91.224.133.8:56666;received=91.224.133.8;branch=z9hG4bK-524287-1---1620c951d0e377f0;rport=56666
  44.    From: <sip:1002@gw.nga911.com:15060;transport=UDP>;tag=b7c7a82c
  45.    To: <sip:+12134237680@gw.nga911.com:15060;transport=UDP>;tag=cy3Xay64tvamN
  46.    Call-ID: hiLaYPlQ5_F80DIYuFryOw..
  47.    CSeq: 3 MESSAGE
  48.    Contact: <sip:10.0.9.50:12000>
  49.    User-Agent: FreeSWITCH-mod_sofia/1.6.19+git-20171224T074649Z~f858a27ad1~64bit
  50.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  51.    Supported: timer, path, replaces
  52.    Content-Length: 0
  53.    
  54.    ------------------------------------------------------------------------
  55. 2018-01-10 22:03:55.815449 [WARNING] switch_cpp.cpp:1365 PSAP Route: 911Text@office.nga911.com
  56. 2018-01-10 22:03:55.815449 [DEBUG] mod_python.c:286 Finished calling python script
  57. 2018-01-10 22:03:55.815449 [DEBUG] sofia_presence.c:225 Can't find registered user 911Text@office.nga911.com
  58. send 1047 bytes to udp/[52.42.195.203]:5060 at 22:03:55.852981:
  59.    ------------------------------------------------------------------------
  60.    MESSAGE sip:911Text@office.nga911.com SIP/2.0
  61.    Via: SIP/2.0/UDP 52.24.72.57:5080;rport;branch=z9hG4bKDyDZrp1t8942S
  62.    Max-Forwards: 70
  63.    From: <sip:1002@gw.nga911.com:15060;transport=UDP>;tag=b7c7a82c
  64.    To: <sip:911Text@office.nga911.com>
  65.    Call-ID: 0edb6c42-227d-4809-8ad6-556e75a0b744
  66.    CSeq: 117474762 MESSAGE
  67.    User-Agent: FreeSWITCH-mod_sofia/1.6.19+git-20171224T074649Z~f858a27ad1~64bit
  68.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
  69.    Supported: timer, path, replaces
  70.    Content-Type: text/plain
  71.    Content-Length: 5
  72.    X-FS-Sending-Message: 6a540c1c-1278-4d20-866e-e45208a825ba
  73.    X-AUTH-IP: 91.224.133.8
  74.    X-AUTH-PORT: 56666
  75.    X-ecallmgr_Account-ID: 30ec2ee9ad51c5d8b43c45eafd4e113e
  76.    X-ecallmgr_Authorizing-Type: device
  77.    X-ecallmgr_Authorizing-ID: 56e0be7ac06b6db19c4707aefe3526bf
  78.    X-ecallmgr_Username: sms2im
  79.    X-ecallmgr_Realm: office.nga911.com
  80.    X-ecallmgr_Account-Realm: office.nga911.com
  81.    X-ecallmgr_Account-Name: office.nga911.com
  82.    X-ecallmgr_Presence-ID: sms2im@office.nga911.com
  83.    X-alertId: 282175
  84.    
  85.    Fffff
  86.  
  87.    ------------------------------------------------------------------------
  88. recv 530 bytes from udp/[52.42.195.203]:5060 at 22:03:55.855510:
  89.    ------------------------------------------------------------------------
  90.    SIP/2.0 202 Accepted
  91.    Via: SIP/2.0/UDP 52.24.72.57:5080;received=34.214.12.24;rport=5080;branch=z9hG4bKDyDZrp1t8942S
  92.    From: <sip:1002@gw.nga911.com:15060;transport=UDP>;tag=b7c7a82c
  93.    To: <sip:911Text@office.nga911.com>;tag=0B4cDmmr719va
  94.    Call-ID: 0edb6c42-227d-4809-8ad6-556e75a0b744
  95.    CSeq: 117474762 MESSAGE
  96.    Contact: <sip:10.0.9.35:11000>
  97.    User-Agent: proxy.ackone.com
  98.   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
  99.    Supported: path, replaces
  100.    Content-Length: 0
  101.    
  102.