P
P
pcdesign2021-12-06 09:54:27
Python
pcdesign, 2021-12-06 09:54:27

How to make follow-me work when initiating a call via AMI?

Initiating a call via AMI

from asterisk.ami import SimpleAction

action = SimpleAction(
    'Originate',
    Channel='SIP/200',
    Exten='74957777777',
    Priority=1,
    Context='from-internal',
    CallerID='python',
)
client.send_action(action)

Everything works, but only 200 still have forwarding to a mobile phone, and now it does not ring when a call is initiated.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2021-12-06
@pcdesign

Channel=Local/[email protected]

[context]
exten => 200,1,Здесь любой диалплан вызова

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question