Summary: | ASTERISK-09670: inUse update on SIP trunk peer | ||
Reporter: | Alex Chauvin (achauvin) | Labels: | |
Date Opened: | 2007-06-13 11:39:17 | Date Closed: | 2007-06-18 13:20:02 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When setting call-limit on an outgoing SIP peer, each call is not updating the inUse counter. The sip_pvt passed to update_call_counter in this case has a peername = to extension rather than peer name. At line 3050 of chan_sip.c we have: ast_string_field_set(dialog, peername, peer->username); with a change to ast_string_field_set(dialog, peername, peer->name); the inUse counter is now well modified and call-limit can be use. Regards, Alex. | ||
Comments: | By: Joshua C. Colp (jcolp) 2007-06-18 13:20:02 Fixed in 1.2 as of revision 69765, 1.4 as of revision 69775, and trunk as of revision 69779. Thanks! |