Discussion:
[Freeswitch-users] JsSIP -> OverSIP -> Freeswitch
Victor Medina
2015-05-19 22:42:04 UTC
Permalink
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:***@conference.cibersys.com>;tag=5or80k3oc9
To: <sip:***@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
Brian West
2015-05-19 22:45:19 UTC
Permalink
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,
Post by Victor Medina
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
Call-ID: 4norlmjdkqok6smt0vd4
CSeq: 9416 INVITE
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
in case! =)
Thanks.
--
Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561
BB #79A8AFA2
@VMCibersys
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
*Brian West*
***@freeswitch.org


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

ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> |
Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
Victor Medina
2015-05-19 22:58:45 UTC
Permalink
SURE!

This is the Sofia Internal side...

http://pastebin.com/xwBjzMCX

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

http://pastebin.com/XmXRt0nV

Thanks.
Post by Brian West
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,
Post by Victor Medina
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
Call-ID: 4norlmjdkqok6smt0vd4
CSeq: 9416 INVITE
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
in case! =)
Thanks.
--
Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561
BB #79A8AFA2
@VMCibersys
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
*Brian West*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
ClueCon 2015 Call for Speakers
<https://www.cluecon.com/call-for-speakers/> | Register
<https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch
<https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
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
Michael Jerris
2015-05-19 23:20:23 UTC
Permalink
what is oversip? you shouldn't need any layers between FS and jssip.
Post by Victor Medina
SURE!
This is the Sofia Internal side...
http://pastebin.com/xwBjzMCX <http://pastebin.com/xwBjzMCX>
This is Javascript console... (JsSIP -> OverSIP)
http://pastebin.com/XmXRt0nV <http://pastebin.com/XmXRt0nV>
Thanks.
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,
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
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
Thanks.
--
Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561 <>
BB #79A8AFA2
@VMCibersys
_________________________________________________________________________
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>
--
Brian West
http://www.freeswitchbook.com <http://www.freeswitchbook.com/>
http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/>
ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
T:+19184209001 <tel:%2B19184209001> | F:+19184209002 <tel:%2B19184209002> | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
_________________________________________________________________________
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>
--
Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561 <>
BB #79A8AFA2
@VMCibersys
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Victor Medina
2015-05-19 23:34:03 UTC
Permalink
Hi Michael!

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

***@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:***@conference.cibersys.com SIP/2.0
Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537
Max-Forwards: 69
To: <sip:***@conference.cibersys.com>
From: <sip:***@conference.cibersys.com>;tag=i26sin3126
Call-ID: di8dteiqmu6ofrf75pbd
CSeq: 6473 INVITE
X-Can-Renegotiate: true
Contact: <sip:***@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:***@conference.cibersys.com>;tag=i26sin3126
To: <sip:***@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:***@conference.cibersys.com SIP/2.0
Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537
To: <sip:***@conference.cibersys.com>;tag=ma466p1ScScUa
From: <sip:***@conference.cibersys.com>;tag=i26sin3126
Call-ID: di8dteiqmu6ofrf75pbd
CSeq: 6473 ACK
Content-Length: 0

------------------------------------------------------------------------
Post by Michael Jerris
what is oversip? you shouldn't need any layers between FS and jssip.
SURE!
This is the Sofia Internal side...
http://pastebin.com/xwBjzMCX
This is Javascript console... (JsSIP -> OverSIP)
http://pastebin.com/XmXRt0nV
Thanks.
Post by Brian West
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 <
Post by Victor Medina
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
Call-ID: 4norlmjdkqok6smt0vd4
CSeq: 9416 INVITE
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
Thanks.
--
Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561
BB #79A8AFA2
@VMCibersys
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
*Brian West*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
ClueCon 2015 Call for Speakers
<https://www.cluecon.com/call-for-speakers/> | Register
<https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch
<https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
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
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.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
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
Ken Rice
2015-05-19 23:41:28 UTC
Permalink
Your session time is too short make it longer like 300 secs

Sent from my iPhone
Post by Victor Medina
Hi Michael!
This is the the sip debug on the freeswitch directly jssip -> freeswitch -> 7443
Enabled sip debugging on internal
------------------------------------------------------------------------
Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537
Max-Forwards: 69
Call-ID: di8dteiqmu6ofrf75pbd
CSeq: 6473 INVITE
X-Can-Renegotiate: true
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
------------------------------------------------------------------------
------------------------------------------------------------------------
SIP/2.0 422 Session Interval Too Small
Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537;received=208.84.81.64;rport=57975
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
------------------------------------------------------------------------
------------------------------------------------------------------------
Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537
Call-ID: di8dteiqmu6ofrf75pbd
CSeq: 6473 ACK
Content-Length: 0
------------------------------------------------------------------------
Post by Michael Jerris
what is oversip? you shouldn't need any layers between FS and jssip.
Post by Victor Medina
SURE!
This is the Sofia Internal side...
http://pastebin.com/xwBjzMCX
This is Javascript console... (JsSIP -> OverSIP)
http://pastebin.com/XmXRt0nV
Thanks.
Post by Victor Medina
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,
Post by Victor Medina
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
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
Thanks.
--
Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561
BB #79A8AFA2
@VMCibersys
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Brian West
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
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
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
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.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
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
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Michael Jerris
2015-05-20 00:14:27 UTC
Permalink
from the default configs:

<!--<param name="minimum-session-expires" value="120"/>-->

it looks like that got uncommented. That being said, 90 is an insanely low session expires value, recommended value for that is 30 minutes (1800)

https://tools.ietf.org/html/rfc4028 <https://tools.ietf.org/html/rfc4028>

Mike
Post by Ken Rice
Your session time is too short make it longer like 300 secs
Sent from my iPhone
Post by Victor Medina
Hi Michael!
This is the the sip debug on the freeswitch directly jssip -> freeswitch -> 7443
Enabled sip debugging on internal
------------------------------------------------------------------------
Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537
Max-Forwards: 69
Call-ID: di8dteiqmu6ofrf75pbd
CSeq: 6473 INVITE
X-Can-Renegotiate: true
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 <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 <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
------------------------------------------------------------------------
------------------------------------------------------------------------
SIP/2.0 422 Session Interval Too Small
Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537;received=208.84.81.64;rport=57975
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
------------------------------------------------------------------------
------------------------------------------------------------------------
Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537
Call-ID: di8dteiqmu6ofrf75pbd
CSeq: 6473 ACK
Content-Length: 0
------------------------------------------------------------------------
what is oversip? you shouldn't need any layers between FS and jssip.
Post by Victor Medina
SURE!
This is the Sofia Internal side...
http://pastebin.com/xwBjzMCX <http://pastebin.com/xwBjzMCX>
This is Javascript console... (JsSIP -> OverSIP)
http://pastebin.com/XmXRt0nV <http://pastebin.com/XmXRt0nV>
Thanks.
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,
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
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
Thanks.
--
Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561 <>
BB #79A8AFA2
@VMCibersys
_________________________________________________________________________
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>
--
Brian West
http://www.freeswitchbook.com <http://www.freeswitchbook.com/>
http://www.freeswitchcookbook.com <http://www.freeswitchcookbook.com/>
ClueCon 2015 Call for Speakers <https://www.cluecon.com/call-for-speakers/> | Register <https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch <https://www.reddit.com/r/freeswitch>
T:+19184209001 <tel:%2B19184209001> | F:+19184209002 <tel:%2B19184209002> | M:+1918424WEST (9378)
iNUM:+883 5100 1420 9001 | ISN:410*543 | Skype:briankwest
_________________________________________________________________________
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>
--
Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561 <>
BB #79A8AFA2
@VMCibersys
_________________________________________________________________________
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.freeswitch.org/>
--
Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561 <>
BB #79A8AFA2
@VMCibersys
_________________________________________________________________________
http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites
http://www.freeswitch.org <http://www.freeswitch.org/>
http://confluence.freeswitch.org <http://confluence.freeswitch.org/>
http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users>
http://www.freeswitch.org <http://www.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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Victor Medina
2015-05-20 16:38:39 UTC
Permalink
Yeap! THAT DID IT!

Thanks you all.

I also tried disabling the timers in jssip and also worked.
Post by Michael Jerris
<!--<param name="minimum-session-expires" value="120"/>-->
it looks like that got uncommented. That being said, 90 is an insanely
low session expires value, recommended value for that is 30 minutes (1800)
https://tools.ietf.org/html/rfc4028
Mike
Your session time is too short make it longer like 300 secs
Sent from my iPhone
Hi Michael!
This is the the sip debug on the freeswitch directly jssip -> freeswitch -> 7443
Enabled sip debugging on internal
------------------------------------------------------------------------
Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537
Max-Forwards: 69
Call-ID: di8dteiqmu6ofrf75pbd
CSeq: 6473 INVITE
X-Can-Renegotiate: true
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
------------------------------------------------------------------------
------------------------------------------------------------------------
SIP/2.0 422 Session Interval Too Small
Via: SIP/2.0/WSS
7rrpouob7plu.invalid;branch=z9hG4bK1885537;received=208.84.81.64;rport=57975
Call-ID: di8dteiqmu6ofrf75pbd
CSeq: 6473 INVITE
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
------------------------------------------------------------------------
------------------------------------------------------------------------
Via: SIP/2.0/WSS 7rrpouob7plu.invalid;branch=z9hG4bK1885537
Call-ID: di8dteiqmu6ofrf75pbd
CSeq: 6473 ACK
Content-Length: 0
------------------------------------------------------------------------
Post by Michael Jerris
what is oversip? you shouldn't need any layers between FS and jssip.
SURE!
This is the Sofia Internal side...
http://pastebin.com/xwBjzMCX
This is Javascript console... (JsSIP -> OverSIP)
http://pastebin.com/XmXRt0nV
Thanks.
Post by Brian West
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 <
Post by Victor Medina
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
Call-ID: 4norlmjdkqok6smt0vd4
CSeq: 9416 INVITE
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
Thanks.
--
Víctor E. Medina M.
Platform Architect / Chief Infrastructure
+58424 291 4561
BB #79A8AFA2
@VMCibersys
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
*Brian West*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
ClueCon 2015 Call for Speakers
<https://www.cluecon.com/call-for-speakers/> | Register
<https://freeswitch.com/cart.php?gid=1> TODAY! | Reddit: /r/freeswitch
<https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
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
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.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
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
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.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
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.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
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
Loading...