Apparently this is not currently possible. I have submitted a patch on JIRA to add a new parameter to the subscriptions section named user-in-register, when set to true the username will be included in the request-uri. If/when this patch is approved I will update the wiki.<br>
<br><div class="gmail_quote">On Fri, Jul 13, 2012 at 1:34 PM, Duvid Rottenberg <span dir="ltr"><<a href="mailto:adrottenberg@gmail.com" target="_blank">adrottenberg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am using embedded freeswitch as a softphone client and I am trying to subscribe to call-info on the server, (see config below) but the server is responding with a 481 Call/Transaction Does not exist.<div>I compared the freeswitch SIP messages with SIP messages sent by a polycom phone for this feature and I noticed that freeswitch doesn't send the username in the request line. I think that this is causing the 481 response.</div>
<div><br><div>Polycom Version:</div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">SUBSCRIBE sip:user@server:5060;transport=udp
SIP/2.0</span></div><div>Freeswitch:</div><div>SUBSCRIBE sip:server:5060;transport=udp SIP/2.0</div><div><br></div><div>Below is my gateway configuration</div><div><div><gateway name='1'></div><div> <param name='realm' value='SIP_SERVER' /></div>
<div> <param name='username' value='SIP_USERNAME' /></div><div> <param name='password' value='SIP_PASSWORD' /></div><div> <param name='register' value='true' /></div>
<div> <param name='extension' value='SIP_USERNAME' /></div><div> <param name='extension-in-contact' value='true' /></div><div> <subscriptions name='x'> </div>
<div> <subscription event='call-info'></div><div> <param name='retry-seconds' value='40'/></div><div> <param name='expire-seconds' value='3600'/></div>
<div> <param name='content-type' value=''/></div><div> </subscription> </div><div> </subscriptions> </div><div></gateway></div>
</div><div><br></div><div>Is there any way to tell freeswitch to include the username in the request line? </div></div><div><br></div><div>Thank You,</div><div>Duvid Rottenberg</div>
</blockquote></div><br>