Summary: | ASTERISK-01825: CLI commands always show last iax2.conf entry when entries have same host | ||
Reporter: | Andrew Kohlsmith (akohlsmith) | Labels: | |
Date Opened: | 2004-06-15 08:29:57 | Date Closed: | 2008-01-15 14:58:16.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | part of my iax2.conf: [benphone] type=peer username=benphone secret=benphone host=192.168.2.2 qualify=300 ;trunk=yes [benfax] type=peer username=benfax secret=benfax host=192.168.2.2 disallow=all allow=ulaw ;trunk=yes [bendummy] type=peer username=bendummy secret=bendummy host=192.168.2.2 ;trunk=yes It doesn't matter what my Dial() command uses, benphone@benphone, benfax@benfax or bendummy@bendummy, the output on the CLI is always bendummy: -- Accepting call from '1234567890' to '5551212' on channel 0/2, span 1 -- Executing Dial("Zap/2-1", "IAX2/benphone@benphone") in new stack -- Called benphone@benphone -- Call accepted by 192.168.2.2 (format ILBC) -- Format for call is ILBC -- IAX2[bendummy]/2 is ringing -- IAX2[bendummy]/2 stopped sounds -- IAX2[bendummy]/2 answered Zap/2-1 Those last three lines should say IAX2[benphone] not IAX2[bendummy] since benphone was called. | ||
Comments: | By: Mark Spencer (markster) 2004-06-15 10:11:39 Fixed in CVS head. By: Digium Subversion (svnbot) 2008-01-15 14:58:16.000-0600 Repository: asterisk Revision: 3215 U trunk/channels/chan_iax2.c ------------------------------------------------------------------------ r3215 | markster | 2008-01-15 14:58:16 -0600 (Tue, 15 Jan 2008) | 2 lines When dialing outbound, if we match a peer name, use it (who really cares?) (bug ASTERISK-1825) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=3215 |