changing SIP config programatically

Community based support for the Digium Phone Application Programming Interface (API).

Moderators: jwitt, sruffell, malcolmd, Moderator

changing SIP config programatically

Postby wallnutmonkeys » Tue Jul 16, 2013 8:53 am

Hi all, I have another question, is it possible to programatically change the SIP configuration of the phone on which my app is running.

example
I have a phone that is registered to my asterisk server. When a given event arises, I would like to register my phone to a different asterisk server.

I am not seeing anything related to SIP configuration in the digium.phone class so I presume the answer is no, but I prefer to ask the question in case this is not documented.

Thanks in advance for your help

Wallnut
wallnutmonkeys
Newsterisk
 
Posts: 28
Joined: Thu Feb 10, 2011 9:52 pm

Re: changing SIP config programatically

Postby malcolmd » Tue Jul 16, 2013 12:40 pm

No currently, no.

What kinds of events arising would cause you to want to do this?

I can think of a couple of examples, but I'd like to know your real-world use case.
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US

Re: changing SIP config programatically

Postby wallnutmonkeys » Wed Jul 17, 2013 5:56 am

I'm working to integrate digium phones in our call center software solution. Our app can be comprised of multiple asterisk servers (plus cti, and other components aswell) and during the day, the load balance % can be changed. When this happens, I may have to connect my agent to a different asterisk.

So for now what I'm doing is simply pre-configuring 1 asterisk per line on the phone. This way I can simply dial the appropriate asterisk using the accountSlot param in digium.phone.dial.

thanks

wallnut
wallnutmonkeys
Newsterisk
 
Posts: 28
Joined: Thu Feb 10, 2011 9:52 pm

Re: changing SIP config programatically

Postby malcolmd » Wed Jul 17, 2013 7:06 am

Thanks :)

I've recorded your request and your interest.

Cheers
Malcolm Davenport
Digium, Inc. | Senior Product Manager
malcolmd
Moves Like Spencer
 
Posts: 3019
Joined: Wed Aug 03, 2005 3:53 pm
Location: Huntsville, AL, US


Return to Digium Phone API

Who is online

Users browsing this forum: No registered users and 1 guest

cron