Configuring Asterisk to phone you
Channel: SIP/line1 MaxRetries: 2 RetryTime: 60 WaitTime: 30 Context: my-phones Extension: 10
The extension 10 initiates the call to phone line1 within the context of my-phones.
12303 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Channel: SIP/line1 MaxRetries: 2 RetryTime: 60 WaitTime: 30 Context: my-phones Extension: 10
import telephone telephone.dial('017337330') # so easy
telephone.hang_up()
import contacts, telephone name = 'korakot' cont = contacts.open().find(name)[0] number = cont.find('mobile_number')[0].value telephone.dial(number)