[asterisk-users] Alert_INFO x2 => 400 Bad Request
Marc LEURENT
lftsy at free.fr
Thu Oct 11 12:24:45 CDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Good evening,
I have something strange, when I add an ALERT_INFO variable to a ring group,
the invite generated contains 2 lines with Alert-Info and my phones return a 400 Bad Request...
I've checked in my config files, there is only one line with Set(__ALERT_INFO.....
Any idea??
PS: I'm using Asterisk Asterisk 1.4.13-BRIstuffed-0.4.0-test4
Thanks
Alert-Info: Ringer-2.
Alert-Info: Ringer-2.
exten => 6800,1,Macro(user-callerid,)
exten => 6800,n,GotoIf($["foo${BLKVM_OVERRIDE}" = "foo"]?skipdb)
exten => 6800,n,GotoIf($["${DB(${BLKVM_OVERRIDE})}" = "TRUE"]?skipov)
exten => 6800,n(skipdb),Set(__NODEST=)
exten => 6800,n,Set(__BLKVM_OVERRIDE=BLKVM/${EXTEN}/${CHANNEL})
exten => 6800,n,Set(__BLKVM_BASE=${EXTEN})
exten => 6800,n,Set(DB(${BLKVM_OVERRIDE})=TRUE)
exten => 6800,n(skipov),Set(RRNODEST=${NODEST})
exten => 6800,n(skipvmblk),Set(__NODEST=${EXTEN})
exten => 6800,n,Set(__ALERT_INFO=Ringer-1)
exten => 6800,n,Set(RecordMethod=Group)
exten => 6800,n,Macro(record-enable,6740,${RecordMethod})
exten => 6800,n,Set(RingGroupMethod=ringall)
exten => 6800,n(DIALGRP),Macro(dial,7,${DIAL_OPTIONS},6740)
exten => 6800,n,Set(RingGroupMethod=)
exten => 6800,n,GotoIf($["foo${RRNODEST}" != "foo"]?nodest)
exten => 6800,n,Set(__NODEST=)
exten => 6800,n,dbDel(${BLKVM_OVERRIDE})
exten => 6800,n,Goto(ext-group,6799,1)
exten => 6800,n(nodest),Noop(SKIPPING DEST, CALL CAME FROM Q/RG: ${RRNODEST})
#
U 192.168.95.235:5060 -> 192.168.95.73:5060
INVITE sip:6714 at 192.168.95.73:5060;user=phone SIP/2.0.
Via: SIP/2.0/UDP 192.168.95.235:5060;branch=z9hG4bK7f1bf341;rport.
From: "0614730696" <sip:0614730696 at 192.168.95.235>;tag=as6aaa622f.
To: <sip:6714 at 192.168.95.73:5060;user=phone>.
Contact: <sip:0614730696 at 192.168.95.235>.
Call-ID: 7152faf801312cf84eeb23273662e505 at 192.168.95.235.
CSeq: 102 INVITE.
User-Agent: Asterisk PBX.
Max-Forwards: 70.
Date: Thu, 11 Oct 2007 17:00:58 GMT.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY.
Supported: replaces.
Alert-Info: Ringer-2.
Alert-Info: Ringer-2.
Content-Type: application/sdp.
Content-Length: 266.
More information about the asterisk-users
mailing list