[asterisk-users] Call sip:user at domain.com?

Administrator TOOTAI admin at tootai.net
Fri Dec 17 09:16:00 UTC 2010


Le 17/12/2010 07:45, Gilles a écrit :
> On Thu, 16 Dec 2010 17:05:35 -0500, "Jamie A. Stapleton"
> <jstapleton at computer-business.com>  wrote:
>    
>> Just add something like this to your dialplan:
>>
>> exten=>1234,1,Dial(SIP/user at domain.com)
>>
>> Then, when you dial 1234 on your XLite, it will connect you to user at domain.com.
>>      
> Thanks Jamie, but isn't there a universal way to solve this, so that
> users can dial any SIP number without first having to create an
> extension for that specific number?
Then create a prefix for SIP calls

exten=>_9.,1,Dial(SIP/${EXTEN:1})

and you dial 9user at domain.com from XLite

Remember that calling sip URL is not as easy with a phone. Imagine you have an ATA with DECT or POTS
phone connected on it: how to send alpha characters or @ ?

-- 
Daniel



More information about the asterisk-users mailing list