I need to send a 10 digit unique ID over the network. I've been doing it for years by replacing the INVITE FROM header with the 10 digit value. Looks like a phone number.
Lately, I'm facing an on/off problem, the ANI gets replaced with Anonymous every 70-80 calls or so. Randomly, no pattern. I believe it to be related to a particular carrier we traverse and I have no control over it. It breaks one of our major features. This is an example: Sending: INVITE sip:[email protected]:5060 SIP/2.0 Via: SIP/2.0/UDP 10.10.10.2:5060;received=10.10.10.2;branch=z9hG4bK-d87543-603a7a3e7269fb4d-1--d87543-;rport=5060 Max-Forwards: 69 Contact: <sip:[email protected]:5060;transport=udp> To: <sip:[email protected]:5060;transport=udp> From: <sip:[email protected]:5060;transport=udp;isup-oli=00>;tag=2b5d3157 Call-ID: MzQ3NzFjNGQ1NjY1MDBmNjMxMDAyOTA0NWVhNjVmNzc. CSeq: 1 INVITE Content-Type: application/sdp Content-Length: 186 Receiving: Request URI: sip:[email protected]:5060 From: "Anonymous" <sip:[email protected];isup-oli=0>;tag=gK0a240fff To: <sip:[email protected]:5060> Call-ID: [email protected]<mailto:[email protected]> CSeq: 20798 INVITE Contact: "Anonymous" <sip:[email protected]:5060> P-Asserted-Identity: <sip:[email protected]:5060> We extract 4153436545 instead of 5180943774 on the called party side, and our feature bombs. While I follow up with our carrier, what other options do I have? What could I use (header or parameter) to send my private info transparently through the network? Must be in INVITE. I have found post "Private Header" from 2009, that suggests: - private header, add your own - MIME data - userinfo parameter in Request URI Each one has its challenges for my app - do I have other options? Thank you! A.C. _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
