Saturday, May 8, 2010

Twinkle softphone from bash

twinkle --immediate --call 1008

Fires up twinkle GUI then makes call to 1008. Once GUI is running, multiple calls can be made from the bash shell. Invoking the -c command to get the cli did not work:

twinkle -c --immediate --call 1008

Twinkle configuration with Elastix

Twinkle:

profile.cfg
::::::::::::::
# USER
user_name=6004
user_domain=192.168.2.2
user_display=twinkle
user_organization=
auth_realm=
auth_name=6004
auth_pass=changeme
auth_aka_op=00000000000000000000000000000000
auth_aka_amf=0000

# SIP SERVER
outbound_proxy=10.99.0.171
all_requests_to_proxy=no
non_resolvable_to_proxy=no
registrar=
register_at_startup=yes
registration_time=3600
reg_add_qvalue=no
reg_qvalue=1

Elastix:

[6004]
deny=0.0.0.0/0.0.0.0
type=friend
secret=changeme
qualify=yes
port=5060
pickupgroup=
permit=0.0.0.0/0.0.0.0
nat=yes
mailbox=6004@device
host=dynamic
dtmfmode=rfc2833
dial=SIP/6004
context=from-internal
canreinvite=no
callgroup=
callerid=device <6004>
accountcode=
call-limit=50

Followers