AMI Call Originate to External Phone Numbers

Got it working

#!/usr/bin/python3
from asterisk.ami import AMIClient

client = AMIClient(address=‘15.207.202.42’,port=5038)
client.login(username=‘tclmgr’,secret=‘tclpass’)

from asterisk.ami import SimpleAction

def send_call():
action = SimpleAction(
‘Originate’,
Channel=‘PJSIP/07738345865@sip_trunk’,
Exten=‘101’,
Priority=1,
Context=‘in-call’,
CallerID=‘1xxxxxx0’,
)

client.send_action(action)

Thanks for all the comments and help

Regards
CJ