[Freeswitch-users] Direct inward dialling
Anthony Minessale
anthony.minessale at gmail.com
Wed Nov 12 13:35:45 PST 2008
route the call to the "info" app and look for the one that has it.
On Wed, Nov 12, 2008 at 1:36 PM, Peter P GMX <Prometheus001 at gmx.net> wrote:
> 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
>
>
>
>
>
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081112/acbf8e26/attachment-0002.html
More information about the FreeSWITCH-users
mailing list