[Kamailio-Users] dial the prefix #31# to mask the number

Iñaki Baz Castillo ibc at aliax.net
Tue Jan 13 17:23:42 CET 2009


2009/1/13 Daniel-Constantin Mierla <miconda at gmail.com>:

>>> By some reason, the '#' is used a lot in telecom/mobile operators dialed
>>> extensions (e.g., charging credit on mobile phone),
>>>
>>
>> Well, IMHO the reason is that key '#' appears in all the phones :)
>>
>
> ... including the SIP phones. The '#' is also lot used to terminate the
> dialing string orDTMF sequences

But that's not an URI.

Phones terminating the dialing string with '#' don't send the '#' as
part of the URI username.
'#' key becomes a "Dial" button.

And in case of DTMF, it's not an URI, and valid DTFM codes are:
  0-9, #, *, A, B, C, D



> That is one line on top your config file:
>
> $rU = $(rU{s.unescape.user});

Yes, it's enough easy, thanks for pointing it out.

PD: Perhaps the default script should include that line?



-- 
Iñaki Baz Castillo
<ibc at aliax.net>


More information about the sr-users mailing list