Were you able to get this working? If not, get a console debug log with a siptrace and drop it on pastebin.freeswitch.org. Be sure to use "FreeSWITCH Log" as the syntax highlighting.
at fs_cli you need to do:
console loglevel debugsofia global siptrace on
That will turn on all the debug stuff you need. From there make the call attempt and capture the output, then drop on pastebin. Give us the pb URL in this thread.
Thanks,MC
On Tue, Sep 20, 2011 at 9:34 AM, Chad Vogel <cvogel@lyonl.com> wrote:
Hello, I'm trying to make the move from Asterix, but I'm running into some difficulties. I'm try to bridge a call using our gateway however it doesn't work. In wireshark I can see I'm getting an SIP 401 Unauthorized error with a WWW-Authenticate header, after FS send the INVITE message to the gateway. However FS doesnt seem to respond to the request for Authentication. Asterix responds correctly however I cant seem to make FS to do the same. Any help would be appreciated
INVITE sip:+15618911806@4.55.35.60:5070 SIP/2.0Via: SIP/2.0/UDP 207.67.30.226;rport;branch=z9hG4bKB49SZQHrgaaKcMax-Forwards: 8From: "LyonL" <sip:+14142211800@207.67.30.226:5060>;tag=eZe8gcQgXXv5cCall-ID: 4f8edae0-5e45-122f-6399-07d4dbeff43fCSeq: 17931324 INVITEUser-Agent: FreeSWITCHAllow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, REGISTER, REFER, NOTIFYSupported: timer, precondition, path, replacesAllow-Events: talk, hold, referContent-Type: application/sdpContent-Disposition: sessionContent-Length: 227X-FS-Support: update_displayRemote-Party-ID: "LyonL" <sip:+14142211800@207.67.30.226:5060>;party=calling;screen=yes;privacy=off
v=0o=FreeSWITCH 1316516832 1316516833 IN IP4 10.126.200.6s=FreeSWITCHc=IN IP4 10.126.200.6t=0 0m=audio 17944 RTP/AVP 0 8 18 101 13a=fmtp:18 annexb=noa=rtpmap:101 telephone-event/8000a=fmtp:101 0-16a=ptime:20
SIP/2.0 401 UnauthorizedVia: SIP/2.0/UDP 207.67.30.226;received=207.67.30.226;branch=z9hG4bKB49SZQHrgaaKc;rport=42534From: "LyonL" <sip:+14142211800@207.67.30.226:5060>;tag=eZe8gcQgXXv5cTo: <sip:+15618911806@4.55.35.60:5070>;tag=SD6soqf99-1367649635-1316534779161Call-ID: 4f8edae0-5e45-122f-6399-07d4dbeff43fCSeq: 17931324 INVITEWWW-Authenticate: DIGEST qop="auth",nonce="BroadWorksXgst2td09Tbihi2qBW",algorithm=MD5,realm="BroadWorks"Content-Length: 0
<include><action application="set" data="effective_caller_id_name=LyonL"/></condition></extension></include>
<include><gateway name="level3"><param name="apply-inbound-acl" value="level3"/><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></include>
<profile name="external"><!-- This profile is only for outbound registrations to providers --><gateways><X-PRE-PROCESS cmd="include" data="external/*.xml"/></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="sip-port" value="$${external_sip_port}"/><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"/>
<!-- 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="generous"/><param name="nonce-ttl" value="60"/><param name="auth-calls" value="false"/><!--<param name="challenge-realm" value="auto_from"/>--><param name="user-agent-string" value="FreeSWITCH"/><!--DO NOT USE HOSTNAMES, ONLY IP ADDRESSES IN THESE SETTINGS!--><param name="rtp-ip" value="$${local_ip_v4}"/><param name="sip-ip" value="$${local_ip_v4}"/><param name="ext-rtp-ip" value="auto-nat"/><param name="ext-sip-ip" value="$${external_sip_ip}"/><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>
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