[Spce-user] topos module strips diversion header

qabane me qabaneitsolutions at gmail.com
Thu Feb 28 03:11:57 EST 2019


Hi Andrew

Ok, solved. I had to activate both features on the peering side as well.
Now I do have a diversion header going out!

Thanks for the pointers.

On Thu, Feb 28, 2019 at 10:04 AM qabane me <qabaneitsolutions at gmail.com>
wrote:

> Hi Andrew
>
> It's not working with:
>
> You should most likely configure inbound_uprn preference on the call
> originator (user/domain) to "Received Diversion" and include UPRN in the
> outbound_diversion preference of the callee.
>
> I will try the customtt after hours although it would make sense to
> configure it through the webinterface if it should work that way?
>
> Indeed the diversion is coming from a subscriber.
>
>
>
> On Wed, Feb 27, 2019 at 5:14 PM Andrew Pogrebennyk <
> apogrebennyk at sipwise.com> wrote:
>
>> Hi,
>> that's what I have already understood :-) So you either need to
>> configure it the way I suggested or change your proxy.cfg.customtt.tt2
>> in the section where it does
>> >                 if(is_present_hf("Diversion") && $avp(s:from_pstn) != 1
>> && $avp(s:cf_from_pstn) != 1)
>> >                 {
>> >                         remove_hf("Diversion");
>> >                 }
>> I recall in some older releases we were removing Diversion regardless
>> whether this is a call from a peer or subscriber..
>> Now it should be actually kept if it is coming from the peer.
>> I take it that in your case the INVITE is coming from a subscriber?
>>
>> Regards,
>> Andrew
>>
>> On 2/27/19 4:10 PM, qabane me wrote:
>> > Hi Andrew
>> >
>> > Just to clarify - this is not being diverted on sipwise, it is a call
>> > that comes in from a user's PBX and is simply being passed upstream. The
>> > diversion header is present when the invite arrives at sipwise, but
>> > stripped when sent to upstream?
>> >
>> > I will have a look at the options, but I understood those to be
>> > applicable when one is diverting from the platform?
>> >
>> > Cheers
>> >
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20190228/50fdd1d8/attachment-0001.html>


More information about the Spce-user mailing list