<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
My gataway profile<br>
<br>
<small><font face="Courier New, Courier, monospace"><include><br>
<gateway name="SIP_M200"></font></small><br>
<small><font face="Courier New, Courier, monospace"><small><font
face="Courier New, Courier, monospace"> <param
name="username" value="USERNAME_STRING"/></font></small>
<br>
<param name="realm" value="172.30.0.2"/><br>
<param name="register" value="false"/><br>
<param name="caller-id-in-from" value="true"/><br>
<param name="ping" value="5"/><br>
</gateway><br>
</include></font></small><br>
<br>
SIP packet which is accepted by the remote UA<br>
<br>
<small><font face="Courier New, Courier, monospace">Thu Nov 29
16:38:24 2012<br>
RECEIVE 15:5060 <-- 172.30.0.1:5080<br>
OPTIONS <a class="moz-txt-link-freetext" href="sip:172.30.0.2;transport=udp">sip:172.30.0.2;transport=udp</a> SIP/2.0<br>
Via: SIP/2.0/UDP
172.30.0.1:5080;rport;branch=z9hG4bK6DKm54N817tUS<br>
Max-Forwards: 70<br>
<b><font color="#ff0000">From:
<a class="moz-txt-link-rfc2396E" href="sip:172.30.0.2"><sip:172.30.0.2></a>;tag=BZN3H5ZBpm8gQ<br>
To: <a class="moz-txt-link-rfc2396E" href="sip:172.30.0.2"><sip:172.30.0.2></a></font></b><br>
Call-ID: 79818268-b4c4-1230-60ac-00d0b7ded66a<br>
CSeq: 36758947 OPTIONS<br>
User-Agent:
FreeSWITCH-mod_sofia/1.2.3+git~20120920T220849Z~f718a5e8e6<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE,
REGISTER, REFER, NOTIFY<br>
Supported: timer, precondition, path, replaces<br>
Allow-Events: talk, hold, conference, refer<br>
Content-Length: 0<br>
</font></small><br>
but in reply arrives nothing... the developer points to that that
in a SIP packet there is no field username in<br>
<br>
<small><font face="Courier New, Courier, monospace"><b><font
color="#ff0000">From:
<a class="moz-txt-link-rfc2396E" href="sip:172.30.0.2"><sip:172.30.0.2></a>;tag=BZN3H5ZBpm8gQ <----in this
string no username<br>
To: <a class="moz-txt-link-rfc2396E" href="sip:172.30.0.2"><sip:172.30.0.2></a> <---- and in this string
no username</font></b></font></small><br>
<br>
it is necessary to make as <br>
<br>
From: "USERNAME_STRING"
<a class="moz-txt-link-rfc2396E" href="sip:USERNAME_STRING@172.30.0.1"><sip:USERNAME_STRING@172.30.0.1></a>;tag=9DcB7gSNZZ41j<br>
<br>
What it is necessary to change or add in a gateway profile (or other
place) for this purpose?<br>
<br>
Vladislav Grishin<br>
</body>
</html>