Koozali.org: home of the SME Server

Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: madadam on January 03, 2011, 04:24:43 AM

Title: Strange custom app
Post by: madadam on January 03, 2011, 04:24:43 AM
Hi all,

Was looking through the Custom Apps pane on my SME/SAIL system and found a strange custom app that I didn't write and one that I don't remember seeing before called Spitfire_sip described as "Spitfire SIP Headers"

The custom app contains the following commands:
Code: [Select]
exten => s,1,Goto(mainmenu,${CUT(CUT(SIP_HEADER(To),@,1),:,2)},1)
I'm running SAIL 2.6.1-8

Anyone have any ideas?

Cheers,

Adam
Title: Re: Strange custom app
Post by: SARK devs on January 03, 2011, 02:43:32 PM

It was written by us.
Its part of the standard install pack.

Kind Regards

S
Title: Re: Strange custom app
Post by: madadam on January 03, 2011, 04:39:51 PM
Thanks for the tip. Glad it's legit! What does it do exactly? I can't read it.

Adam
Title: Re: Strange custom app
Post by: SARK devs on January 03, 2011, 04:52:32 PM
Some VoIP carriers send the DiD in the SIP header.  The app copies it out of the header and gives it to SAIL as if it were in ${EXTEN}.

Kind Regards

S
Title: Re: Strange custom app
Post by: madadam on January 04, 2011, 01:57:47 AM
Cheers!