[Freeswitch-users] How to modify my INVITE msg??
Brad Tuan
brad.tuan at gmail.com
Mon Jul 6 19:48:04 PDT 2009
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(
1001@${domain})}|^[^\@]+(.*)|%1)}"/>
</condition>
</extension>
</include>
but when 1003 call 1001 ,the request is still "Request-Line: INVITE
sip:1001 at 192.168.141.182 <sip%3A1001 at 192.168.141.182> SIP/2.0"
Dialplan: sofia/internal/1003 at 192.168.141.182 parsing
[default->transfer_to_516003] continue=false
Dialplan: sofia/internal/1003 at 192.168.141.182 Regex (FAIL)
[transfer_to_516003] destination_number(1001) =~ /^516001$/ break=on-false
Dialplan: sofia/internal/1003 at 192.168.141.182 parsing
[default->transfer_to_516003] continue=false
Dialplan: sofia/internal/1003 at 192.168.141.182 Regex (FAIL)
[transfer_to_516003] destination_number(1001) =~ /^516002$/ break=on-false
Dialplan: sofia/internal/1003 at 192.168.141.182 parsing
[default->skype_to_1001] continue=false
Dialplan: sofia/internal/1003 at 192.168.141.182 Regex (PASS) [skype_to_1001]
destination_number(1001) =~ /^1001$/ break=on-false
Dialplan: sofia/internal/1003 at 192.168.141.182 Action
bridge(sofia/profile/1001123${regex(${sofia_contact(
1001@${domain})}|^[^\@]+(.*)|%1)})
2009-07-07 10:38:46 [DEBUG] switch_core_state_machine.c:114
switch_core_standard_on_routing() (sofia/internal/1003 at 192.168.141.182)
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/1003 at 192.168.141.182 [BREAK]
2009-07-07 10:38:46 [DEBUG] switch_core_state_machine.c:483
switch_core_session_run() (sofia/internal/1003 at 192.168.141.182) State
ROUTING going to sleep
2009-07-07 10:38:46 [DEBUG] switch_core_state_machine.c:397
switch_core_session_run() (sofia/internal/1003 at 192.168.141.182) Running
State Change CS_EXECUTE
2009-07-07 10:38:46 [DEBUG] switch_core_state_machine.c:490
switch_core_session_run() (sofia/internal/1003 at 192.168.141.182) State
EXECUTE
2009-07-07 10:38:46 [DEBUG] mod_sofia.c:173 sofia_on_execute()
sofia/internal/1003 at 192.168.141.182 SOFIA EXECUTE
2009-07-07 10:38:46 [DEBUG] switch_core_state_machine.c:151
switch_core_standard_on_execute()
sofia/internal/1003 at 192.168.141.182Standard EXECUTE
EXECUTE sofia/internal/1003 at 192.168.141.182 bridge(
sofia/profile/1001123 at 192.168.141.182: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??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090707/8775fcaf/attachment-0002.html
More information about the FreeSWITCH-users
mailing list