VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
Prometheus001 at gmx.net Guest
|
Posted: Wed Nov 12, 2008 2:38 pm Post subject: [Freeswitch-users] Direct inward dialling |
|
|
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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Wed Nov 12, 2008 4:39 pm Post subject: [Freeswitch-users] Direct inward dialling |
|
|
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@gmx.net (Prometheus001@gmx.net)> wrote:
--
Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
AIM: anthm
MSN:anthony_minessale@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Thu Nov 13, 2008 4:45 am Post subject: [Freeswitch-users] Direct inward dialling |
|
|
I checked your hint. The variable sip_to_user has the right value - but
it is evaluated as empty at the time it is parsed.
Info gives me:
.
.
variable_sip_to_user: [xxxxxxxxx8910]
variable_sip_to_uri: [xxxxxxxxx8910@my.ip.addre.ss]
Example1,:
I check with condition field="destination_number"
Match Result
2008-11-13 10:24:55 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[Inbound QSC trunk] destination_number(xxxxxxxxx89) =~ /^(xxxxxxxxx89)$/
This works but gives only the DID of the trunk (10 is missing at the end).
Example2:
I check with condition field="sip_to_user"
Match Result
2008-11-13 10:30:42 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[Inbound QSC trunk] sip_to_user() =~ /^(xxxxxxxxx89[0-9.])$/
2008-11-13 10:30:42 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
sip_to_user() is empty
Example3:
I check with condition field="variable_sip_to_user"
Match Result
2008-11-13 10:39:53 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[Inbound QSC trunk] variable_sip_to_user() =~ /^(xxxxxxxxx89[0-9.])$/
2008-11-13 10:39:53 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
variable_sip_to_user() is empty
So at the time of evaluation "sip_to_user" resp. "variable_sip_to_user"
is empty.
What can I do?
Best regards
Peter
Anthony Minessale schrieb:
Quote: | 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@gmx.net
<mailto:Prometheus001@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@lists.freeswitch.org
<mailto:Freeswitch-users@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@hotmail.com
<mailto:MSN%3Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
<mailto:PAYPAL%3Aanthony.minessale@gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
<mailto:sip%3A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888
<http://iax:guest@conference.freeswitch.org/888>
googletalk:conf+888@conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888@conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Thu Nov 13, 2008 9:22 am Post subject: [Freeswitch-users] Direct inward dialling |
|
|
here's another hint.
use field="${sip_to_user}"
On Thu, Nov 13, 2008 at 3:43 AM, Peter P GMX <Prometheus001@gmx.net (Prometheus001@gmx.net)> wrote:
Quote: | I checked your hint. The variable sip_to_user has the right value - but
it is evaluated as empty at the time it is parsed.
Info gives me:
.
.
variable_sip_to_user: [xxxxxxxxx8910]
variable_sip_to_uri: [xxxxxxxxx8910@my.ip.addre.ss]
Example1,:
I check with condition field="destination_number"
Match Result
2008-11-13 10:24:55 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[Inbound QSC trunk] destination_number(xxxxxxxxx89) =~ /^(xxxxxxxxx89)$/
This works but gives only the DID of the trunk (10 is missing at the end).
Example2:
I check with condition field="sip_to_user"
Match Result
2008-11-13 10:30:42 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[Inbound QSC trunk] sip_to_user() =~ /^(xxxxxxxxx89[0-9.])$/
2008-11-13 10:30:42 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
sip_to_user() is empty
Example3:
I check with condition field="variable_sip_to_user"
Match Result
2008-11-13 10:39:53 [DEBUG] mod_dialplan_xml.c:117 parse_exten() Regex:
[Inbound QSC trunk] variable_sip_to_user() =~ /^(xxxxxxxxx89[0-9.])$/
2008-11-13 10:39:53 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
variable_sip_to_user() is empty
So at the time of evaluation "sip_to_user" resp. "variable_sip_to_user"
is empty.
What can I do?
Best regards
Peter
Anthony Minessale schrieb:
Quote: | 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@gmx.net (Prometheus001@gmx.net)
<mailto:Prometheus001@gmx.net (Prometheus001@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@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
<mailto:Freeswitch-users@lists.freeswitch.org (Freeswitch-users@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@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
<mailto:MSN%3Aanthony_minessale@hotmail.com ([email]MSN%253Aanthony_minessale@hotmail.com[/email])>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
<mailto:PAYPAL%3Aanthony.minessale@gmail.com ([email]PAYPAL%253Aanthony.minessale@gmail.com[/email])>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
<mailto:sip%3A888@conference.freeswitch.org ([email]sip%253A888@conference.freeswitch.org[/email])>
iax:guest@conference.freeswitch.org/888
<http://iax:guest@conference.freeswitch.org/888>
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
<mailto:googletalk%3Aconf%2B888@conference.freeswitch.org ([email]googletalk%253Aconf%252B888@conference.freeswitch.org[/email])>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@lists.freeswitch.org)
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (Freeswitch-users@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@hotmail.com ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
Prometheus001 at gmx.net Guest
|
Posted: Thu Nov 13, 2008 9:59 am Post subject: [Freeswitch-users] Direct inward dialling |
|
|
Thanks,
this works
Best regards
Peter
Anthony Minessale schrieb:
Quote: | here's another hint.
use field="${sip_to_user}"
On Thu, Nov 13, 2008 at 3:43 AM, Peter P GMX <Prometheus001@gmx.net
<mailto:Prometheus001@gmx.net>> wrote:
I checked your hint. The variable sip_to_user has the right value
- but
it is evaluated as empty at the time it is parsed.
Info gives me:
.
.
variable_sip_to_user: [xxxxxxxxx8910]
variable_sip_to_uri: [xxxxxxxxx8910@my.ip.addre.ss]
Example1,:
I check with condition field="destination_number"
Match Result
2008-11-13 10:24:55 [DEBUG] mod_dialplan_xml.c:117 parse_exten()
Regex:
[Inbound QSC trunk] destination_number(xxxxxxxxx89) =~
/^(xxxxxxxxx89)$/
This works but gives only the DID of the trunk (10 is missing at
the end).
Example2:
I check with condition field="sip_to_user"
Match Result
2008-11-13 10:30:42 [DEBUG] mod_dialplan_xml.c:117 parse_exten()
Regex:
[Inbound QSC trunk] sip_to_user() =~ /^(xxxxxxxxx89[0-9.])$/
2008-11-13 10:30:42 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
sip_to_user() is empty
Example3:
I check with condition field="variable_sip_to_user"
Match Result
2008-11-13 10:39:53 [DEBUG] mod_dialplan_xml.c:117 parse_exten()
Regex:
[Inbound QSC trunk] variable_sip_to_user() =~ /^(xxxxxxxxx89[0-9.])$/
2008-11-13 10:39:53 [DEBUG] mod_dialplan_xml.c:119 parse_exten() Regex
mismatch
variable_sip_to_user() is empty
So at the time of evaluation "sip_to_user" resp.
"variable_sip_to_user"
is empty.
What can I do?
Best regards
Peter
Anthony Minessale schrieb:
Quote: | 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@gmx.net <mailto:Prometheus001@gmx.net>
Quote: | <mailto:Prometheus001@gmx.net <mailto:Prometheus001@gmx.net>>>
| wrote:
Quote: |
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
Quote: | this compares to the number of the trunk 0xxxxx9, so I do
| not get the
Quote: | 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
Quote: | success. They are all empty.
Any idea which variable to parse?
Best regards
Peter
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
| <mailto:Freeswitch-users@lists.freeswitch.org>
Quote: | <mailto:Freeswitch-users@lists.freeswitch.org
| <mailto:Freeswitch-users@lists.freeswitch.org>>
Quote: | http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
| UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
<mailto:MSN%3Aanthony_minessale@hotmail.com>
Quote: | <mailto:MSN%3Aanthony_minessale@hotmail.com
| <mailto:MSN%253Aanthony_minessale@hotmail.com>>
Quote: | GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
| <mailto:PAYPAL%3Aanthony.minessale@gmail.com>
Quote: | <mailto:PAYPAL%3Aanthony.minessale@gmail.com
| <mailto:PAYPAL%253Aanthony.minessale@gmail.com>>
Quote: | IRC: irc.freenode.net <http://irc.freenode.net>
| <http://irc.freenode.net> #freeswitch
Quote: |
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
| <mailto:sip%3A888@conference.freeswitch.org>
Quote: | <mailto:sip%3A888@conference.freeswitch.org
| <mailto:sip%253A888@conference.freeswitch.org>>
Quote: | iax:guest@conference.freeswitch.org/888
| <http://iax:guest@conference.freeswitch.org/888>
Quote: | <http://iax:guest@conference.freeswitch.org/888>
googletalk:conf+888@conference.freeswitch.org
| <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org>
Quote: | <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org
| <mailto:googletalk%253Aconf%252B888@conference.freeswitch.org>>
------------------------------------------------------------------------
<mailto:Freeswitch-users@lists.freeswitch.org>
Quote: | http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
| UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
Quote: | http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
<mailto:Freeswitch-users@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@hotmail.com
<mailto:MSN%3Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
<mailto:PAYPAL%3Aanthony.minessale@gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
<mailto:sip%3A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888
<http://iax:guest@conference.freeswitch.org/888>
googletalk:conf+888@conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888@conference.freeswitch.org>
pstn:213-799-1400
------------------------------------------------------------------------
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
|
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|