Koozali.org: home of the SME Server

Strange custom app

Offline madadam

  • *
  • 149
  • +0/-0
    • http://www.extremetourist.com
Strange custom app
« 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
...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Strange custom app
« Reply #1 on: January 03, 2011, 02:43:32 PM »

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

Kind Regards

S

Offline madadam

  • *
  • 149
  • +0/-0
    • http://www.extremetourist.com
Re: Strange custom app
« Reply #2 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
...

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Strange custom app
« Reply #3 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

Offline madadam

  • *
  • 149
  • +0/-0
    • http://www.extremetourist.com
Re: Strange custom app
« Reply #4 on: January 04, 2011, 01:57:47 AM »
Cheers!
...