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

Iñaki Baz Castillo ibc at aliax.net
Mon Jan 12 11:37:18 CET 2009


2009/1/12 ALAEDDINE abbech <alasupcom at yahoo.fr>:
> Hi
>
> When i dial #31# 011111with a sip phone i have an INVITE in OPENSER  with a
> number
>
> %2331%23 011111.
>
> Who know how can i send an INVITE whith prefix #31#  using a phone or
> softphone.


Symbol # is NOT allowed into a SIP URI userinfo part per SIP BNF
grammar, so the phone is escaping it before sending the request. This
is a correct behavior even if lots of softphones don't escape it.

You should use "unescape" transformation in your script to decode it as #.

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


More information about the Users mailing list