[Spce-user] Problem with emergency numbers - emergency_prefix/emergency_suffix not used

Daniel Grotti dgrotti at sipwise.com
Wed Nov 28 04:46:54 EST 2012


Hi Marcin,
yes the problem is with Documentation, you need to use the
${caller_emergency_prefix} as you said.

Thanks.




On 11/28/2012 10:35 AM, Marcin Kowalczyk wrote:
> Hi,
>
>  Sorry for posting again - but I've found a problem. Issue is with
> documentation not platform it self.
>
> AVP that has stored emergency prefix/suffix is called
> $avp(s:caller_emergency_prefix) not $avp(s:emergency_prefix) so
> chapter 4.5.5 should be adjusted from:
>
>     "In order to normalize the emergency number to a valid format
>     accepted by the peer, you need to assign an /Outbound Rewrite Rule
>     For Callee/, which strips off the |emergency_| prefix. You can
>     also use the variables |${emergency_cli}|, |${emergency_prefix}|
>     and |${emergency_suffix}| as well as |${caller_ac}| and
>     |${caller_cc}|, which are all configurable per subscriber to
>     rewrite the number into a valid format."
>
>
> to
>
>     In order to normalize the emergency number to a valid format
>     accepted by the peer, you need to assign an /Outbound Rewrite Rule
>     For Callee/, which strips off the |emergency_| prefix. You can
>     also use the variables |${*caller_*emergency_cli}|,
>     |${*caller_*emergency_prefix}| and |${*caller_*emergency_suffix}|
>     as well as |${caller_ac}| and |${caller_cc}|, which are all
>     configurable per subscriber to rewrite the number into a valid format.
>
>
> and in next lines, dialplan from
>
>       * Match Pattern: |^emergency_(.+)$|
>       * Replacement Pattern: |${emergency_prefix}${caller_ac}\1|
>       * Description: |Normalize Emergency Numbers|
>
>
> to
>
>       * Match Pattern: |^emergency_(.+)$|
>       * Replacement Pattern: |${caller_emergency_prefix}${caller_ac}\1|
>       * Description: |Normalize Emergency Numbers|
>
>
> Regards,
> Marcin
>
> 2012/11/28 Marcin Kowalczyk <marcin.kowalczyk at architekci.it
> <mailto:marcin.kowalczyk at architekci.it>>
>
>     caller_ac
>
>
>
>
> _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> http://lists.sipwise.com/listinfo/spce-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20121128/854b9048/attachment-0001.html>


More information about the Spce-user mailing list