search for: returnsipreg

Displaying 1 result from an estimated 1 matches for "returnsipreg".

2007 Aug 08
2
How to write a function with a return value in Asterisk
Hi, Is it possible to write a function in Asterisk, that returns a value? Sort of like any programming language allows? For example, I`d like function ReturnSipReg to return the right SipRegistration to dial, based on some value so that I could use it in my dial plan: i.e: exten => 1234,1,Dial(SIP/ReturnSipReg(John)) ; would dial John's extension, which I don't know at this point to which Sip Registration it's associated. ReturnSipReg woul...