Call forwarding rpid domain issue

Status
Not open for further replies.

Aqs Younas

New Member
May 23, 2017
9
0
1
33
Greetings list,

I am facing a issue regarding call forwarding. I see when I set call forwarding on a extension dialstring is made like this.
<param name="dial-string" value="{instant_ringback=true,domain_uuid=f4d783de-16b2-4fb8-b38a-e4b8de1c5ef1
,sip_invite_domain=pbx.vet.com.au,domain_name=pbx.vet.com.au,domain=pbx.vet.com.au,extension_uuid=83838e94-04b0-435e-b9d3-eca0e842e24f,toll_allo
w=&#39;&#39;,sip_h_X-accountcode=${accountcode},presence_id=204@pbx.vet.com.au}sofia/gateway/38f729f5-3249-45cf-a7a4-e55cd58631a6/0430573570"/>

and call from trunk like this.


INVITE sip:0430573570@trunk.xpbx.net.au SIP/2.0
Via: SIP/2.0/UDP 124.47.187.254:5080;rport;branch=z9hG4bKpp6gS10p88cKN
Max-Forwards: 67
From: "205" <sip:0291331309@trunk.xpbx.net.au>;tag=65ey0QBHtej0Q
To: <sip:0430573570@trunk.xpbx.net.au>
Call-ID: 71a08f3a-2e96-1236-fd8d-00155d6e3278
CSeq: 113826161 INVITE
Contact: <sip:gw+38f729f5-3249-45cf-a7a4-e55cd58631a6@124.47.187.254:5080;transport=udp;gw=38f729f5-3249-45cf-a7a4-e55cd58631a6>
User-Agent: FreeSWITCH
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 319
X-accountcode: pbx.vet.com.au
X-FS-Support: update_display,send_info
Remote-Party-ID: "205" <sip:205@pbx.vet.com.au>;party=calling;screen=yes;privacy=off

v=0
o=FreeSWITCH 1508295854 1508295855 IN IP4 124.47.187.254
s=FreeSWITCH
c=IN IP4 124.47.187.254
t=0 0
m=audio 28596 RTP/AVP 9 0 8 3 101 13
a=rtpmap:9 G722/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:3 GSM/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20


You can see both bold header contains different domain. Domain pbx.vet.com.au is what user registerd to and domain atrunk.xpbx.net.au is what trunk whats us to send in invite.
Both different domain are resulting in call failure. How can I make sure RPI use the same domain as Gateway.
 
Status
Not open for further replies.