I got one step further by editing enum.conf and use also
search => e164.org
Now the called party pickus up, but no voice can be heard at neither sides.
sip.conf:
[6002]
type=friend
username=6002
secret=secret
qualify=200
nat=yes
host=dynamic
canreinvite=yes
context=from-sip
callerid=Ronald Wiplinger <6002>
dtmfmode=rfc2833
disallow=all
ulaw
allow=ulaw
allow=alaw
I try to use ENUM lookup ...
[trunkint]
exten => _9011Z.,1,SetCIDNum(${CALLERIDNUM}|a)
exten => _9011Z.,n,EnumLookup(${EXTEN:4})
exten => _9011Z.,n,BackGround(enum-lookup-successful)
exten => _9011Z.,n,Dial(${ENUM},30)
exten => _9011Z.,n,Hangup
*CLI>
-- Executing SetCIDNum("SIP/6002-8607", "6002|a") in new
stack
-- Executing EnumLookup("SIP/6002-8607", "886228357765")
in new stack
-- Executing BackGround("SIP/6002-8607",
"enum-lookup-successful")
in new stack
-- Playing 'enum-lookup-successful' (language 'en')
-- Executing Dial("SIP/6002-8607", "|30") in new stack
Jul 5 15:50:24 WARNING[22297]: app_dial.c:694 dial_exec_full: Dial
argument takes format
(technology1/number1&technology2/number2...|optional timeout)
== Spawn extension (from-sip, 9011886228357765, 4) exited non-zero on
'SIP/6002-8607'
What have I forgotten?
bye
Ronald