sip.conf
- Code: Select all
[1234]
type=friend
username=1234
secret=password
host=dynamic
context=internal
qualify=yes
nat=yes
[1000]
type=friend
username=1000
secret=password
host=dynamic
context=internal
qualify=yes
nat=yes
extensions.conf
- Code: Select all
[internal]
exten => 1234,1,Dial(SIP/1234)
exten => 1234,2,Hangup()
exten => 1000,1,Dial(SIP/1000)
exten => 1000,2,Hangup()
In this moment the user 1000 can call the user 1234 and 1234 can call the user 1000 by the software linphone but now I would like to make a call from script python, to create a file call.py and call the user 1000 or 1234 from this file
Is it possible???