Allright, thank you. I had it configured in the host-section, not the general 
;-)

On Sat, 10 Sep 2005 03:45:59 -0500
Curt Moore <[EMAIL PROTECTED]> wrote:

> 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.
> 
> Example sip.conf snippet:
> 
> [general]
> useragent=SomeCoolString
> 
> 
> On 9/9/05, ChB <[EMAIL PROTECTED]> wrote:
> > 
> > Hello Folks!
> > 
> > in my sip-logs i see that asterisk uses the User-Agent ID "Asterisk
> > PBX":
> > 
> > SipClient: Received: 16:34:03.023
> > ---------------------------------
> > BYE sip:[EMAIL PROTECTED]:44343;transport=udp SIP/2.0
> > Max-Forwards: 10
> > Record-Route: <sip:213.2XX.XXX.XX8;ftag=as2eb3c466;lr=on>
> > Via: SIP/2.0/UDP 213.2XX.XXX.XX8;branch=z9hG4bK539a.47e6e8a7.0 #this is 
> > SER
> > Via: SIP/2.0/UDP 213.2XX.XXX.XX7:5060;branch=z9hG4bK300d4e2b;rport=5060 # 
> > this is Asterisk
> > From: "012341234"<sip:[EMAIL PROTECTED]>;tag=as2eb3c466
> > To: <sip:[EMAIL PROTECTED]>;tag=7E24716A
> > Contact: <sip:[EMAIL PROTECTED]>
> > Call-ID: [EMAIL PROTECTED]
> > CSeq: 103 BYE
> > User-Agent: Asterisk PBX
> > Content-Length: 0
> > Route: <sip:[EMAIL PROTECTED]:44343;transport=udp>
> > 
> > this is an example from an incoming sip-call to a geographic number
> > with a matching extension dialing the sip-account 1234. I'd like to
> > customize this and thought activating the "useragent="-setting in the
> > sip.conf would change the display, but it doesn't seem to have any
> > effect. is this the right place to change this distinct entry or do i
> > have to edit it in the source?
> > Asterisk-Version is 1.0.9
> > 
> > Thanks
> > Christian
> > _______________________________________________
> > --Bandwidth and Colocation sponsored by Easynews.com <http://Easynews.com>--
> > 
> > Asterisk-Users mailing list
> > [email protected]
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> 
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to