[Freeswitch-users] Direct inward dialling

Peter P GMX Prometheus001 at gmx.net
Wed Nov 12 11:36:59 PST 2008


Dear all,

when I get an incoming call from my SIP provider I do receive an invite
on the trunk number, e.g. in Germany 0xxxxx9. However I have an
extension block of 0xxxxx90 to 0xxxxx999.
In the dialplan I checked the condition field="destination_number" but
this compares to the number of the trunk 0xxxxx9, so I do not get the
direct inward dialling extensions.

The SIP to-header contains the direct inward dialling number 0xxxxx90 to
0xxxxx999 but I have no success in accessing it in the dialplan.

I tried sip_to_user, sip_to_uri, sip_req_user, sip_req_uri, but no
success. They are all empty.

Any idea which variable to parse?

Best regards
Peter









More information about the FreeSWITCH-users mailing list