sip: address
danekstrom - July 26, 2007 - 17:01
| Project: | Asterisk integration |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
Hi,
I have a problem. I use sip:user@host syntax according to SIP address standard. Is this supported?
This code:
" if (strpos($number, '://') !== FALSE) {
$badchars = array(' ', '(', ')', '+', '/', '@');
}
else {
$badchars = array(' ', '(', ')', '+', '-', ':', '/', '@');
}"
removed the : in the sip-address. Is this ok?
Best regards,
Dan Ekström

#1
from the doxygen for the asterisk_call() function:
* Number formats are as follows:
* IAX: iax://username user is registered to your asterisk server
* SIP: sip://username
* FWD: fwd://fwd_number
so at this moment, the format you posted isn't compatible with the module.
marking as by design. i would consider committing a feature request to add this format if somebody will roll a patch and post it.