2011-09-19 14:54:20.601492 [NOTICE] switch_channel.c:908 Ne
e3da7c]
2011-09-19 14:54:20.601492 [DEBUG] sofia.c:5156 Channel sofia/external/+15618911
2011-09-19 14:54:20.601492 [DEBUG] sofia.c:5167 Remote SDP:
v=0
o=BroadWorks 4208062 1 IN IP4 4.55.35.60
s=-
c=IN IP4 4.55.35.60
t=0 0
m=audio 49972 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=maxptime:20
2011-09-19 14:54:20.601492 [DEBUG] sofia_glue.c:4739 Audio Codec Compare [PCMU:0
:8000:20:64000]/[PCMU:0:8000:20:64000]
2011-09-19 14:54:20.601492 [DEBUG] sofia_glue.c:2857 Set Codec sofia/external/+1
2011-09-19 14:54:20.601492 [DEBUG] sofia_glue.c:4859 Set 2833 dtmf send/recv pay
load to 101
2011-09-19 14:54:20.601492 [DEBUG] sofia.c:5357 (sofia/external/+15618911806@4.5
5.35.60) State Change CS_NEW -> CS_INIT
2011-09-19 14:54:20.601492 [DEBUG] switch_core_session.c:1175 Send signal sofia/
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:336 (sofia/extern
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:375 (sofia/extern
2011-09-19 14:54:20.601492 [DEBUG] mod_sofia.c:85 sofia/external/+15618911806@4.
55.35.60 SOFIA INIT
2011-09-19 14:54:20.601492 [DEBUG] mod_sofia.c:125 (sofia/external/+15618911806@
4.55.35.60) State Change CS_INIT -> CS_ROUTING
2011-09-19 14:54:20.601492 [DEBUG] switch_core_session.c:1175 Send signal sofia/
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:375 (sofia/extern
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:336 (sofia/extern
2011-09-19 14:54:20.601492 [DEBUG] switch_channel.c:1837 (sofia/external/+156189
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:384 (sofia/extern
2011-09-19 14:54:20.601492 [DEBUG] mod_sofia.c:148 sofia/external/+15618911806@4
.55.35.60 SOFIA ROUTING
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:78 sofia/external
/+15618911806@4.55.35.60 Standard ROUTING
2011-09-19 14:54:20.601492 [INFO] mod_dialplan_xml.c:336 Processing +15618911806
<+15618911806>->+14142211800 in context public
ue=false
loops}(true) =~ /^true$/ break=on-false
ped_call}() =~ /^true$/ break=on-false
continue=true
l]
ime(%a, %d %b %Y %T %z)})
ntinue=true
l_debug}(false) =~ /^true$/ break=never
ons] continue=false
] destination_number(+14142211800) =~ /^(10[01][0-9])$/ break=on-false
ntinue=false
nation_number(+14142211800) =~ /^(\+?1)?(4142211800)$/ break=on-false
el3/+15618911806)
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:128 (sofia/extern
2011-09-19 14:54:20.601492 [DEBUG] switch_core_session.c:1175 Send signal sofia/
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:384 (sofia/extern
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:336 (sofia/extern
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:391 (sofia/extern
2011-09-19 14:54:20.601492 [DEBUG] mod_sofia.c:241 sofia/external/+15618911806@4
.55.35.60 SOFIA EXECUTE
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:166 sofia/externa
2011-09-19 14:54:20.601492 [DEBUG] mod_dptools.c:1167 sofia/external/+1561891180
14:54:20 Coordinated Universal Time)
2011-09-19 14:54:20.601492 [DEBUG] mod_dptools.c:1167 sofia/external/+1561891180
6@4.55.35.60 SET [RFC2822_DATE]=[Mon, 19 Sep 2011 14:54:20 Coordinated Universal
Time]
8911806)
2011-09-19 14:54:20.601492 [DEBUG] switch_ivr_originate.c:1873 Parsing global va
riables
2011-09-19 14:54:20.601492 [NOTICE] switch_channel.c:908 New Channel sofia/exter
nal/+15618911806 [1278470d-f578-4200-9892-be93025bdd62]
2011-09-19 14:54:20.601492 [DEBUG] mod_sofia.c:4491 (sofia/external/+15618911806
) State Change CS_NEW -> CS_INIT
2011-09-19 14:54:20.601492 [DEBUG] switch_core_session.c:1175 Send signal sofia/
external/+15618911806 [BREAK]
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:336 (sofia/extern
al/+15618911806) Running State Change CS_INIT
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:375 (sofia/extern
al/+15618911806) State INIT
2011-09-19 14:54:20.601492 [DEBUG] mod_sofia.c:85 sofia/external/+15618911806 SO
FIA INIT
2011-09-19 14:54:20.601492 [DEBUG] switch_core_session.c:870 Send signal sofia/e
xternal/+15618911806 [BREAK]
2011-09-19 14:54:20.601492 [DEBUG] mod_sofia.c:125 (sofia/external/+15618911806)
State Change CS_INIT -> CS_ROUTING
2011-09-19 14:54:20.601492 [DEBUG] switch_core_session.c:1175 Send signal sofia/
external/+15618911806 [BREAK]
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:375 (sofia/extern
al/+15618911806) State INIT going to sleep
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:336 (sofia/extern
al/+15618911806) Running State Change CS_ROUTING
2011-09-19 14:54:20.601492 [DEBUG] switch_channel.c:1837 (sofia/external/+156189
11806) Callstate Change DOWN -> RINGING
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:384 (sofia/extern
al/+15618911806) State ROUTING
2011-09-19 14:54:20.601492 [DEBUG] mod_sofia.c:148 sofia/external/+15618911806 S
OFIA ROUTING
2011-09-19 14:54:20.601492 [DEBUG] switch_ivr_originate.c:66 (sofia/external/+15
618911806) State Change CS_ROUTING -> CS_CONSUME_MEDIA
2011-09-19 14:54:20.601492 [DEBUG] switch_core_session.c:1175 Send signal sofia/
external/+15618911806 [BREAK]
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:384 (sofia/extern
al/+15618911806) State ROUTING going to sleep
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:336 (sofia/extern
al/+15618911806) Running State Change CS_CONSUME_MEDIA
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:403 (sofia/extern
al/+15618911806) State CONSUME_MEDIA
2011-09-19 14:54:20.601492 [DEBUG] switch_core_state_machine.c:403 (sofia/extern
al/+15618911806) State CONSUME_MEDIA going to sleep
2011-09-19 14:54:20.601492 [DEBUG] sofia.c:5156 Channel sofia/external/+15618911
806 entering state [calling][0]
2011-09-19 14:54:23.187429 [DEBUG] switch_core_session.c:870 Send signal sofia/e
2011-09-19 14:54:23.187429 [DEBUG] switch_core_session.c:870 Send signal sofia/e
2011-09-19 14:54:23.187429 [DEBUG] switch_core_session.c:870 Send signal sofia/e
2011-09-19 14:54:23.207937 [DEBUG] sofia.c:5156 Channel sofia/external/+15618911
2011-09-19 14:54:23.207937 [DEBUG] switch_channel.c:2797 (sofia/external/+156189
2011-09-19 14:54:23.207937 [NOTICE] sofia.c:5881 Hangup sofia/external/+15618911
2011-09-19 14:54:23.207937 [DEBUG] switch_channel.c:2813 Send signal sofia/exter
2011-09-19 14:54:23.207937 [DEBUG] switch_core_session.c:1175 Send signal sofia/
2011-09-19 14:54:23.207937 [DEBUG] switch_channel.c:2797 (sofia/external/+156189
11806) Callstate Change RINGING -> HANGUP
2011-09-19 14:54:23.207937 [NOTICE] switch_ivr_originate.c:3156 Hangup sofia/ext
ernal/+15618911806 [CS_CONSUME_MEDIA] [ORIGINATOR_CANCEL]
2011-09-19 14:54:23.207937 [DEBUG] switch_channel.c:2813 Send signal sofia/exter
nal/+15618911806 [KILL]
2011-09-19 14:54:23.207937 [DEBUG] switch_core_session.c:1175 Send signal sofia/
external/+15618911806 [BREAK]
2011-09-19 14:54:23.207937 [DEBUG] switch_ivr_originate.c:3331 Originate Cancell
ed by originator termination Cause: 487 [ORIGINATOR_CANCEL]
2011-09-19 14:54:23.207937 [INFO] mod_dptools.c:2801 Originate Failed. Cause: O
RIGINATOR_CANCEL
2011-09-19 14:54:23.207937 [DEBUG] switch_core_session.c:2209 sofia/external/+15
s hungup already)
2011-09-19 14:54:23.207937 [DEBUG] switch_core_state_machine.c:391 (sofia/extern
2011-09-19 14:54:23.207937 [DEBUG] switch_core_state_machine.c:336 (sofia/extern
2011-09-19 14:54:23.207937 [DEBUG] switch_core_state_machine.c:576 (sofia/extern
2011-09-19 14:54:23.207937 [DEBUG] mod_sofia.c:452 sofia/external/+15618911806@4
.55.35.60 Overriding SIP cause 487 with 487 from the other leg
2011-09-19 14:54:23.207937 [DEBUG] mod_sofia.c:458 Channel sofia/external/+15618
2011-09-19 14:54:23.207937 [DEBUG] switch_core_state_machine.c:46 sofia/external
/+15618911806@4.55.35.60 Standard HANGUP, cause: ORIGINATOR_CANCEL
2011-09-19 14:54:23.207937 [DEBUG] switch_core_state_machine.c:576 (sofia/extern
2011-09-19 14:54:23.207937 [DEBUG] switch_core_state_machine.c:367 (sofia/extern
2011-09-19 14:54:23.207937 [DEBUG] switch_core_session.c:1175 Send signal sofia/
2011-09-19 14:54:23.207937 [DEBUG] switch_core_state_machine.c:336 (sofia/extern
2011-09-19 14:54:23.207937 [DEBUG] switch_core_state_machine.c:636 (sofia/extern
2011-09-19 14:54:23.207937 [DEBUG] switch_core_state_machine.c:53 sofia/external
/+15618911806@4.55.35.60 Standard REPORTING, cause: ORIGINATOR_CANCEL
2011-09-19 14:54:23.207937 [DEBUG] switch_core_state_machine.c:636 (sofia/extern
2011-09-19 14:54:23.207937 [DEBUG] switch_core_state_machine.c:361 (sofia/extern
2011-09-19 14:54:23.207937 [DEBUG] switch_core_session.c:1175 Send signal sofia/
2011-09-19 14:54:23.207937 [DEBUG] switch_core_session.c:1349 Session 12 (sofia/
2011-09-19 14:54:23.207937 [NOTICE] switch_core_session.c:1367 Session 12 (sofia
/external/+15618911806@4.55.35.60) Ended
2011-09-19 14:54:23.207937 [NOTICE] switch_core_session.c:1369 Close Channel sof
On Sep 19, 2011, at 1:58 AM, Avi Marcus wrote:
That means the person calling hung up. If you don't think that's the case, can you pastebin a full call log on /log 7 from the fs_cli?
-Avi
On Mon, Sep 19, 2011 at 9:40 AM, Chad Vogel
<cvogel@lyonl.com> wrote:
it seems to almost work, but call forwarding doesnt work, I get this error: "[INFO] mod_dptools.c:2801 Originate Failed. Cause: ORIGINATOR_CANCEL"
<include>
<
condition field=
"destination_number
"
expression=
"^(\+?1)?
(4142211800)$
">
<
action application=
"bridge
"
data=
"sofia/gateway/level3/
+15618911806"/>
</condition>
</extension>
<condition field="destination_number"
expression="^(\+?1)?(\d{10})$">
<action application="answer"/>
<action application="set"
data="playback_terminators=#"/>
<action application="playback"
data="C:\Program Files\FreeSWITCH\sounds\music\48000\danza-espanola-op-37-h-142-xii-arabesca.wav"/>
</condition>
</extension>
</include>
Our gateway config (i did replace the username's and passwords):
<gateway name="level3">
<param
name="username"
value="username"/>
<param name="password"
value="password"/>
<param name="expire-seconds"
value="3600"/>
<param name="register-transport"
value="udp"/>
<param name="register"
value="false"/>
<param name="dtmf-type"
value="rfc2833"/>
</gateway>>
</include>
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