Useless , the dialplan was changed like this:
<include>
<extension name="1001_trans">
<condition field="destination_number" expression="^1001$">
<action application="bridge"
data="sofia/profile/1001123${regex(${sofia_contact(
1...@${domain})}|^...@]+(.*)|%1)}"/>
</condition>
</extension>
</include>
but when 1003 call 1001 ,the request is still "Request-Line: INVITE
sip:[email protected] <sip%[email protected]> SIP/2.0"
Dialplan: sofia/internal/[email protected] parsing
[default->transfer_to_516003] continue=false
Dialplan: sofia/internal/[email protected] Regex (FAIL)
[transfer_to_516003] destination_number(1001) =~ /^516001$/ break=on-false
Dialplan: sofia/internal/[email protected] parsing
[default->transfer_to_516003] continue=false
Dialplan: sofia/internal/[email protected] Regex (FAIL)
[transfer_to_516003] destination_number(1001) =~ /^516002$/ break=on-false
Dialplan: sofia/internal/[email protected] parsing
[default->skype_to_1001] continue=false
Dialplan: sofia/internal/[email protected] Regex (PASS) [skype_to_1001]
destination_number(1001) =~ /^1001$/ break=on-false
Dialplan: sofia/internal/[email protected] Action
bridge(sofia/profile/1001123${regex(${sofia_contact(
1...@${domain})}|^...@]+(.*)|%1)})
2009-07-07 10:38:46 [DEBUG] switch_core_state_machine.c:114
switch_core_standard_on_routing() (sofia/internal/[email protected])
State Change CS_ROUTING -> CS_EXECUTE
2009-07-07 10:38:46 [DEBUG] switch_core_session.c:933
switch_core_session_signal_state_change() Send signal
sofia/internal/[email protected] [BREAK]
2009-07-07 10:38:46 [DEBUG] switch_core_state_machine.c:483
switch_core_session_run() (sofia/internal/[email protected]) State
ROUTING going to sleep
2009-07-07 10:38:46 [DEBUG] switch_core_state_machine.c:397
switch_core_session_run() (sofia/internal/[email protected]) Running
State Change CS_EXECUTE
2009-07-07 10:38:46 [DEBUG] switch_core_state_machine.c:490
switch_core_session_run() (sofia/internal/[email protected]) State
EXECUTE
2009-07-07 10:38:46 [DEBUG] mod_sofia.c:173 sofia_on_execute()
sofia/internal/[email protected] SOFIA EXECUTE
2009-07-07 10:38:46 [DEBUG] switch_core_state_machine.c:151
switch_core_standard_on_execute()
sofia/internal/[email protected] EXECUTE
EXECUTE sofia/internal/[email protected] bridge(
sofia/profile/[email protected]:29084;rinstance=b4a8ae8884b9ed6b)
2009-07-07 10:38:46 [ERR] mod_sofia.c:2681 sofia_outgoing_channel() Invalid
Profile
FS return it is a Invalid Profile....Why??
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org