Jump to content
Vodia PBX forum
McFone

Office Number

Recommended Posts

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...