Summary: | ASTERISK-08489: Users can't make IAX2 calls | ||
Reporter: | Jose Pablo Fernandez (pupeno) | Labels: | |
Date Opened: | 2007-01-04 16:19:22.000-0600 | Date Closed: | 2007-01-05 08:20:06.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | Users defined in users.conf can't make IAX2 calls because users.conf only support IAX (the old one). Basically I see two fixes: Line 2371 of pbx/pbx_config.c reads: snprintf(tmp, sizeof(tmp), "IAX/%s", cat); which should be changed for snprintf(tmp, sizeof(tmp), "IAX2/%s", cat); so the user will try to stablish a IAX2 channel instead of a IAX one. The other solution is to add if (ast_true(ast_config_option(cfg, cat, "hasiax2"))) { snprintf(tmp, sizeof(tmp), "IAX2/%s", cat); append_interface(iface, sizeof(iface), tmp); } somewhere in there, that would maintain compatibility with the depricated IAX and will require changes in Asterisk GUI, so I'd recommend the first one. ****** ADDITIONAL INFORMATION ****** AsteriskGUI *needs* this fix to work properly with IAX. | ||
Comments: | By: Jason Parker (jparker) 2007-01-04 16:27:39.000-0600 This has already been fixed in svn branch 1.4. This is why we ask that people test the very latest svn code before submitting reports. |