If you use the useragent field in the general section of sip.conf,
after a restart, or reload of chan_sip, the User-Agent field in the SIP
header will be changed.<br>
<br>
Example sip.conf snippet:<br>
<br>
[general]<br>
useragent=SomeCoolString<br>
<br><br><div><span class="gmail_quote">On 9/9/05, <b class="gmail_sendername">ChB</b> &lt;<a href="mailto:a0305292@unet.univie.ac.at">a0305292@unet.univie.ac.at</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Folks!<br><br>in my sip-logs i see that asterisk uses the User-Agent ID &quot;Asterisk<br>PBX&quot;:<br><br>SipClient: Received: 16:34:03.023<br>---------------------------------<br>BYE sip:102141@131.130.XXX.XXX:44343;transport=udp SIP/2.0
<br>Max-Forwards: 10<br>Record-Route: &lt;sip:213.2XX.XXX.XX8;ftag=as2eb3c466;lr=on&gt;<br>Via: SIP/2.0/UDP 213.2XX.XXX.XX8;branch=z9hG4bK539a.47e6e8a7.0&nbsp;&nbsp;#this is SER<br>Via: SIP/2.0/UDP 213.2XX.XXX.XX7:5060;branch=z9hG4bK300d4e2b;rport=5060 # this is Asterisk
<br>From: &quot;012341234&quot;&lt;<a href="mailto:sip:012341234@213.208.XXX.XX7">sip:012341234@213.208.XXX.XX7</a>&gt;;tag=as2eb3c466<br>To: &lt;<a href="mailto:sip:1234@213.2XX.XXX.XX7">sip:1234@213.2XX.XXX.XX7</a>&gt;;tag=7E24716A
<br>Contact: &lt;<a href="mailto:sip:012341234@213.2XX.XXX.XX7">sip:012341234@213.2XX.XXX.XX7</a>&gt;<br>Call-ID: <a href="mailto:4fbd8b620170cb7a5b0e6e6037df07d0@213.2XX.XXX.XX7">4fbd8b620170cb7a5b0e6e6037df07d0@213.2XX.XXX.XX7
</a><br>CSeq: 103 BYE<br>User-Agent: Asterisk PBX<br>Content-Length: 0<br>Route: &lt;sip:1234@131.130.XXX.XXX:44343;transport=udp&gt;<br><br>this is an example from an incoming sip-call to a geographic number<br>with a matching extension dialing the sip-account 1234. I'd like to
<br>customize this and thought activating the &quot;useragent=&quot;-setting in the<br>sip.conf would change the display, but it doesn't seem to have any<br>effect. is this the right place to change this distinct entry or do i
<br>have to edit it in the source?<br>Asterisk-Version is 1.0.9<br><br>Thanks<br>Christian<br>_______________________________________________<br>--Bandwidth and Colocation sponsored by <a href="http://Easynews.com">Easynews.com
</a> --<br><br>Asterisk-Users mailing list<br><a href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a><br><a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>To UNSUBSCRIBE or update options visit:<br>&nbsp;&nbsp; <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>