Possible Bug with Alert-Info on Inbound Routes

Hi,

I have been configuring distinctive rings for the Snom phone we plan to use. I added Snom’s required string in the Alert-Info on an inbound route(http://nohost;\info=alert-external;\x-line-id=0), it did not work.

I looked at the call trace and could see that asterisk / freepbx is mishandling the header string. See trace below. Something is adding extra \ in to the string.

Easy to work round by taking the original \ out of the string but thought it worth mentioning as a possible bug?

Thanks

John

== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [441158077970@ParseDDI_from_ToHeader:1] Set(“SIP/SpitFire-00000346”, “parseDDI=sip:01158*******@83.218.143.17”) in new stack
– Executing [441158077970@ParseDDI_from_ToHeader:2] Set(“SIP/SpitFire-00000346”, “parseDDI=01158*******”) in new stack
– Executing [441158077970@ParseDDI_from_ToHeader:3] Goto(“SIP/SpitFire-00000346”, “from-trunk,01158*******,1”) in new stack
– Goto (from-trunk,01158*******,1)
– Executing [01158*******@from-trunk:1] Set(“SIP/SpitFire-00000346”, “__FROM_DID=01158*******”) in new stack
– Executing [01158*******@from-trunk:2] Gosub(“SIP/SpitFire-00000346”, “cidlookup,cidlookup_1,1”) in new stack
– Executing [cidlookup_1@cidlookup:1] Set(“SIP/SpitFire-00000346”, “CURLOPT(httptimeout)=7”) in new stack
– Executing [cidlookup_1@cidlookup:2] Set(“SIP/SpitFire-00000346”, “CALLERID(name)=01159*******”) in new stack
– Executing [cidlookup_1@cidlookup:3] Return(“SIP/SpitFire-00000346”, “”) in new stack
– Executing [01158*******@from-trunk:3] Gosub(“SIP/SpitFire-00000346”, “app-blacklist-check,s,1”) in new stack
– Executing [s@app-blacklist-check:1] GotoIf(“SIP/SpitFire-00000346”, “0?blacklisted”) in new stack
– Executing [s@app-blacklist-check:2] Set(“SIP/SpitFire-00000346”, “CALLED_BLACKLIST=1”) in new stack
– Executing [s@app-blacklist-check:3] Return(“SIP/SpitFire-00000346”, “”) in new stack
– Executing [01158*******@from-trunk:4] ExecIf(“SIP/SpitFire-00000346”, “0 ?Set(CALLERID(name)=01159*******)”) in new stack
– Executing [01158*******@from-trunk:5] Set(“SIP/SpitFire-00000346”, “__CALLINGPRES_SV=allowed_not_screened”) in new stack
– Executing [01158*******@from-trunk:6] Set(“SIP/SpitFire-00000346”, “CALLERPRES()=allowed_not_screened”) in new stack
– Executing [01158*******@from-trunk:7] Set(“SIP/SpitFire-00000346”, “__ALERT_INFO=http://nohost\;info=alert-internal\;x-line-id=0”) in new stack
– Executing [01158*******@from-trunk:8] Goto(“SIP/SpitFire-00000346”, “app-blackhole,musiconhold,1”) in new stack
– Goto (app-blackhole,musiconhold,1)
– Executing [musiconhold@app-blackhole:1] NoOp(“SIP/SpitFire-00000346”, “Blackhole Dest: Put caller on hold forever”) in new stack
– Executing [musiconhold@app-blackhole:2] Answer(“SIP/SpitFire-00000346”, “”) in new stack
– Executing [musiconhold@app-blackhole:3] MusicOnHold(“SIP/SpitFire-00000346”, “”) in new stack
– Started music on hold, class ‘default’, on SIP/SpitFire-00000346
– Stopped music on hold on SIP/SpitFire-00000346