[Home]

Summary:ASTERISK-02149: [patch] Default username from peer entry when creating new IAX2 channel
Reporter:Steve Davies . (stevedavies)Labels:
Date Opened:2004-07-30 04:25:51Date Closed:2008-01-15 15:03:52.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-patch-defaultusername.patch
Description:
Currently when DIALling an IAX2 call it is necessary to include the username in the channel name (ie IAX2/user@peer/number) if the call will be authenticated.

This is true even if a username is included in the peer definition.  A secret will be picked up from the peer definition, but a username will not.

This patch has chan_iax2.c default the username to the username in the peer definition, allowing the clean and simple IAX2/peer/number to be used.

You have my disclaimer on file.

Regards,
Steve
Comments:By: Mark Spencer (markster) 2004-07-30 11:14:41

Fixed in CVS.  We'll see if anyone complains about it now using that username if specified, but hopefully it won't.

By: Digium Subversion (svnbot) 2008-01-15 15:03:52.000-0600

Repository: asterisk
Revision: 3535

U   trunk/channels/chan_iax2.c

------------------------------------------------------------------------
r3535 | markster | 2008-01-15 15:03:51 -0600 (Tue, 15 Jan 2008) | 2 lines

Add default username patch (bug ASTERISK-2149)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=3535