4.14.27. PeerGlobalTitleHook Previous topic Parent topic Child topic Next topic

This is a Perl hook, which creates peer global title from the IMSI and returns the global title. If no value is returned, PeerGlobalTitle is used as the global title. This has no default value. PeerGlobalTitleHook is called with 2 arguments:
  • $_[0]
    This is the IMSI.
  • $_[1]
    This is the current peer global title
PLMN database lookup is done before this hook is called. The global title from the lookup, if any is found, is supplied as the second argument. See goodies/sigtran-peer-gt-hook.pl for a sample PeerGlobalTitleHook.
PeerGlobalTitleHook file:"%D/sigtran-peer-gt-hook.pl"