Fail to call an internal

sip.conf

[code]
[general]
context=chiamate-in-entrata
bindport=5060
bindaddr=0.0.0.0
srvlookup=yes
language=it
canreinvite=no
nat=yes
allowsubscribe=no
disallow=all
allow=alaw
realm=sip.messagenet.it
rtptimeout=60
rtpholdtimeout=300

; Registering SIP Providers
register => hidden:hidden@sip.messagenet.it:5061/hidden
register => hidden:hidden@sip.telbo.com/hidden
register => hidden:hidden@sip.voipstunt.com/hidden

; Config SIP IN

[sip.messagenet.it]
type = peer
auth = md5
username = hidden
fromuser = hidden
secret = hidden
host = sip.messagenet.it
port = 5061
qualify = yes
insecure = very

; Config SIP OUT
[telbo]
type=peer
context=chiamate-in-uscita
username=hidden
fromuser=hidden
secret=test1234
host=sip.telbo.com
fromdomain=sip.telbo.com
qualify=yes
insecure=very
nat=yes

[voipstunt]
type=peer
context=chiamate-in-uscita
username=hidden
fromuser=hidden
secret=hidden
host=sip.voipstunt.com
fromdomain=sip.voipstunt.com
qualify=yes
insecure=very
nat=yes

; Config internal phone

; Principale - PAP2T
[2000]
type=friend
context=telefoni-locali
secret=test1234
host=dynamic

; Galaxy S
[2010]
type=friend
context=telefoni-locali
secret=test1234
host=dynamic

; Computer fisso
[2100]
type=friend
context=telefoni-locali
secret=test1234
host=dynamic[/code]

I appended to extensions.conf this:

[code][telefoni-locali]
;20xx = Physical phones
;21xx = Softphone

; Principal - PAP2T
exten => 2000,1,Dial(SIP/2000||tT,20)
exten => 2000,2,VoiceMail(2000,us)
exten => 12000,1,VoiceMail(2000,us)

; Galaxy S
exten => 2010,1,Dial(SIP/2010||tT,20)
exten => 2010,2,VoiceMail(2010,u)
exten => 12010,1,VoiceMail(2001,u)

; Ekiga fisso
exten => 2100,1,Dial(SIP/2100||tT,20)
exten => 2100,2,VoiceMail(2100,u)
exten => 12101,1,VoiceMail(2100,u)

; Segreteria telefonica - answering machine
exten => 3000,1,VoiceMailMain(${CALLERID(num)},s)
exten => 4444,1,Goto(3000,1)
exten => 3001,1,VoiceMailMain()

; Chiamate in uscita - calls out
exten => _0X.,1,Dial(SIP/0039${EXTEN}@telbo)
exten => _3X.,1,Dial(SIP/0039${EXTEN}@telbo)
exten => _00X.,1,Dial(SIP/${EXTEN}@telbo)

; Numero inesisntente - unknown number
exten => _X.,1,Playback(invalid)
exten => _X.,n,Hangup()

; Chiamate in attesa - waiting calls
include => parkedcalls
exten => _70X,1,GoTo(parkedcalls,${EXTEN},1)

[chiamate-in-entrata]
; Chiamate in entrata calls in, 09187771** is mi local number, with the prefix become 0039 09187771**
exten => _09187771**,1,Dial(SIP/2000||Tt,20)[/code]

When I call the number 2000 from my Galaxy S (with sipdroid), the asterisk console give this:

[quote][2012-07-17 08:32:40] NOTICE[3244]: chan_sip.c:25237 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 2010
[2012-07-17 08:32:40] ERROR[3254]: netsock2.c:263 ast_sockaddr_resolve: getaddrinfo(“2000||tT”, “(null)”, …): Name or service not known
[2012-07-17 08:32:40] WARNING[3254]: chan_sip.c:5511 create_addr: No such host: 2000||tT
[2012-07-17 08:32:40] WARNING[3254]: app_dial.c:2218 dial_exec_full: Unable to create channel of type ‘SIP’ (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
[2012-07-17 08:32:40] WARNING[3254]: pbx.c:4236 pbx_extension_helper: No application ‘VoiceMail’ for extension (telefoni-locali, 2000, 2)
== Spawn extension (telefoni-locali, 2000, 2) exited non-zero on ‘SIP/2010-00000000’
[2012-07-17 08:32:49] NOTICE[3244]: chan_sip.c:25237 handle_request_subscribe: Received SIP subscribe for peer without mailbox: 2010
[/quote]

While if i call a normal phone number it works fine

Solved… i saw the log at /var/log/asterisk/full, and it was saying that with the new sintax the pipe character was replaced with comma