Header Enrichment

Once you provide your URL to us, we will enable header enrichment for your IP based on your requirement.

Encrypted MSISDN

This MSISDN is an uinque identification of specific MSISDN. and its alpha numeric string. but you can use it for charging and sms API's

when you're sending this msisdn to us, please do bellow

You will recieve 'msisdn' header to you application

msisdn: vl^]£÷¬á®À­ÿ

Please URL encode it

vl%1D%A3%F7%AC%E1%AE%C0%AD%FF

In Body

If MSISDN in body, please append etel:+9477- before the msisdn

your request msisdn in body should be like this

etel:+9477-vl%1D%A3%F7%AC%E1%AE%C0%AD%FF

In URL

When you're appending msisdn to URL, Please URLEncode it again

First append urlencoded etel: to the prefix. (Dont append +), Then URL encode

urlencode('etel:9477-vl%1D%A3%F7%AC%E1%AE%C0%AD%FF')

Final URL MSISDN should like this

etel%3A9477-vl%251D%25A3%25F7%25AC%25E1%25AE%25C0%25AD%25FF

Plain MSISDN

Because of user privacy, we dont provide plain msisdn header enrichment feature

Reading header

PHP

urlencode ($_SERVER['HTTP_MSISDN']);

JAVA

//import java.net.URLEncoder;
//import javax.servlet.http.HttpServletRequest;


URLEncoder.encode(request.getHeader("msisdn"), "ISO-8859-1")

Dialog Mobile IP Block

175.157.0.0/16
182.161.0.0/19
122.255.44.0/22

Testing Header Enrichment

Please host bellow PHP file on your server and open it via HE enabled device

<?php
echo getenv('REMOTE_ADDR')."<br>";

if(!$_SERVER['HTTP_MSISDN']){
    echo "NO MSISDN HEADER";
    exit;
}
echo $_SERVER['HTTP_MSISDN']."<br>";
var_dump ($_SERVER['HTTP_MSISDN']);
echo "<br>";
echo urlencode ($_SERVER['HTTP_MSISDN'])."<br>";

?>
Last updated on 14th Jan 2017