Summary: | ASTERISK-10483: [queue] Allow setting port in external SIP member | ||
Reporter: | IƱaki Baz Castillo (ibc) | Labels: | |
Date Opened: | 2007-10-10 03:38:03 | Date Closed: | 2007-10-10 09:23:09 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_queue |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | If I want to define a queue with some external SIP accounts as members I can't set the port: [queue] member => SIP/user@extern_domain.org:5050 ; NOT VALID The only valid way is: member => SIP/user@extern_domain.org but this assumes port 5060, that maybe wrong. In dialplan is valid "Dial(SIP/user@extern_domain.org:5050)" so it should be too in queue members definition. A temporary solution is to define a peer for the external domain: [extern_domain] host=extern_domain.org port=5050 and define members as: member => SIP/user@extern_domain But I think it shouldn't be necessary to define a peer for each external SIP domain to use as member. ****** STEPS TO REPRODUCE ****** Define a queue as: [queue-test] member => SIP/user@extern_domain:5050 And exec: CLI>queue show queue-test SIP/user@extern_domain:5050 (Invalid) has taken no calls yet PD: It could be nice too allowing SIP members in form of: member => SIP/sip_peer/user | ||
Comments: | By: Joshua C. Colp (jcolp) 2007-10-10 08:38:06 Can you please provide console output, queue show output, sip debug, etc to show that it is indeed not working. I looked over the app_queue code and it is reading it in fine and not mucking with the value. By: Joshua C. Colp (jcolp) 2007-10-10 09:16:27 I have located the issue, please wait. By: Digium Subversion (svnbot) 2007-10-10 09:21:29 Repository: asterisk Revision: 85280 U branches/1.4/channels/chan_sip.c ------------------------------------------------------------------------ r85280 | file | 2007-10-10 09:21:28 -0500 (Wed, 10 Oct 2007) | 4 lines If devicestate is passed a port number strip it out. (closes issue ASTERISK-10483) Reported by: ibc ------------------------------------------------------------------------ By: Digium Subversion (svnbot) 2007-10-10 09:23:09 Repository: asterisk Revision: 85281 _U trunk/ U trunk/channels/chan_sip.c ------------------------------------------------------------------------ r85281 | file | 2007-10-10 09:23:07 -0500 (Wed, 10 Oct 2007) | 12 lines Merged revisions 85280 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r85280 | file | 2007-10-10 11:42:00 -0300 (Wed, 10 Oct 2007) | 4 lines If devicestate is passed a port number strip it out. (closes issue ASTERISK-10483) Reported by: ibc ........ ------------------------------------------------------------------------ |