Your session time is too short make it longer like 300 secs

Sent from my iPhone

On May 19, 2015, at 6:34 PM, Victor Medina <victor.medina@cibersys.com> wrote:

Hi Michael!

This is the the sip debug on the freeswitch directly jssip -> freeswitch -> 7443

freeswitch@internal> sofia profile internal siptrace on
Enabled sip debugging on internal
recv 5122 bytes from wss/[208.84.81.64]:57975 at 19:31:56.205487:
   ------------------------------------------------------------------------
   INVITE sip:9196@conference.cibersys.com SIP/2.0
   Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537
   Max-Forwards: 69
   To: <sip:9196@conference.cibersys.com>
   From: <sip:1000@conference.cibersys.com>;tag=i26sin3126
   Call-ID: di8dteiqmu6ofrf75pbd
   CSeq: 6473 INVITE
   X-Can-Renegotiate: true
   Contact: <sip:e3e4td20@7rrpouob7plu.invalid;transport=ws;ob>
   Content-Type: application/sdp
   Session-Expires: 90
   Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS
   Supported: timer,ice,outbound
   User-Agent: JsSIP 0.6.26
   Content-Length: 4574

   v=0
   o=- 3581044066039556708 2 IN IP4 127.0.0.1
   s=-
   t=0 0
   a=group:BUNDLE audio video
   a=msid-semantic: WMS iTaMd7UVZzDvEsx9dBzv4DvSRoA6A6uwAIAD
   m=audio 55125 RTP/SAVPF 111 103 104 9 0 8 106 105 13 126
   c=IN IP4 208.84.81.64
   a=rtcp:55125 IN IP4 208.84.81.64
   a=candidate:1505006532 1 udp 2122255103 2001::9d38:90d7:10d8:3345:2fab:aebf 55123 typ host generation 0
   a=candidate:1505006532 2 udp 2122255103 2001::9d38:90d7:10d8:3345:2fab:aebf 55123 typ host generation 0
   a=candidate:2999745851 1 udp 2122194687 192.168.56.1 55124 typ host generation 0
   a=candidate:2999745851 2 udp 2122194687 192.168.56.1 55124 typ host generation 0
   a=candidate:536231733 1 udp 2122129151 10.0.80.221 55125 typ host generation 0
   a=candidate:536231733 2 udp 2122129151 10.0.80.221 55125 typ host generation 0
   a=candidate:389508916 1 tcp 1518275327 2001::9d38:90d7:10d8:3345:2fab:aebf 0 typ host tcptype active generation 0
   a=candidate:389508916 2 tcp 1518275327 2001::9d38:90d7:10d8:3345:2fab:aebf 0 typ host tcptype active generation 0
   a=candidate:4233069003 1 tcp 1518214911 192.168.56.1 0 typ host tcptype active generation 0
   a=candidate:4233069003 2 tcp 1518214911 192.168.56.1 0 typ host tcptype active generation 0
   a=candidate:1366672325 1 tcp 1518149375 10.0.80.221 0 typ host tcptype active generation 0
   a=candidate:1366672325 2 tcp 1518149375 10.0.80.221 0 typ host tcptype active generation 0
   a=candidate:3064574176 1 udp 1685921535 208.84.81.64 55125 typ srflx raddr 10.0.80.221 rport 55125 generation 0
   a=candidate:3064574176 2 udp 1685921535 208.84.81.64 55125 typ srflx raddr 10.0.80.221 rport 55125 generation 0
   a=ice-ufrag:1UvloQ6OnbX0r5t4
   a=ice-pwd:mE9PaCEu/IMEtzv9L8YgDRCh
   a=fingerprint:sha-256 61:AC:51:08:4B:E0:AB:B0:89:7B:18:05:CA:49:B3:71:9B:5A:77:99:07:58:67:A9:3E:0E:72:92:13:F5:1E:F7
   a=setup:actpass
   a=mid:audio
   a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
   a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
   a=sendrecv
   a=rtcp-mux
   a=rtpmap:111 opus/48000/2
   a=fmtp:111 minptime=10; useinbandfec=1
   a=rtpmap:103 ISAC/16000
   a=rtpmap:104 ISAC/32000
   a=rtpmap:9 G722/8000
   a=rtpmap:0 PCMU/8000
   a=rtpmap:8 PCMA/8000
   a=rtpmap:106 CN/32000
   a=rtpmap:105 CN/16000
   a=rtpmap:13 CN/8000
   a=rtpmap:126 telephone-event/8000
   a=maxptime:60
   a=ssrc:691038544 cname:WW2sd3POh47MtjWG
   a=ssrc:691038544 msid:iTaMd7UVZzDvEsx9dBzv4DvSRoA6A6uwAIAD 4cca9568-6c68-48b7-bac4-ed658260a073
   a=ssrc:691038544 mslabel:iTaMd7UVZzDvEsx9dBzv4DvSRoA6A6uwAIAD
   a=ssrc:691038544 label:4cca9568-6c68-48b7-bac4-ed658260a073
   m=video 55125 RTP/SAVPF 100 116 117 96
   c=IN IP4 208.84.81.64
   a=rtcp:55125 IN IP4 208.84.81.64
   a=candidate:1505006532 1 udp 2122255103 2001::9d38:90d7:10d8:3345:2fab:aebf 55123 typ host generation 0
   a=candidate:1505006532 2 udp 2122255103 2001::9d38:90d7:10d8:3345:2fab:aebf 55123 typ host generation 0
   a=candidate:2999745851 1 udp 2122194687 192.168.56.1 55124 typ host generation 0
   a=candidate:2999745851 2 udp 2122194687 192.168.56.1 55124 typ host generation 0
   a=candidate:536231733 1 udp 2122129151 10.0.80.221 55125 typ host generation 0
   a=candidate:536231733 2 udp 2122129151 10.0.80.221 55125 typ host generation 0
   a=candidate:389508916 1 tcp 1518275327 2001::9d38:90d7:10d8:3345:2fab:aebf 0 typ host tcptype active generation 0
   a=candidate:389508916 2 tcp 1518275327 2001::9d38:90d7:10d8:3345:2fab:aebf 0 typ host tcptype active generation 0
   a=candidate:4233069003 1 tcp 1518214911 192.168.56.1 0 typ host tcptype active generation 0
   a=candidate:4233069003 2 tcp 1518214911 192.168.56.1 0 typ host tcptype active generation 0
   a=candidate:1366672325 1 tcp 1518149375 10.0.80.221 0 typ host tcptype active generation 0
   a=candidate:1366672325 2 tcp 1518149375 10.0.80.221 0 typ host tcptype active generation 0
   a=candidate:3064574176 1 udp 1685921535 208.84.81.64 55125 typ srflx raddr 10.0.80.221 rport 55125 generation 0
   a=candidate:3064574176 2 udp 1685921535 208.84.81.64 55125 typ srflx raddr 10.0.80.221 rport 55125 generation 0
   a=ice-ufrag:1UvloQ6OnbX0r5t4
   a=ice-pwd:mE9PaCEu/IMEtzv9L8YgDRCh
   a=fingerprint:sha-256 61:AC:51:08:4B:E0:AB:B0:89:7B:18:05:CA:49:B3:71:9B:5A:77:99:07:58:67:A9:3E:0E:72:92:13:F5:1E:F7
   a=setup:actpass
   a=mid:video
   a=extmap:2 urn:ietf:params:rtp-hdrext:toffset
   a=extmap:3 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
   a=recvonly
   a=rtcp-mux
   a=rtpmap:100 VP8/90000
   a=rtcp-fb:100 ccm fir
   a=rtcp-fb:100 nack
   a=rtcp-fb:100 nack pli
   a=rtcp-fb:100 goog-remb
   a=rtpmap:116 red/90000
   a=rtpmap:117 ulpfec/90000
   a=rtpmap:96 rtx/90000
   a=fmtp:96 apt=100
   ------------------------------------------------------------------------
send 754 bytes to wss/[208.84.81.64]:57975 at 19:31:56.205982:
   ------------------------------------------------------------------------
   SIP/2.0 422 Session Interval Too Small
   Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537;received=208.84.81.64;rport=57975
   From: <sip:1000@conference.cibersys.com>;tag=i26sin3126
   To: <sip:9196@conference.cibersys.com>;tag=ma466p1ScScUa
   Call-ID: di8dteiqmu6ofrf75pbd
   CSeq: 6473 INVITE
   User-Agent: FreeSWITCH-mod_sofia/1.5.15b+git~20150511T062448Z~1baaa24f9e~64bit
   Accept: application/sdp
   Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
   Supported: timer, path, replaces
   Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
   Min-SE: 120
   Content-Length: 0

   ------------------------------------------------------------------------
recv 290 bytes from wss/[208.84.81.64]:57975 at 19:31:56.483525:
   ------------------------------------------------------------------------
   ACK sip:9196@conference.cibersys.com SIP/2.0
   Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537
   To: <sip:9196@conference.cibersys.com>;tag=ma466p1ScScUa
   From: <sip:1000@conference.cibersys.com>;tag=i26sin3126
   Call-ID: di8dteiqmu6ofrf75pbd
   CSeq: 6473 ACK
   Content-Length: 0

   ------------------------------------------------------------------------
freeswitch@internal>


2015-05-19 18:50 GMT-04:30 Michael Jerris <mike@jerris.com>:
what is oversip?  you shouldn't need any layers between FS and jssip.

On May 19, 2015, at 6:58 PM, Victor Medina <victor.medina@cibersys.com> wrote:

SURE!

This is the Sofia Internal side...

http://pastebin.com/xwBjzMCX

This is Javascript console... (JsSIP -> OverSIP)

http://pastebin.com/XmXRt0nV

Thanks.

2015-05-19 18:15 GMT-04:30 Brian West <brian@freeswitch.org>:
The whole sip exchange would need to be seen for me to tell, it could be a bug, it could be a config issue... not exactly sure yet.  Can you paste bin it?

Thanks,

On Tue, May 19, 2015 at 5:42 PM, Victor Medina <victor.medina@cibersys.com> wrote:
Hi guys!

Im having some problems while trying to connect to a Freswitch PBX using OverSip and JsSIP.

Using Jssip i can recive calls but when calling from the OverSIP/JsSIp I always get a 422 error.

Softphone -> WebRTC ext calls OK
WebRTC -> Softphone fails
WebRTC -> ECHO TEST call on freeswitch also fails

Can somebody help find out what this could be?

SIP/2.0 422 Session Interval Too Small
Via: SIP/2.0/WSS vv3f75qcos24.invalid;branch=z9hG4bK1673051
From: "test" <sip:1002@conference.cibersys.com>;tag=5or80k3oc9
To: <sip:9196@conference.cibersys.com>;tag=Q3Xyt4X2vSX6Q
Call-ID: 4norlmjdkqok6smt0vd4
CSeq: 9416 INVITE
User-Agent: FreeSWITCH-mod_sofia/1.5.15b+git~20150511T062448Z~1baaa24f9e~64bit
Accept: application/sdp
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE
Supported: timer, path, replaces
Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer
Min-Se: 120
Content-Length: 0

BTW... already asked @oversip guys... But wanted to try this in here just in case! =)

Thanks.

--



Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561
BB #79A8AFA2
@VMCibersys


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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



--

Brian West
brian@freeswitch.org


Twitter: @FreeSWITCH , @briankwest
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com

ClueCon 2015 Call for Speakers | Register TODAY! | Reddit: /r/freeswitch

T:+19184209001 | F:+19184209002 | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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



--



Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561
BB #79A8AFA2
@VMCibersys

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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



--



Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561
BB #79A8AFA2
@VMCibersys

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

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