Hello Guys,<div><br></div><div>When I create a GW it MUST have a username and password in the sofia config, so i set a generic one like "123"</div><div><br></div><div>Problem is, i need to send out in the FROM the callerid of the actual caller...</div>
<div><br></div><div>I've tried setting (lua) on the outgoing call:</div><div><br></div><div><div> session:execute("set","sip_from_user=" .. caller_id .. "")</div><div> session:execute("set","sip_auth_username=" .. caller_id .. "")</div>
<div> session:execute("set","sip_req_user=" .. caller_id .. "")</div><div> </div></div><div>But still the only thing that is correctly set is:</div><div><br></div><div><div> Remote-Party-ID: "David" <<a href="http://sip:8889990@1.2.3.4:5060">sip:8889990@1.2.3.4:5060</a>>;party=calling;screen=yes;privacy=off</div>
<div> [Expert Info (Note/Undecoded): Unrecognised SIP header (Remote-Party-ID)]</div><div> [Message: Unrecognised SIP header (Remote-Party-ID)]</div><div> [Severity level: Note]</div>
<div> [Group: Undecoded]</div></div><div><br></div><div><br></div><div><div> From: "David" <sip:123@1.2.3.4:5060;transport=udp>;tag=jtr1yQHFUUp3H</div><div> SIP Display info: "David" </div>
<div> SIP from address: <a href="http://sip:123@1.2.3.4:5060">sip:123@1.2.3.4:5060</a></div><div> SIP from address User Part: 123</div><div> SIP from address Host Part: 1.2.3.4</div>
<div> SIP from address Host Port: 5060</div><div> SIP tag: jtr1yQHFUUp3H</div></div><div><br></div><div>I would need to set the FROM correctly...</div><div><br></div><div><br></div><div><br></div>
<div>Any thoughts?</div><div><br></div><div>Thanks</div><div><br></div><div>David</div>