Enabling video support causes ata to stop working properly

FreePBX_Distro 5.211.65-5
asterisk 11.8.1

I ran into an interesting situation that I think may be a bug.

I’ve got the system in my home office and have two did’s one for the office and one for the home. The home goes to a ringroup that includes one digium D40 and an ATA connected to a cordless phone.

when I enable video support in asterisk sip settings it seems to effect the ATA somehow.

I can make calls out form the cordless but if I answer an inbound call the phone goes to a fast busy immediately. The caller just hears the ring continue.

As soon as I disable video support the ata and cordless behave fine and I can answer inbound calls.

Regardless of video setting the D40 in the ring group works fine for both inbound and outbound calling.

below is the log file from a test call with video enabled.

The ATA is ex 215, the D40 216

[2014-04-30 20:42:24] VERBOSE[3075][C-0000001f] netsock2.c: == Using SIP VIDEO TOS bits 136
[2014-04-30 20:42:24] VERBOSE[3075][C-0000001f] netsock2.c: == Using SIP VIDEO CoS mark 6
[2014-04-30 20:42:24] VERBOSE[3075][C-0000001f] netsock2.c: == Using SIP RTP TOS bits 184
[2014-04-30 20:42:24] VERBOSE[3075][C-0000001f] netsock2.c: == Using SIP RTP CoS mark 5
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:1] Set(“SIP/AshcorTEL-00000053”, “GROUP()=OUT_2”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:2] Goto(“SIP/AshcorTEL-00000053”, “from-trunk,9735862683,1”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Goto (from-trunk,9735862683,1)
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:1] Set(“SIP/AshcorTEL-00000053”, “__FROM_DID=9735862683”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:2] Gosub(“SIP/AshcorTEL-00000053”, “app-blacklist-check,s,1()”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/AshcorTEL-00000053”, “0?blacklisted”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:2] Set(“SIP/AshcorTEL-00000053”, “CALLED_BLACKLIST=1”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:3] Return(“SIP/AshcorTEL-00000053”, “”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:3] Set(“SIP/AshcorTEL-00000053”, “CDR(did)=9735862683”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:4] ExecIf(“SIP/AshcorTEL-00000053”, “0 ?Set(CALLERID(name)=19738862772)”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:5] Set(“SIP/AshcorTEL-00000053”, “CHANNEL(musicclass)=default”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:6] Set(“SIP/AshcorTEL-00000053”, “__MOHCLASS=default”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:7] Set(“SIP/AshcorTEL-00000053”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:8] Set(“SIP/AshcorTEL-00000053”, “CALLERPRES()=allowed_not_screened”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:9] Goto(“SIP/AshcorTEL-00000053”, “ext-group,600,1”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Goto (ext-group,600,1)
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:1] Macro(“SIP/AshcorTEL-00000053”, “user-callerid,”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:1] Set(“SIP/AshcorTEL-00000053”, “TOUCH_MONITOR=1398904944.86”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:2] Set(“SIP/AshcorTEL-00000053”, “AMPUSER=19738862772”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/AshcorTEL-00000053”, “0?report”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:4] ExecIf(“SIP/AshcorTEL-00000053”, “1?Set(REALCALLERIDNUM=19738862772)”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:5] Set(“SIP/AshcorTEL-00000053”, “AMPUSER=”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:6] GotoIf(“SIP/AshcorTEL-00000053”, “0?limit”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:7] Set(“SIP/AshcorTEL-00000053”, “AMPUSERCIDNAME=”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:8] GotoIf(“SIP/AshcorTEL-00000053”, “1?report”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Goto (macro-user-callerid,s,16)
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:16] GotoIf(“SIP/AshcorTEL-00000053”, “0?continue”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:17] Set(“SIP/AshcorTEL-00000053”, “__TTL=64”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:18] GotoIf(“SIP/AshcorTEL-00000053”, “1?continue”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Goto (macro-user-callerid,s,29)
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:29] Set(“SIP/AshcorTEL-00000053”, “CALLERID(number)=19738862772”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:30] Set(“SIP/AshcorTEL-00000053”, "CALLERID(name)=MCKEON JEFFREY ") in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:31] Set(“SIP/AshcorTEL-00000053”, “CDR(cnum)=19738862772”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:32] Set(“SIP/AshcorTEL-00000053”, “CDR(cnam)=MCKEON JEFFREY”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:33] Set(“SIP/AshcorTEL-00000053”, “CHANNEL(language)=en”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:2] Macro(“SIP/AshcorTEL-00000053”, “blkvm-setifempty,”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/AshcorTEL-00000053”, “1?init”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Goto (macro-blkvm-setifempty,s,4)
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:4] Set(“SIP/AshcorTEL-00000053”, “__BLKVM_CHANNEL=SIP/AshcorTEL-00000053”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:5] Set(“SIP/AshcorTEL-00000053”, “SHARED(BLKVM,SIP/AshcorTEL-00000053)=TRUE”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:6] Set(“SIP/AshcorTEL-00000053”, “GOSUB_RETVAL=TRUE”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:7] MacroExit(“SIP/AshcorTEL-00000053”, “”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:3] GotoIf(“SIP/AshcorTEL-00000053”, “1?skipov”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Goto (ext-group,600,6)
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:6] Set(“SIP/AshcorTEL-00000053”, “RRNODEST=”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:7] Set(“SIP/AshcorTEL-00000053”, “__NODEST=600”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:8] GosubIf(“SIP/AshcorTEL-00000053”, “0?sub-rgsetcid,s,1()”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:9] Gosub(“SIP/AshcorTEL-00000053”, “sub-record-check,s,1(rg,600,dontcare)”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:1] Set(“SIP/AshcorTEL-00000053”, “REC_POLICY_MODE_SAVE=”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:2] GotoIf(“SIP/AshcorTEL-00000053”, “1?check”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Goto (sub-record-check,s,7)
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:7] Set(“SIP/AshcorTEL-00000053”, “__MON_FMT=wav”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:8] GotoIf(“SIP/AshcorTEL-00000053”, “1?next”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Goto (sub-record-check,s,11)
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:11] ExecIf(“SIP/AshcorTEL-00000053”, “0?Return()”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:12] ExecIf(“SIP/AshcorTEL-00000053”, “1?Set(__REC_POLICY_MODE=dontcare)”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:13] GotoIf(“SIP/AshcorTEL-00000053”, “0?rg,1”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:14] Set(“SIP/AshcorTEL-00000053”, “__REC_STATUS=INITIALIZED”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:15] Set(“SIP/AshcorTEL-00000053”, “NOW=1398904944”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:16] Set(“SIP/AshcorTEL-00000053”, “__DAY=30”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:17] Set(“SIP/AshcorTEL-00000053”, “__MONTH=04”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:18] Set(“SIP/AshcorTEL-00000053”, “__YEAR=2014”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:19] Set(“SIP/AshcorTEL-00000053”, “__TIMESTR=20140430-204224”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:20] Set(“SIP/AshcorTEL-00000053”, “__FROMEXTEN=19738862772”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:21] Set(“SIP/AshcorTEL-00000053”, “__CALLFILENAME=rg-600-19738862772-20140430-204224-1398904944.86”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:22] Goto(“SIP/AshcorTEL-00000053”, “rg,1”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Goto (sub-record-check,rg,1)
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:1] GosubIf(“SIP/AshcorTEL-00000053”, “0?record,1(rg,dontcare,19738862772)”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:2] Return(“SIP/AshcorTEL-00000053”, “”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:10] Set(“SIP/AshcorTEL-00000053”, “RingGroupMethod=ringall”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:11] Macro(“SIP/AshcorTEL-00000053”, “dial,20,Ttr,215-216”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/AshcorTEL-00000053”, “0?dial”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:2] SetMusicOnHold(“SIP/AshcorTEL-00000053”, “default”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:3] AGI(“SIP/AshcorTEL-00000053”, “dialparties.agi”) in new stack
[2014-04-30 20:42:24] VERBOSE[15062][C-0000001f] res_agi.c: – Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: dialparties.agi: Starting New Dialparties.agi
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: dialparties.agi: Caller ID name is ‘MCKEON JEFFREY’ number is ‘19738862772’
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: dialparties.agi: Methodology of ring is ‘ringall’
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: – dialparties.agi: Added extension 215 to extension map
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: – dialparties.agi: Added extension 216 to extension map
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: – dialparties.agi: Extension 215 cf is disabled
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: – dialparties.agi: Extension 216 cf is disabled
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: – dialparties.agi: Extension 215 do not disturb is disabled
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: – dialparties.agi: Extension 216 do not disturb is disabled
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: – dialparties.agi: dbset CALLTRACE/215 to 19738862772
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: – dialparties.agi: dbset CALLTRACE/216 to 19738862772
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: – dialparties.agi: Filtered ARG3: 215-216
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] res_agi.c: – <SIP/AshcorTEL-00000053>AGI Script dialparties.agi completed, returning 0
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:7] Dial(“SIP/AshcorTEL-00000053”, “SIP/215&SIP/216,20,TtrM(auto-blkvm)”) in new stack
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] netsock2.c: == Using SIP VIDEO TOS bits 136
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] netsock2.c: == Using SIP VIDEO CoS mark 6
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] netsock2.c: == Using SIP RTP TOS bits 184
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] netsock2.c: == Using SIP RTP CoS mark 5
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] netsock2.c: == Using SIP VIDEO TOS bits 136
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] netsock2.c: == Using SIP VIDEO CoS mark 6
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] netsock2.c: == Using SIP RTP TOS bits 184
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] netsock2.c: == Using SIP RTP CoS mark 5
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] app_dial.c: – Called SIP/215
[2014-04-30 20:42:25] VERBOSE[3047] chan_sip.c: == Extension Changed auto_hint_216[from-internal] new state Ringing for Notify User 216
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] app_dial.c: – Called SIP/216
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] app_dial.c: – SIP/216-00000055 connected line has changed. Saving it until answer for SIP/AshcorTEL-00000053
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] app_dial.c: – SIP/215-00000054 connected line has changed. Saving it until answer for SIP/AshcorTEL-00000053
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] app_dial.c: – SIP/216-00000055 is ringing
[2014-04-30 20:42:25] VERBOSE[3047] chan_sip.c: == Extension Changed auto_hint_216[from-internal] new state Ringing for Notify User 216
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] app_dial.c: – SIP/215-00000054 is ringing
[2014-04-30 20:42:25] VERBOSE[15062][C-0000001f] app_dial.c: – SIP/215-00000054 is ringing
[2014-04-30 20:42:28] WARNING[3075][C-0000001f] chan_sip.c: Rejecting video media offer due to invalid or unsupported syntax: video X RTP/AVP
[2014-04-30 20:42:34] VERBOSE[15062][C-0000001f] app_macro.c: == Spawn extension (macro-dial, s, 7) exited non-zero on ‘SIP/AshcorTEL-00000053’ in macro ‘dial’
[2014-04-30 20:42:34] VERBOSE[15062][C-0000001f] pbx.c: == Spawn extension (ext-group, 600, 11) exited non-zero on ‘SIP/AshcorTEL-00000053’
[2014-04-30 20:42:34] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:1] Macro(“SIP/AshcorTEL-00000053”, “hangupcall,”) in new stack
[2014-04-30 20:42:34] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:1] GotoIf(“SIP/AshcorTEL-00000053”, “1?theend”) in new stack
[2014-04-30 20:42:34] VERBOSE[15062][C-0000001f] pbx.c: – Goto (macro-hangupcall,s,3)
[2014-04-30 20:42:34] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:3] ExecIf(“SIP/AshcorTEL-00000053”, “0?Set(CDR(recordingfile)=)”) in new stack
[2014-04-30 20:42:34] VERBOSE[15062][C-0000001f] pbx.c: – Executing [[email protected]:4] Hangup(“SIP/AshcorTEL-00000053”, “”) in new stack
[2014-04-30 20:42:34] VERBOSE[15062][C-0000001f] app_macro.c: == Spawn extension (macro-hangupcall, s, 4) exited non-zero on ‘SIP/AshcorTEL-00000053’ in macro ‘hangupcall’
[2014-04-30 20:42:34] VERBOSE[15062][C-0000001f] pbx.c: == Spawn extension (ext-group, h, 1) exited non-zero on ‘SIP/AshcorTEL-00000053’
[2014-04-30 20:42:34] VERBOSE[3047] chan_sip.c: == Extension Changed auto_hint_216[from-internal] new state Idle for Notify User 216
FreePBX®FreePBX is a registered trademark of
Schmooze Com., Inc.

Anyone know anything about this or if this is a bug?

[2014-04-30 20:42:28] WARNING[3075][C-0000001f] chan_sip.c: Rejecting video media offer due to invalid or unsupported syntax: video X RTP/AVP

(use the allow/deny fields in the extension to suit)

Thanks Dicko, I’ve been looking at that and googling it but so far I hadn’t come across anything useful.

your post confirmed for me I was on the right track.

the fix was to change the extension settings for 215 to only allow ulaw.

thanks Dicko, looks like we replied at the same time…