[Freeswitch-users] Routing calls based on 'Referred-By'

Matt Darnell mattdarnell at gmail.com
Wed Jul 16 19:04:15 PDT 2008


Aloha,

I receive this snipped packet:

   INVITE sip:4479139 at 64.75.xxx.xxx:5060;transport=udp SIP/2.0
   To: <sip:4479139 at meta.xxx.com>
   Referred-By: <sip:4473452 at meta.xxx.com>
   Diversion: <sip:4473452 at meta.xxx.com>;reason=no-answer

I would like the dial plan to route based on the number in the
Refered-By or Diversion field.

I have 10 DID's from a carrier and when the forward to me, they all
have the same number in the invite, they say I should be able to route
based on the Diversion field.

Is there a way to get the data in the dial plan?

Thanks for your help,
Matt




More information about the FreeSWITCH-users mailing list