McFone Posted September 28, 2016 Report Share Posted September 28, 2016 Hi, we use the feature DISA to dialin in the pbx and to make outbound calls via the mobile. We have clipnoscreen on by the provider so the number from the caller is to show by a redirection of the extension to the mobile. Outbound calls via the mobile to show the mobile number and not the office number, our customer want to send the office number. Our idea is to handle this via the dialplan and to change / replace the mobile number to the office number without sucess. We must set the P-Preferred-Identity to the office number how can we do this in the dialplan or any setup idea for this. thanks 2016/9/28 12:18:49 Tx: udp:xxxxxxxxxxxxx:5060 (965 bytes) INVITE sip:xxxxxxxxxxxx@xxxxxxxxxxxxx;user=phone SIP/2.0 Via: SIP/2.0/UDP xxxxxxxxxxxx:5060;branch=z9hG4bK-32dea6c5f1e8c0ff4f279097e602eeca;rport From: <sip:+49xxxxxxxx@voip1.xxxxxxx>;tag=1188369041 To: <sip:+49xxxxxxxx@xxxxxxxxxxxx> Call-ID: 4bf575e3@pbx CSeq: 32690 INVITE Max-Forwards: 70 Contact: <sip:xxxxxxxxx@xx.xx.xx.xx:5060;transport=udp> Supported: 100rel, replaces, norefersub Allow-Events: refer Allow: INVITE, ACK, CANCEL, BYE, REFER, PRACK, INFO, UPDATE Accept: application/sdp User-Agent: Vodia-PBX/5.5.4 In-Reply-To: 0209FEB38481400xxxxxxxxxxxxx P-Preferred-Identity: "+49177xxxxx" <sip:+49xxxxx6@xxxxxxxx;user=phone> ->>>>> this must change to the office number Content-Type: application/sdp Content-Length: 200 Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted September 29, 2016 Report Share Posted September 29, 2016 There is a setting in the domain for that, did you try to flip the switch yet? Regarding the SIP headers, there are a lot of variables at https://vodia.com/doc/trunk_custom_headers that you can use to present what you need to present to your provider. You can use the if tags with disa, so to make conditional content in the headers. It might be a little bit of tinkering, but you should be able to get that working properly. Quote Link to comment Share on other sites More sharing options...
McFone Posted September 29, 2016 Author Report Share Posted September 29, 2016 Hi, you know the name of the setting in the domain, can not found a switch for this. thanks Quote Link to comment Share on other sites More sharing options...
McFone Posted September 29, 2016 Author Report Share Posted September 29, 2016 ok, i found the switch use ANI for DISA is on Quote Link to comment Share on other sites More sharing options...
McFone Posted September 29, 2016 Author Report Share Posted September 29, 2016 we fix this with the customize Header in the trunk setup Kundenspezifischer Header (z.B.: X-Vodia-Abc: my header): redirection: {DISA} The flag is true when the mobile use the DISA feature thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.