The direct IP or hostname calling is done exactly as you've shown for a Ruby dialplan. For the SimpleWizard you can do exactly the same thing by using the AdvancedDial command instead of the Dial command.

I mean in Ruby. Problem is that if I do a sys.Dial"192.192.192.192") in a dialplan, SS automatically make the call to req.URI.User@192.192.192.192.

In a sip uri call most Softphones use to clean the user part. If I call to 192.192.192.192@whatever, softphones will send 192192192192@whatever. So, I'm forced to work on the domain part dialing ip@192.192.192.192.

In my DialPlan if a call goes to req.URI.User == "ip" I simply do a sys.Dial( req.URI.Host ). Easy but it doesn't run. SS make a call to ip@192.192.192.192. And this is the core of my problem.

Ok I understand what you are saying. In nearly 6 years of operation no one has ever requested that behaviour before . So it's likely that in 99.999% of cases people do want req.URI.User to be put into the SIP URI when they don't explicitly set anything for the user portion of their dial string.

In addition I would have thought in most cases if a SIP server accepts a call with an empty user portion in the URI it would ignore cases where the user portion is specified.

All that being said I should be able to come up with a way to allow SIP URIs with an empty user portion. I'll add the request to my list of dev work and get to it as time permits.

A new update has been applied that will allow a complete SIP URI to be dialled without the sipsorcery server auto-completing the user portion of the URI.

To use the new approach you will need to fully specify the SIP URI in your dial string which means you must prefix it with "sip:" or "sips:". So in your example where you want to directly dial an IP address you would use: