<div>Hello</div><div>š</div><div>I solved it and I leave the solution here for those who need it because this modems software is retarded, it does not allow to put the VOIP (VSPA_SIP) client to any other interface so I couldn't do the trick to connect it back to my own asterisk server on LAN and monitor what packets it send out. It only connects through the ONT (optical) link through it's wan adapter, and that cannot be bridged again. So basically I can't even use it as an ATA later for my own pbx...</div><div>š</div><div>So I needed to register at the PBX in this format:</div><div>š</div><div>register =&gt; <a href="mailto:fromuser@fromdomain:secret:authuser@host:port/extension">fromuser@fromdomain:secret:authuser@host:port/extension</a></div><div>š</div><div>instead of:</div><div>š</div><div>register =&gt; <a href="mailto:fromuser@fromdomain:secret:authuser@host:port/extension">authuser:secret@host:port/extension</a></div><div>š</div><div>Best Regards,</div><div>Sergej</div><div>š</div><div>š</div><div>š</div><div>11.05.2013, 10:30, "Sergej Petrovsky" &lt;sergej5561@yandex.com&gt;:</div><blockquote type="cite"><div>Hello</div><div>š</div><div>Thanks for the response! I already set both Agents to empty (also tried the username), doesn't make any difference. What I could figure out from the modem's SIP client is:</div><div>š</div><div>#grep -ri agent /bin/vspa_sip</div><div>š</div><div>HW_SIP_FormatUserAgentStr<br />SIPPA_FunFillUserAgentHead<br />HW_VSPA_CheckUriAndUserAgentDomain<br />HW_VSPA_CheckUserAgentDomain<br />ParseUserAgentMemCp<br />SipUaDlgUAddUserAgentAndOrgnizationHeaders<br />SipUaUtilAddUserAgentHeader<br />SipUserIeIniUserAgent<br />HW_VSPA_CheckUserAgentDomain Failed.ulRet=0x%x.<br />UserAgent<br />UserAgentDomain Check Err!VoiceProfile.{%u}.Line.{%u}.URI=%s,aucUserAgentDomain=%s<br />[VOIP] %s VoiceProfile[%lu] Line[%lu] UserAgentDomain Changed From %s to %s.<br />User Agent:%s<br />SipLmSetSoftConfigPara SIP_SOFT_CONFIG_ADD_USER_AGENT_FOR_ALL_UA_MSGS failed.ulRet=%u<br />Feature: LOG/TRACE/STATISTICS/BACKUP/IPV4_SUPPORT/OPTIMIZE_APPMSG/MIB_STATISTICS/ETAG/ADD_USER_AGENT_HDR/32_BIT/<br />User-Agent<br />User-Agent: <br />bInsUserAgent: %u<br />SipUaUtilAddUserAgentHeader<br />SipUaDlgUAddUserAgentAndOrgnizationHeaders<br />Add UserAgent and Organization header failed<br /><br /></div><div>The problem really is that it register and from that point you have no way knowing what goes wrong on the other side...</div><div>š</div><div>Sergej</div><div>š</div><div>š</div><div>11.05.2013, 09:50, "Asghar Mohammad" &lt;<a href="mailto:asghar144@gmail.com">asghar144@gmail.com</a>&gt;:</div><blockquote type="cite"><div dir="ltr">you can find in [general] šsection.<div><div>useragent=asterisk š š š š; Allows you to change the user agent string</div><div>š š š š š š š š š š š š š š š š ; The default user agent string also contains the Asterisk</div><div>š š š š š š š š š š š š š š š š ; version. If you don't want to expose this, change the</div><div>š š š š š š š š š š š š š š š š ; useragent string.</div><div>sdpsession=asterisk š š š š; Allows you to change the SDP session name string, (s=)</div><div>š š š š š š š š š š š š š š š š ; Like the useragent parameter, the default user agent string</div><div>š š š š š š š š š š š š š š š š ; also contains the Asterisk version.</div><div>;sdpowner=root š š š š š š š š š; Allows you to change the username field in the SDP owner string, (o=)</div></div></div><div><br /><br /><div>On Sat, May 11, 2013 at 5:16 AM, Nick Khamis <span dir="ltr">&lt;<a href="mailto:symack@gmail.com" target="_blank">symack@gmail.com</a>&gt;</span> wrote:<br /><blockquote style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex;">Sorry to chime in here, is it possible to change the "Server: Asterisk<br /> ", "s=Asterisk", and "o=" within sip.conf? What are the directives<br /> exactly please?<br /> <br /> Thanks in Advance,<br /> <br /> Nick.<br /> <br /> On 5/10/13, Asghar Mohammad &lt;<a href="mailto:asghar144@gmail.com">asghar144@gmail.com</a>&gt; wrote:<br /> &gt; hi,<br /> &gt; you can try to change sip user agent and sdp session s , owner in sip<br /> &gt; config same as your phone,s (modem).<br /> &gt; asterisk by default send user agent = asterisk version , s= asterisk , o=<br /> &gt; asterisk.<br /> &gt; some providers are not happy if they see "asterisk" word :)<br /> &gt;<br /> &gt;<br /> &gt;<br /> &gt; On Sat, May 11, 2013 at 12:27 AM, Sergej Petrovsky<br /> &gt; &lt;<a href="mailto:sergej5561@yandex.com">sergej5561@yandex.com</a>&gt;wrote:<br /> &gt;<br /> &gt;&gt; Hi folks,<br /> &gt;&gt;<br /> &gt;&gt; What I trying to do here is exactly this:<br /> &gt;&gt; <a href="http://www.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/I_sect14_tt599.html" target="_blank">http://www.asteriskdocs.org/en/2nd_Edition/asterisk-book-html-chunk/I_sect14_tt599.html</a><br /> &gt;&gt;<br /> &gt;&gt; My provider given me a Huawei modem which have 2 phone jacks on it, but<br /> &gt;&gt; instead of using it I rather redirect my POTS number to my PBX. I ran<br /> &gt;&gt; into<br /> &gt;&gt; couple of bumps on the road but now it's "half-working". I extracted the<br /> &gt;&gt; SIP user, pass, server info from the modem and even managed to put my PBX<br /> &gt;&gt; into the same VLAN they use, on the exact same IP address like the modem<br /> &gt;&gt; but there is 1 problem:<br /> &gt;&gt; It seems this modem also sends some session ID to the ISP's sip server,<br /> &gt;&gt; something what Asterisk doesn't by default. So if I do this:<br /> &gt;&gt;<br /> &gt;&gt; 1, Let the modem register at the sip service (the phone number can be<br /> &gt;&gt; called and ringing out)<br /> &gt;&gt; 2, Disconnect the modem<br /> &gt;&gt; 3, Let the PBX connect to the SIP server<br /> &gt;&gt; 4, PBX accepts the calls<br /> &gt;&gt; 5, About 5-10 minutes later it stops doing it, when I call the number it<br /> &gt;&gt; shows busy (beep, beep, beep), no matter if I restart Asterisk or not it<br /> &gt;&gt; won't work anymore just if I do the same trick again<br /> &gt;&gt;<br /> &gt;&gt; I'm sure the remote SIP server breaks the voip channel or something, it<br /> &gt;&gt; does NOT drop me out tho, my PBX can register any time without problem<br /> &gt;&gt; but<br /> &gt;&gt; no packets will ever come forward me anymore. It's kind of hard to solve<br /> &gt;&gt; this from 1 side.<br /> &gt;&gt;<br /> &gt;&gt; There must be some solution for this.<br /> &gt;&gt;<br /> &gt;&gt; Please help!<br /> &gt;&gt;<br /> &gt;&gt; Thank You,<br /> &gt;&gt; Sergej<br /> &gt;&gt;<br /> &gt;&gt;<br /> &gt;&gt;<br /> &gt;&gt; --<br /> &gt;&gt; _____________________________________________________________________<br /> &gt;&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br /> &gt;&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br /> &gt;&gt; š š š š š š š š<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br /> &gt;&gt;<br /> &gt;&gt; asterisk-users mailing list<br /> &gt;&gt; To UNSUBSCRIBE or update options visit:<br /> &gt;&gt; š š<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br /> &gt;&gt;<br /> &gt;<br /> <br /> --<br /> _____________________________________________________________________<br /> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com</a> --<br /> New to Asterisk? Join us for a live introductory webinar every Thurs:<br /> š š š š š š š š<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br /> <br /> asterisk-users mailing list<br /> To UNSUBSCRIBE or update options visit:<br /> š š<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div></div>,<p>--<br />_____________________________________________________________________<br />-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/">http://www.api-digital.com</a> --<br />New to Asterisk? Join us for a live introductory webinar every Thurs:<br />ššššššššššššššš<a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><br /><br />asterisk-users mailing list<br />To UNSUBSCRIBE or update options visit:<br />ššš<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></p></blockquote>,<p>--<br />_____________________________________________________________________<br />-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/">http://www.api-digital.com</a> --<br />New to Asterisk? Join us for a live introductory webinar every Thurs:<br />ššššššššššššššš<a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><br /><br />asterisk-users mailing list<br />To UNSUBSCRIBE or update options visit:<br />ššš<a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></p></blockquote>