Snag a console debug log along with the SIP trace and drop it into pastebin.freeswitch.org. Be sure to use "FreeSWITCH Log" as the syntax highlighting. Put the URL to that pb in this thread and the gang will take a look.
Hello,
I'm having a problem bridging out calls, FS is sending 500 Internal Server Error to our gateway. Any thoughts why this is?
<include><context name="public"><extension name="unloop"><condition field="${unroll_loops}" expression="^true$"/><condition field="${sip_looped_call}" expression="^true$"><action application="deflect" data="${destination_number}"/></condition></extension><extension name="outside_call" continue="true"><condition><action application="set" data="outside_call=true"/><action application="set" data="RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}"/></condition></extension>
<extension name="call_debug" continue="true"><condition field="${call_debug}" expression="^true$" break="never"><action application="info"/></condition></extension><action application="set" data="effective_caller_id_name=LyonL"/></condition></extension></context></include>
<profile name="external"><!-- This profile is only for outbound registrations to providers --><gateways><gateway name="L3CN"><param name="username" value="1-F2la9"/><param name="password" value="password"/><param name="realm" value="BroadWorks"/><param name="dtmf-type" value="rfc2833"/><param name="extension-in-contact" value="true"/><param name="caller-id-in-from" value="true"/><param name="register" value="false"/></gateway></gateways>
<aliases><!--<alias name="outbound"/><alias name="nat"/>--></aliases>
<domains><domain name="all" alias="false" parse="true"/></domains>
<settings><param name="debug" value="0"/><!-- If you want FreeSWITCH to shutdown if this profile fails to load, uncomment the next line. --><!-- <param name="shutdown-on-fail" value="true"/> --><param name="sip-trace" value="no"/><param name="sip-capture" value="no"/><param name="rfc2833-pt" value="101"/><param name="dialplan" value="XML"/><param name="context" value="public"/><param name="dtmf-duration" value="2000"/><param name="inbound-codec-prefs" value="$${global_codec_prefs}"/><param name="outbound-codec-prefs" value="$${outbound_codec_prefs}"/><param name="hold-music" value="$${hold_music}"/><param name="rtp-timer-name" value="soft"/><!--<param name="enable-100rel" value="true"/>--><!--<param name="disable-srv503" value="true"/>--><!-- This could be set to "passive" --><param name="local-network-acl" value="localnet.auto"/><param name="manage-presence" value="false"/>
<param name="user-agent-string" value="LyonL"/>
<!-- used to share presence info across sofia profilesmanage-presence needs to be set to passive on this profileif you want it to behave as if it were the internal profilefor presence.--><!-- Name of the db to use for this profile --><!--<param name="dbname" value="share_presence"/>--><!--<param name="presence-hosts" value="$${domain}"/>--><!--<param name="force-register-domain" value="$${domain}"/>--><!--all inbound reg will stored in the db using this domain --><!--<param name="force-register-db-domain" value="$${domain}"/>--><!-- ************************************************* -->
<!--<param name="aggressive-nat-detection" value="true"/>--><param name="inbound-codec-negotiation" value="greedy"/><param name="nonce-ttl" value="60"/><param name="auth-calls" value="false"/><param name="NDLB-force-rport" value="server-only"/><!--DO NOT USE HOSTNAMES, ONLY IP ADDRESSES IN THESE SETTINGS!--><param name="rtp-ip" value="$${external_rtp_ip}"/><param name="sip-ip" value="$${external_sip_ip}"/><param name="ext-rtp-ip" value="$${external_rtp_ip}"/><param name="ext-sip-ip" value="$${external_sip_ip}"/><param name="sip-port" value="$${external_sip_port}"/><param name="rtp-timeout-sec" value="300"/><param name="rtp-hold-timeout-sec" value="1800"/><!--<param name="enable-3pcc" value="true"/>-->
<!-- TLS: disabled by default, set to "true" to enable --><param name="tls" value="$${external_ssl_enable}"/><!-- additional bind parameters for TLS --><param name="tls-bind-params" value="transport=tls"/><!-- Port to listen on for TLS requests. (5081 will be used if unspecified) --><param name="tls-sip-port" value="$${external_tls_port}"/><!-- Location of the agent.pem and cafile.pem ssl certificates (needed for TLS server) --><param name="tls-cert-dir" value="$${external_ssl_dir}"/><!-- TLS version ("sslv23" (default), "tlsv1"). NOTE: Phones may not work with TLSv1 --><param name="tls-version" value="$${sip_tls_version}"/>
</settings></profile>
send 1283 bytes to udp/[4.55.35.60]:5070 at 19:50:28.998153:------------------------------------------------------------------------INVITE sip:+15618911806@4.55.35.60:5070 SIP/2.0Via: SIP/2.0/UDP 69.65.114.181;rport;branch=z9hG4bK62S7Fr2Um459jMax-Forwards: 8From: "LyonL" <sip:+14142211800@69.65.114.181:5060>;tag=K0gUSK5HNr3USCall-ID: 48a9a931-6af7-122f-a3bd-e5fc932e6276CSeq: 18629251 INVITEExpires: 3600User-Agent: LyonLAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, referAuthorization: Digest username="1-F2la9", realm="BroadWorks", nonce="BroadWorksXgtg5vbouT4lpitdBW", cnonce="SKxoW2r3Ei+9o+X8ky5idg", algorithm=MD5, uri="sip:+15618911806@4.55.35.60:5070", response="9f0325808936e22ae050921c176f2730", qop=auth, nc=00000001Content-Type: application/sdpContent-Disposition: sessionContent-Length: 229X-FS-Support: update_displayRemote-Party-ID: "LyonL" <sip:+14142211800@69.65.114.181:5060>;party=calling;screen=yes;privacy=off
v=0o=FreeSWITCH 1317910968 1317910969 IN IP4 69.65.114.181s=FreeSWITCHc=IN IP4 69.65.114.181t=0 0m=audio 19660 RTP/AVP 0 8 18 101 13a=fmtp:18 annexb=noa=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=ptime:20------------------------------------------------------------------------recv 297 bytes from udp/[4.55.35.60]:5070 at 19:50:29.002153:------------------------------------------------------------------------SIP/2.0 100 TryingVia: SIP/2.0/UDP 69.65.114.181;received=69.65.114.181;branch=z9hG4bK62S7Fr2Um459j;rport=5060From: "LyonL" <sip:+14142211800@69.65.114.181:5060>;tag=K0gUSK5HNr3USCall-ID: 48a9a931-6af7-122f-a3bd-e5fc932e6276CSeq: 18629251 INVITE
------------------------------------------------------------------------recv 468 bytes from udp/[4.55.35.60]:5070 at 19:50:29.008153:------------------------------------------------------------------------SIP/2.0 401 UnauthorizedVia: SIP/2.0/UDP 69.65.114.181;received=69.65.114.181;branch=z9hG4bK62S7Fr2Um459j;rport=5060From: "LyonL" <sip:+14142211800@69.65.114.181:5060>;tag=K0gUSK5HNr3USTo: <sip:+15618911806@4.55.35.60:5070>;tag=SDcpmkf99-1282242359-1317930631679
Call-ID: 48a9a931-6af7-122f-a3bd-e5fc932e6276CSeq: 18629251 INVITEWWW-Authenticate: DIGEST qop="auth",nonce="BroadWorksXgtg5vbpbTeh3n5wBW",algorithm=MD5,realm="BroadWorks"Content-Length: 0
------------------------------------------------------------------------send 367 bytes to udp/[4.55.35.60]:5070 at 19:50:29.008153:------------------------------------------------------------------------ACK sip:+15618911806@4.55.35.60:5070 SIP/2.0Via: SIP/2.0/UDP 69.65.114.181;rport;branch=z9hG4bK62S7Fr2Um459jMax-Forwards: 8From: "LyonL" <sip:+14142211800@69.65.114.181:5060>;tag=K0gUSK5HNr3USTo: <sip:+15618911806@4.55.35.60:5070>;tag=SDcpmkf99-1282242359-1317930631679
Call-ID: 48a9a931-6af7-122f-a3bd-e5fc932e6276CSeq: 18629251 ACKContent-Length: 0
------------------------------------------------------------------------2011-10-06 19:50:28.979152 [NOTICE] sofia.c:5897 Hangup sofia/external/+15618911806 [CS_CONSUME_MEDIA] [NORMAL_UNSPECIFIED]2011-10-06 19:50:28.979152 [INFO] mod_dptools.c:2810 Originate Failed. Cause: NORMAL_UNSPECIFIED2011-10-06 19:50:28.979152 [NOTICE] mod_dptools.c:2929 Hangup sofia/external/+15618911806@4.55.35.60 [CS_EXECUTE] [NORMAL_UNSPECIFIED]send 380 bytes to udp/[4.55.35.60]:5070 at 19:50:29.010153:------------------------------------------------------------------------SIP/2.0 500 Internal Server ErrorVia: SIP/2.0/UDP 4.55.35.60:5070;branch=z9hG4bKtil5pp004o3hvjs9n2c1.1From: <sip:+15618911806@4.55.35.60;user=phone>;tag=SDesfje01-1691283656-1317930631601-DCall-ID: SDesfje01-bc0436bf1c3c496f2c13c86f66280e15-v3000i1CSeq: 761577689 INVITEContent-Length: 0
------------------------------------------------------------------------2011-10-06 19:50:28.979152 [NOTICE] switch_core_session.c:1367 Session 19 (sofia/external/+15618911806@4.55.35.60) Ended2011-10-06 19:50:28.979152 [NOTICE] switch_core_session.c:1369 Close Channel sofia/external/+15618911806@4.55.35.60 [CS_DESTROY]2011-10-06 19:50:28.979152 [NOTICE] switch_core_session.c:1367 Session 20 (sofia/external/+15618911806) Ended2011-10-06 19:50:28.979152 [NOTICE] switch_core_session.c:1369 Close Channel sofia/external/+15618911806 [CS_DESTROY]
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