[Spce-user] Control calls via Sip Provider CE for subscribers

Mykola Zaika mzaika at voiptime.net
Mon Jan 19 10:00:48 EST 2015


Hi,
I typed all characters manually from the keyboard and all are working.

Thank You very much.

-- 
З повагою,
Микола Заїка
Компанія VoIPTime,
Тел: +380 32 2328022
mzaika at voiptime.net <ydidukh at voiptime.net>
www.voiptime.net

2015-01-19 16:44 GMT+02:00 Thomas Odorfer <odotom at gmail.com>:

> Hi,
> did you copy/paste the 911 rule (inbound rewrite)?
> Be careful of the ^  character, if you copy it from a html page it might
> not be the right character. Type it from the keyboard!
> BR
>
> Am 19.01.2015 um 15:15 schrieb Daniel Grotti <dgrotti at sipwise.com>:
>
>  Hi,
> it looks good at a first sight.
>
> Daniel
>
>
>
>
>
> On 01/19/2015 03:13 PM, Mykola Zaika wrote:
>
> I understand You completely.  Here are some examples. What am I doing
> wrong?
>
> 1) set your emergency_prefix in subscriber preferences (ex peerA_)
>
> <Mail-Anhang.png>
> 2) rewrite all the calls from that subscriber and prefix them with that
> value peerA_. You have to use the special variable
> ${caller_emergency_prefix} in the INBOUND rewrite rules for callee
> (attached to the subscriber's domain or to the subscriber itself).
>
> <Mail-Anhang.png>
>
> 3) now all the calls from that subscriber has destination like:
> peerA_XXXXXX
> 4) put the value of "peerA_" in the peering server rules as callee prefix
> value
>
> <Mail-Anhang.png>
>
> 5) remove the prefix using the peering's OUTBOUND rewrite rules for callee
>
> <Mail-Anhang.png>
>
>    --
>  З повагою,
> Микола Заїка
>  Компанія VoIPTime,
> Тел: +380 32 2328022
> mzaika at voiptime.net <ydidukh at voiptime.net>
> www.voiptime.net
>
> 2015-01-19 15:23 GMT+02:00 Daniel Grotti <dgrotti at sipwise.com>:
>
>>  Hi,
>> so this is how it works:
>>
>>
>> 1) set your emergency_prefix in subscriber preferences (ex peerA_)
>> 2) rewrite all the calls from that subscriber and prefix them with that
>> value peerA_. You have to use the special variable
>> ${caller_emergency_prefix} in the INBOUND rewrite rules for callee
>> (attached to the subscriber's domain or to the subscriber itself).
>> 3) now all the calls from that subscriber has destination like:
>> peerA_XXXXXX
>> 4) put the value of "peerA_" in the peering server rules as callee prefix
>> value
>> 5) remove the prefix using the peering's OUTBOUND rewrite rules for callee
>>
>>
>> hope this is much clear.
>>
>>
>> Daniel
>>
>>
>>
>> On 01/19/2015 02:13 PM, Mykola Zaika wrote:
>>
>>  I checked all my settings. Maybe rewrite rules have to enable in global
>> configuration files?
>>  In subscribers setting is field "emergency_prefix: (A numeric string
>> intended to be used in rewrite rules for emergency numbers.)" When I can
>> use that field? Can I use "emergency_prefix" and  "rewrite_rule_set:"
>> together?
>>
>>  Thanks.
>>
>>    --
>>  З повагою,
>> Микола Заїка
>>  Компанія VoIPTime,
>> Тел: +380 32 2328022 <%2B380%2032%202328022>
>> mzaika at voiptime.net <ydidukh at voiptime.net>
>> www.voiptime.net
>>
>> 2015-01-19 13:54 GMT+02:00 Daniel Grotti <dgrotti at sipwise.com>:
>>
>>>  Please double check you rewrite rules for Callee cause you  got:
>>>
>>>
>>> On 01/19/2015 11:51 AM, Mykola Zaika wrote:
>>>
>>> Jan 19 11:39:34 spce /usr/sbin/kamailio[16077]: INFO: <script>: Applying
>>> callee-in domain rewrite rules using dpid '10' - R=sip:911 at 10.110.10.55
>>> ID=27a860496ea813781de8a0d3731f11af at 10.110.10.43
>>> Jan 19 11:39:34 spce /usr/sbin/kamailio[16077]: INFO: <script>: No
>>> matching rewrite rules for '911' found - R=sip:911 at 10.110.10.55 ID=
>>> 27a860496ea813781de8a0d3731f11af at 10.110.10.43
>>>
>>>
>>>
>>>  so the number is not rewritten into "emergency_911".
>>>
>>> Daniel
>>>
>>>
>>
>>
>
>  _______________________________________________
> Spce-user mailing list
> Spce-user at lists.sipwise.com
> https://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/20150119/f068bf22/attachment-0001.html>


More information about the Spce-user mailing list